Vicon Shogun banner

Description

This command returns a string array of names of constraints that have the given module as a target

Functional area

Data retrieval

Command syntax

Syntax

getConstraintsThisIsTarget "module"[-fullPath] [-nameOnly]

Arguments

NameTypeRequiredComments
ModulestringyesModule to retrieve list of constraints where module is a target.

Flags

NameFlag argumentsArgument typeExclusive toComments
fullPath0Specifies 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.
nameOnly0Specifies 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 of names of constraints that have the given module as a target.

Examples

// Get the constraints that have the bone named Root as a target.
string $constraints[] = `getConstraintsThisIsTarget "Root"`;
print $constraints;

Additional information

Related commands