plt3DISurface SetDisplayInLegend

Sets whether a surface is displayed in the legend.

Syntax

plt3DISurface_handle SetDisplayInLegendenabled

Application

HyperWorks Tcl Modify

Description

By default, all surfaces, curves, groups, charts, and waterfalls are displayed in the legend (except while contouring). Individual objects can be excluded from the list by setting this flag to false.

Inputs

enabled
Displayed, true or false.

Example

To exclude the surface from those listed in the legend:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetSurfaceHandle mySurfaceName
mySurfaceName SetDisplayInLegend false
myClientName Draw

Errors

None.