mdlIModelClient SetSaveOption

Sets the value of the option specified for saving a model.

Syntax

mdlIModelClient_Handle SetSaveOption option, value

Application

MotionView Tcl Modify

Description

This command sets the value of the option specified for saving a model.

Inputs

option
Valid arguments are:
data
include
Write_solvermode
topology
value
The value is True or False for all arguments except topology (for which the value is MDL).

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
mcl SetSaveOption data true;
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

Returns 0 if successful.