poIScalarDefine SetMultipleLayerList

Sets the multiple layers list.

Syntax

poIScalarDefine_handle SetMultipleLayerList list

Application

HyperView Tcl Modify

Description

This command, valid only in HyperView - MultiCore profile, sets the list of layers to be used if multiple layers is enabled. This command is only valid if the layer type has previously been set to "Top/Bottom". The given list should be of the form: "<top>:<bottom>", " <top>;<bottom> " or "<top>|<bottom>". Returns Success (0) or an error code.
Note: The result definition can only be modified if it is not cached.

Inputs

list
The list of multiple layers of the form: "<top>:<bottom>", " <top>;<bottom> " or "<top>|<bottom>".

Example

To set the multiple layers list for a result definition:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle sdefine 4 scalar
sdefine SetLayer "Top/Bottom"
sdefine SetMultipleLayerList "Upper|Mid"
hwi CloseStack

Errors

Returns an error code if there was an error setting the multiple layer list and sets error condition on the session handle. See session_handle GetError.

Related Topics

See the HyperView - MultiCore APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.