Returns the value of the given parameter.
Parameters are stored on characters and used by bones and constraints. The getParameter command allows the value of a parameter to be accessed. By default, the command expects the character to be selected, but the -onMod
option can be used to specify the character without having to select it.
Parameters
getParameter parameterName[-onMod string] [-solving] |
None
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
onMod | 1 | string | — | Specifies which character to look on for a parameter of the given name. |
solving |
float
Returns the value of the parameter.
// Get the parameter UpperLegLength from the character Bob float $upperLegLength = `getParameter UpperLegLength -onMod "Bob"`; |