poITensorDefine GetSelectionSetSize

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

Syntax

poITensorDefine_handle GetSelectionSetSize handle modelID

Application

HyperView Tcl Query

Description

This command, valid only in HyperView - MultiCore profile, returns the size of the selection set for the 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 tdefine 3 tensor
tdefine GetSelectionSetSize 1
hwi CloseStack

Errors

None.

Related Topics

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