plt3DICurve AddPoint

Adds a point to a 3D curve and optionally sorts the points.

Syntax

plt3DICurve_handle AddPointx y z sort_axis

Application

HyperWorks Tcl Query

Description

The points in the curve are sorted after each insertion if a direction is specified (not blank).

Inputs

x
The new X value (abscissa).
y
The new Y value (ordinate).
z
The new Z value (altitude).
sort_axis
X, Y, Z or blank ("").

Example

To create a new line from (0, 0, 0) to (1, 1, 1):
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName AddCurveGroup
myClientName GetCurveGroupHandle myGroupName 1
myGroupName AddCurve
myGroupName GetCurveHandle myCurveName 1
myCurveName AddPoint 0 0 0 ""

Errors

None.