mdlIDataMember GetRefType
Gets the type of entity used to resolve this data member.
Syntax
mdlIDataMember_handle GetRefType
Application
MotionView Tcl Query
Description
This command gets the type of entity (Reference, NumericDataMember, BoolDataMember, FloatDataMember, IntDataMember, NumericVectorDataMember, StringDataMember, StringVectorDataMember, or TemplateDM) used to resolve this data member.
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 joint_handle j_con_pis_pin
joint_handle GetChildHandle bod b1 false
bod GetRefType
bod ReleaseHandle
joint_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack
Errors
To get a type of reference, you must have specified a reference for that entity while retrieving the entity. Otherwise, using the command will return null.