poIQueryCtrl GetSelectionSetSize
Gets the size of the entities selection set that will be used to query the HyperView database.
Syntax
poIQueryControl_handle GetSelectionSetSize
Application
HyperView Tcl Query
Description
This command retrieves the size of the entities selection set that will be used to query the HyperView database.
Example
To get the size of current selection
set:
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 GetQueryCtrlHandle myQueryName
myQueryName GetQuery GetSelectionSetSize
Errors
Returns the size of the entity selection set, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.