mdlIModelClient SetCurrentUserModeIdx
Sets the user_mode argument as the user mode. “User mode” is the set of customized of icons listed in the toolbar (user_mode).
Syntax
mdlIModelClient_Handle SetCurrentUserModeIdx user_mode
Application
MotionView Tcl Modify
Description
This command sets the user_mode argument as the user mode.
Inputs
- user_mode
- The user mode to be set. Standard is a valid option.
Example
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl SetCurrentUserModeIdx Standard
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;
Errors
Returns 0 if successful.