mdlIModelClient SetTaskWizardFile
Sets the task wizard file for the specified profile.
Syntax
mdlIModelClient_Handle SetTaskWizardFile filename, arg_Profile
Application
MotionView Tcl Modify
Description
This command sets the task wizard file for the specified profile.
Inputs
- filename
- The filename of the task wizard file for the specified profile.
- arg_Profile
- Valid arguments are:
- User
- Settings specified for the user profile
- Pref
- Settings specified in the preference file
Example
Copy the task wizard file into the present working directory, rename it as
file_taskwiz, and run the example
below:
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl SetTaskWizardFile file_taskwiz User;
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;
Errors
Returns 0 if successful.