mdlIModelClient CheckModel

Checks the model and assigns IDs to the model.

Syntax

mdlIModelClient_handle CheckModel

Application

MotionView Tcl Query

Description

This command checks the model and assigns IDs to the model.

Example

Copy the file slider_crank.mdl into the present working directory.

The present working directory can be identified by using the pwd command in the command window.
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl CreateModel "slider_crank.mdl" mdl
mcl CheckModel
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

Returns 1 if errors are detected in the model, otherwise 0.