mdlIDataMember SetAsObsolete

Marks a data member as obsolete so that the next evaluation evaluates that data member.

Syntax

mdlIDataMember_handle SetAsObsolete

Application

MotionView Tcl Modify

Description

This command marks a data member as obsolete so that the next evaluation evaluates that data member.

Example

To mark the point’s z value as obsolete:
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 BeginFlatListFastGet Point
myModelName GetChildHandleByIdx point_handle 3
point_handle GetChildHandle z_handle z
z_handle SetAsObsolete
myModelName Evaluate
myModelName EndChildFastGet
z_handle ReleaseHandle
point_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns Success (0) or an error code.