Retrieves the BoneNode that a node is attached to (constraining).
Data retrieval
getAttachedTo "sourceName"[-fullPath] [-nameOnly] |
Name | Type | Required | Comments |
---|---|---|---|
sourceName | string | yes | Node to retrieve attached BoneNodes 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 the BoneNodes that are targets in constraints that have the given node as a source.
// Get the BoneNodes the LFHD is attached to.
string $bone[] = `getAttachedTo "LFHD"`;
print $bone;