poIScalarDefine GetSelectionSetSize

Gets the size of the selection set for a result definition for the specified model.

Syntax

poIScalarDefine_handle GetSelectionSetSize handle modelID

Application

HyperView Tcl Query

Description

This command, valid only in Upfront Data Loading Mode, returns the size of the selection set for this result definition for the specified model.

Inputs

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

Example

To get the selection set size for model 1 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 GetSelectionSetSize 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.