mdlIObject InterpretSet

Adds a new set statement to the system.

Syntax

mdlIObject_handle InterpretSetkeyword, tokens

Application

MotionView Tcl Modify

Description

This command adds a new set statement to the system. You must specify all tokens for the requested MDL set statement.

Inputs

keyword
The new entity's MDL statement keyword.
tokens
The remaining tokens for the corresponding MDL statement.

Example

To get a handle to the parent system of the point p_0:
Note: The mdlIObject InterpretSet command is used to set the x, y, and z expression for that point.
hwi OpenStack
hwi GetSessionHandle mySessionName 
mySessionName GetProjectHandle myProjectName 
set activePageNum [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $activePageNum
set activeWinNum [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $activeWinNum
myWindowName GetClientHandle myClientName 
myClientName GetModelHandle myModelName 
myModelName InterpretEntity point_handle Point p_0 "\"My Point\" "
point_handle InterpretSet SetPoint p_0 "1+1" "2+2" "3+3"
point_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns 0 if successful, otherwise an error code.