Vicon Shogun banner

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

NameTypeRequiredComments
SolvingBone or
LabelingBone Name
stringyesBoneNode to retrieve list of attached nodes for.

Flags

NameFlag argumentsArgument typeExclusive toComments
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