mdlIDataMember IsConst
Determines whether the value of the current data member may or may not be modified.
Syntax
mdlIDataMember_handle IsConst
Application
MotionView Tcl Query
Description
This command determines whether the value of the current data member may or may not be modified.
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 myhandle P_Global_Origin.x
if { ![myhandle IsConst] } {
myhandle SetRawExpression "2+3"
}
myhandle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack
Errors
Returns True if this data member may not be modified, or False if this data member may be modified.