mdlIModelClient SetWizardLibDir

Sets the directory that contains the files to create the wizard for the specified profile.

Syntax

mdlIModelClient_Handle SetWizardLibDirarg_Profile, Dir

Application

MotionView Tcl Modify

Description

This command sets the directory that contains the files to create the wizard for the specified profile.

Inputs

arg_Profile
Valid arguments are:
User
Settings specified for the user profile.
Pref
Settings specified in the preference file.
Dir
The directory which is to be set.

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 GetWizardLibDir User];
mcl SetWizardLibDir User $temp;
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

Returns 0 if successful.