mdlIDataMember IsSlave

Determines if this data member is for the slave side of a symmetric pair.

Syntax

mdlIDataMember_handle IsSlave

Application

MotionView Tcl Query

Description

This command determines if this data member is for the slave side of a symmetric pair.

Example

To check if this data member is for the slave side of a body pair (create a point p_0 as a pair in the model):
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 point_handle p_0
point_handle GetChildHandle left l
left GetChildHandle x_hand1 x
x_hand1 IsSlave
point_handle GetChildHandle right r
right GetChildHandle x_hand2 x
x_hand2 IsSlave
x_hand1 ReleaseHandle
x_hand2 ReleaseHandle
left ReleaseHandle
right ReleaseHandle
point_handle ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns True if this data member is for the slave side of a symmetric pair, or False if this data member is for the master side for a symmetric pair (or if this data member is for a single entity, or for a non-symmetric pair).