Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Current »

Description

Retrieves an array of the nodes (typically markers) attached to (constraining) a bone.

Functional area

Data retrieval

Command syntax

Syntax

getAttached "SolvingBone or LabelingBone Name"[-fullPath] [-nameOnly]

Arguments

Name
Type
Required
Comments
SolvingBone or
LabelingBone Name
stringyesBoneNode to retrieve list of attached nodes for.

Flags

Name
Flag arguments
Argument type
Exclusive to
Comments
fullPath0nameOnlySpecifies that the full path of each node be returned rather than the "minimum" path, which is the minimum path needed to uniquely identify a node.
nameOnly0fullPathSpecifies that only the name of each node be returned rather than the "minimum" path, which is the minimum path needed to uniquely identify a node.

Return value

string array

Returns a string array with the names/paths of all of the nodes attached to "boneName"

Examples

// Get the Markers attached to the head bone. 
string $constraints[] = `getAttached "head"`;
print $constraints;

Additional information

Related commands

  • No labels