::DrawActiveWindow
This command is used to draw the active window in the active page. There is an option to “fit” all of the model contents within the graphic area.
Syntax
::model::DrawActiveWindow [argOrient]
Application
MotionView Tcl
Description
This command is used to draw the active window in the active page. There is an option to “fit” all of the model contents within the graphic area.
Inputs
- argOrient
- The only supported value for this optional argument is “FIT”. If it is anything else it is ignored.
Example
::model::GetHandleFromFullVarname selhandle MODEL;
selhandle InterpretEntity pnt Point p_0 "\"Point0\""
selhandle InterpretSet SetPoint p_0 10 20 30
::model::EvaluateModel
::model::DrawActiveWindow FIT
Errors
On successful execution of the command it will draw the model in the active window and active page.