mdlIDataMember IsObsolete
Determines whether or not a data member is obsolete.
Syntax
mdlIDataMember_handle IsObsolete
Application
MotionView Tcl Query
Description
This command states whether or not a data member is set as obsolete (true/false).
Example
To determine whether or not a data member is set as
obsolete:
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 BeginFlatListFastGet Point
myModelName GetChildHandleByIdx point_handle 2
point_handle GetChildHandle z_handle z
z_handle IsObsolete
z_handle SetAsObsolete
z_handle IsObsolete
myModelName EndChildFastGet
z_handle ReleaseHandle
point_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
Errors
Returns true if a data member is obsolete; otherwise false.