/
setParameter
setParameter
Description
Sets a new value for a dynamic parameter.
Given a parameter name, if the parameter exists on the selected character or a character is specified with the -onMod
flag, the parameter value is set to the new value specified in the second argument. For dynamic parameters only.
Functional area
Parameters
Command syntax
Syntax
setParameter parameterName parameterValue[-onMod string] [-solving] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
parameterName | String | Yes | Defines the name of the parameter. |
parameterValue | Float | Yes | Defines the new value for the parameter. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
onMod | 1 | string | — | Defines the character that the parameter should be found on. |
solving |
Return value
void
Examples
// Set the parameter named UpperArmLength to 200. setParameter "UpperArmLength" 200.0;
Additional information
Related commands
, multiple selections available,
Related content
renameParameter
renameParameter
More like this
removeParameter
removeParameter
More like this
setStaticParameterExpression
setStaticParameterExpression
More like this
setStaticParameterExpression
setStaticParameterExpression
More like this
addStaticParameter
addStaticParameter
More like this
addStaticParameter
addStaticParameter
More like this