::SetCurrentLRTab
This command is used to set which LEFT/RIGHT tab of a panel is selected if any panel’s selected entity is a pair.
Syntax
::model::SetCurrentLRTab argTab
Application
MotionView Tcl
Description
This command is used to set which LEFT/RIGHT tab of a panel is selected if any panel’s selected entity is a pair.
Inputs
- argTab
- We need to pass either “LEFT/RIGHT” or “L/R” as input to make the respective tab as current.
Example
::model::GetHandleFromFullVarname mod MODEL
mod InterpretEntity pthandle PointPair p_0 "\"Point0\""
::model::GetCurrentLRTab # It returns Left tab as active
::model::SetCurrentLRTab RIGHT
::model::GetCurrentLRTab # It returns Right tab as active
pthandle ReleaseHandle
mod ReleaseHandle
Errors
Returns 1 if successful, otherwise a 0 will be returned.