/
getAttached
getAttached
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 | string | yes | BoneNode to retrieve list of attached nodes for. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
fullPath | 0 | — | nameOnly | Specifies 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. |
nameOnly | 0 | — | fullPath | Specifies 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
, multiple selections available,