Retrieves an array of the nodes (typically markers) attached to (constraining) a bone.
Data retrieval
getAttached "SolvingBone or LabelingBone Name"[-fullPath] [-nameOnly] |
Name | Type | Required | Comments |
---|---|---|---|
SolvingBone or | string | yes | BoneNode to retrieve list of attached nodes for. |
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. |
string array
Returns a string array with the names/paths of all of the nodes attached to "boneName"
// Get the Markers attached to the head bone. string $constraints[] = `getAttached "head"`; print $constraints; |