plt3DIPlot SetDiscreteColor

Displays the contour lines with edges or blended.

Syntax

plt3DIPlot_handle SetDiscreteColorstate

Application

HyperWorks Tcl Query

Description

Displays the contour lines with edges or blended.

Inputs

state
True
Turns on discrete contour shading.
False
Turns on blended contour shading.

Example

hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName GetSurfaceHandle mySurfaceName [myPlotName AddSurface]
mySurfaceName GetDataSourceHandle myXName x
mySurfaceName GetDataSourceHandle myYName y
mySurfaceName GetDataSourceHandle myZName z
mySurfaceName GetDataSourceHandle myUName u
mySurfaceName GetDataSourceHandle myWName w
myXName SetType math
myYName SetType math
myZName SetType math
myUName SetType math
myWName SetType math
myXName SetExpression {-50:50:0.3}
myYName SetExpression {-50:50:0.3}
myUName SetExpression {(x^2 + y^2)^0.5}
myZName SetExpression {sin(u/2*(1 + 0.01 * x)) / (u/2)*50}
myWName SetExpression {z}
myPlotName Recalculate
myPlotName Autoscale
myPlotName SetContourEnabled true
myPlotName SetDiscreteColor true
myPlotName Draw

Errors

None.