/
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

NameTypeRequiredComments
parameterNameStringYesDefines the name of the parameter.
parameterValueFloatYesDefines the new value for the parameter.

Flags

NameFlag argumentsArgument typeExclusive toComments
onMod1stringDefines 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

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks