poIScalarDefine GetMultipleLayerList

Gets the currently selected list of multiple layers.

Syntax

poIScalarDefine_handle GetMultipleLayerList

Application

HyperView Tcl Query

Description

This command, valid only in Upfront Data Loading Mode, returns the list of layers being used if this is a multiple layer result definition. If this result definition does not have multiple layers, an empty list is returned.

Example

To get the multiple layers state 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 GetMultipleLayerList
hwi CloseStack

Errors

None.

Related Topics

See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.