mdlIModelClient GetSolverMode
Gets the variable name of the current solver mode.
Syntax
mdlIModelClient_Handle GetSolverMode
Application
MotionView Tcl Query
Description
This command retrieves the value of the currently selected solver mode.
Example
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
set temp [mcl GetSolverMode]
puts "The Current Solver Mode Is $temp"
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;
Errors
None.