mdlIModel Evaluate
Evaluates all of the expressions in the model to update the values.
Syntax
mdlIModel_handle Evaluate
Application
MotionView Tcl Modify
Description
This command is used to update all of the entities/objects located within the model. This command should be called if any kind of modification is done on any data member. In other words, this command goes to every entity under model and (re)evaluates the expression set on them.
Example
To update all of the model expression
values:
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl GetModelHandle modl
modl Evaluate;
modl ReleaseHandle
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
Errors
Returns 0 if successful. If there is an error, an error code will be returned.