mdlIObject IsDataMember

Determines if the entity is a data member or not.

Syntax

mdlIObject_handle IsDataMember

Application

MotionView Tcl Query

Description

This command determines if the entity is a data member or not.

Example

To find if the x-coordinate of a point is a data member:
Note: Load the slider_crank.mdl model file before running this example.
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 GetChildHandle point_handle p_sp
point_handle GetChildHandle x_handle x
tk_messageBox –message “Is it a DataMember? [x_handle IsDataMember]”;
x_handle ReleaseHandle
point_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns true if the entity is a data member, otherwise false.