/
getConstraintsThisIsTarget
getConstraintsThisIsTarget
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
Name | Type | Required | Comments |
---|---|---|---|
Module | string | yes | Module to retrieve list of constraints where module is a target. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
fullPath | 0 | — | — | 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 | — | — | 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 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
, multiple selections available,
Related content
getConstraintsThisIsSource
getConstraintsThisIsSource
More like this
getAttachedTo
getAttachedTo
More like this
getConstraintOffset
getConstraintOffset
More like this
getConstraintPos
getConstraintPos
More like this
getConstraintError
getConstraintError
More like this
setConstraint
setConstraint
More like this