plt3DICurveGroup SetColor
Sets the color of the curve group.
Syntax
plt3DICurveGroup_handle SetColorcolor
Application
HyperWorks Tcl Query
Description
Sets the color of the curve group.
Inputs
- color
- Three values representing red, green, and blue, or the color name. It can also be a single value from 0-63 representing an index on the HyperWorks color wheel.
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 SetColor {35 85 199}
myGroupName SetColor blue
myGroupName SetColor 22
Errors
Success (0) or an error code.