plt3DIPlot AddSurface

Add a new 3-D Surface curve to the HyperGraph 3D window.

Syntax

plt3DIPlot_handle AddSurface

Application

HyperWorks Tcl Query

Description

Add a new 3-D Surface curve to the HyperGraph 3D window.

Example

hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName AddSurface
myPlotName GetSurfaceHandle mySurfaceName 1
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 Draw

Errors

Success (0) or an error code.