mdlIModelClient SetImportOption

Sets the import option.

Syntax

mdlIModelClient_Handle SetImportOptionoption, str_val

Application

MotionView Tcl Modify

Description

This command sets the import option.

Inputs

option
The only valid argument is Reader.
str_val
The only valid argument is ADAMS.

Example

hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl SetImportOption Reader "ADAMS"
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

Returns 0 if successful.