mdlIModel GetModelClientHandle
Gets a handle of the client.
Syntax
mdlIModel_handle GetModelClientHandlecliHandle
Application
MotionView Tcl Query
Description
This command retrieves the handle of the client from the model handle. The handle returned is of the client on which the MODEL referring to ‘mdlIModel_handle’ is loaded.
Inputs
- cliHandle
- The handle of the client.
Example
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set activePageNum [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $activePageNum
set activeWinNum [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $activeWinNum
myWindowName GetClientHandle myClientName
myClientName GetModelHandle myModelName
myModelName GetModelClientHandle clihandle
clihandle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
Errors
None.