Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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

  • No labels