/
getAttachedTo
getAttachedTo
Description
Retrieves the BoneNode that a node is attached to (constraining).
Functional area
Data retrieval
Command syntax
Syntax
getAttachedTo "sourceName"[-fullPath] [-nameOnly] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
sourceName | string | yes | Node to retrieve attached BoneNodes 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 the BoneNodes that are targets in constraints that have the given node as a source.
Examples
// Get the BoneNodes the LFHD is attached to. string $bone[] = `getAttachedTo "LFHD"`; print $bone;
Additional information
Related commands
, multiple selections available,