poIQueryCtrl SetSelectionSet
Sets the selection set of a query.
Syntax
poIQueryControl_handle SetSelectionSetSetID
Application
HyperView Tcl Modify
Description
This command sets the selection set of a query.
Inputs
- SetID
- The ID of the selection set.
Example
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $windowIndex
myWindowName GetClientHandle myPostName
set modelIndex [myPostName GetActiveModel]
myPostName GetModelHandle myModelName $modelIndex
myModelName GetSelectionSetHandle mySetName [myModelName
AddSelectionSet element]
myModelName GetQueryCtrlHandle myQueryName
myQueryName SetSelectionSet [mySetName GetID]
Errors
Returns 0 if successful, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.