poIVectorDefine SetSelectionSet
Sets the selection set which defines the entities of this result definition.
Syntax
poIVectorDefine_handle SetSelectionSetSize modelID locator
Application
HyperView Tcl Query
Description
Inputs
- modelID
- The model identifier.
- locator
- The set locator string of the form: "pool_name id".
Example
Create and use a selection set to define the result definition entities:
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetModelHandle model 1
model GetSelectionSetHandle setH [model AddSelectionSet component]
setH Add "id 1"
client GetResultHandle vdefine 3 vector
vdefine SetSelectionSet 1 "User_Set [setH GetID]"
hwi CloseStack
Errors
Returns an error code if there was an error setting the selection set and sets error condition on the session handle. See session_handle GetError.
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.