plt3DICurve AddCursor
Creates a new cursor in HyperGraph 3D.
Syntax
plt3DICurve_handle AddCursor
Application
HyperWorks Tcl Query
Description
Returns the number of the cursor.
Example
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName GetCurveGroupHandle myGroupName [myPlotName AddCurveGroup]
myGroupName GetCurveHandle myCurveName [myGroupName AddCurve]
myCurveName GetDataSourceHandle myXName x
myCurveName GetDataSourceHandle myYName y
myCurveName GetDataSourceHandle myZName z
myCurveName GetDataSourceHandle myUName u
myXName SetType math
myYName SetType math
myZName SetType math
myUName SetType math
myXName SetExpression {sin(2*u)*(10.0 + 6*cos(3*u))}
myYName SetExpression {cos(2*u)*(10.0 + 6*cos(3*u))}
myZName SetExpression {6*sin(3*u)}
myUName SetExpression {0:(2*PI):(PI/50)}
myPlotName Recalculate
myPlotName Autoscale
myPlotName SetContourEnabled true
myPlotName Draw
mySurfaceName AddCursor
Errors
None.