mdlIDataMember GetRawExpression

Gets the raw expression used to specify the value of the current data member.

Syntax

mdlIDataMember_handle GetRawExpression

Application

MotionView Tcl Query

Description

This command returns the expression used to specify the value for the data member.

Example

To get the expression used to specify the value for the mass data member:
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 body_mass_handle b_piston.mass
body_mass_handle GetRawExpression
body_mass_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

None.