poIScalarDefine GetSelectionSetHandle

Gets the poISelectionSet handle of the result definition.

Syntax

poIDefineScalar_handle GetSelectionSetHandle handle modelID

Application

HyperView Tcl Query

Description

This command, valid only in Upfront Data Loading Mode, returns the poISelectionSet handle of the result definition which represents the set of entities associated with this result.

Inputs

handle
The set handle to populate.
modelID
The ID of the model to be associated with the selection set.

Example

To get the selection set 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 GetSelectionSetHandle set_handle 1
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.