/
getConstraintOffset
getConstraintOffset
Description
The getConstraintOffset command gets the local constraint offset for the specified node. Used often during fine-tuning the setup of a skeleton to adjust the relationship between markers and bones.
Functional area
Data retrieval
Command syntax
Syntax
getConstraintOffset "constraintName"[-ws] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
constraintName | string | yes | The name of the constraint whose offset is requested |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
ws | 0 | — | — | Return the world space offset instead of the local space offset. |
Return value
vector
Examples
// Get the world space position of the Constraint offset for the // constraint LFHD_Head and print to the log. vector $targetPos = `getConstraintOffset "LFHD_Head" -ws`; print $targetPos;
Additional information
Related commands
, multiple selections available,