mdlIModelClient ExportModelAnimationFile

Exports the model related animation information to a given file.

Syntax

mdlIModelClient_Handle ExportModelAnimationFile file_name

Application

MotionView Tcl Modify

Description

This command exports the model animation related information to the specified 'file_name'.

Inputs

file_name
The full path of the file where the animation information is to be exported.

Example

To export the model related animation information to a given file:
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mc
mc ExportModelAnimationFile <file_name>
mc ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;

Errors

Returns 0 if successful, otherwise an error code.