::hwp::GetModel
Gets a model handle of the animation client.
Syntax
::hwp::GetModel
Application
Tcl Query
Description
This procedure implements minus options.
If no page ID is requested, then it operates on the current/active page.
If no window ID is given, then it returns a model handle of the active window.
If no model ID is given, then it returns the active model of the requested client.
Mandatory Arguments
None.
Optional Arguments
- -clientHandle "client handle"
- The client handle, where the model is requested.
- -page "pageID"
- The page ID of the requested page.
- -window "windowID"
- The window ID of the requested window.
- -id "modelID"
- The model ID of the requested model.
Returns
Returns a model handle of the animation client.
Example
set modelHandle [::hwp::GetModel -id 2]