plt3DICurve GetCursorHandle
Gets a pointer to an hwICursor.
Syntax
plt3DICurve_handle GetCursorHandleiCursor index
Application
HyperWorks Tcl Query
Description
Gets a pointer to an hwICursor.
Inputs
- iCursor
- The name of the cursor pointer.
- index
- 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 GetCursorHandle myCursorName [mySurfaceName AddCursor]
Errors
Success (0) or an error code.