mdlIModelClient GetCurWizSettingProfile

Retrieves your setting (profile) regarding where the wizard paths are specified.

Syntax

mdlIModelClient_Handle GetCurWizSettingProfile

Application

MotionView Tcl Query

Description

Retrieves your setting (profile) regarding where the wizard paths are specified.
USER
The wizard paths are specified by you in the Model Set Wizard Paths dialog.
PREF
The wizard paths are specified from within the preference file.

Example

set temp 0;
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
set temp [mcl GetCurWizSettingProfile]
if {$temp == "USER" } {
puts "wizard paths are specified by the user in the Model >> Set Wizard Paths… dialog"
} else {
puts " wizard paths are specified from within the preference file"
}
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

None.