plt3DISurface GetVisibility

Gets whether surface is visible.

Syntax

plt3DISurface_handle GetVisibility

Application

HyperWorks Tcl Query

Description

Surfaces can be rendered invisible without destroying them. If the visibility flag is set to false, a surface will simply not be drawn (and won’t appear in the legend). However, the surface will still be displayed in the surface list and can be made visible by changing the flag back to true.

Returns true or false.

Example

To check if an existing surface is visible:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetSurfaceHandle mySurfaceName
mySurfaceName GetVisibility

Errors

None.