plt3DICurveGroup RemoveCurve
Removes a curve from the curve group.
Syntax
plt3DICurveGroup_handle RemoveCurve index
Application
HyperWorks Tcl Query
Description
Removes a curve from the curve group.
Inputs
- index
- The number of the curve.
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 Draw
myGroupName RemoveCurve 1
Errors
Success (0) or an error code.