mdlIDataMember IsOverridden

Determines if the value has been modified.

Syntax

mdlIDataMember_handle IsOverridden

Application

MotionView Tcl Query

Description

This command determines if the value has been modified.

Example

To set a value (if it has not been overridden) for the slider_crank.mdl model file:
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 my_handle b_temp.mass
set body_mass [my_handle GetEvaluatedValue] 
if { ![my_handle IsOverridden] } {
my_handle SetRawExpression [expr $body_mass +10.0]
}
my_handle Evaluate
myModelName Evaluate
my_handle ReleaseHandle 
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns True if the value has been overridden, or False if the value has not been overridden.