mdlIModelClient SetAssemblyWizardFile
Sets the model wizard file which will be used while creating an assembly model.
Syntax
mdlIModelClient_Handle SetAssemblyWizardFile file_name
Application
MotionView Tcl Modify
Description
This command sets the model wizard file which will be used while creating an assembly model.
Inputs
- file_name
- The full path of the file. This can be retrieved using GetAssemblyWizardFile USER.
Example
To set the model wizard file which will be used while creating an assembly
model:
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl SetAssemblyWizardFile <filename>
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
Errors
Returns 0 if successful, otherwise an error code.