setParameter(nameOrID, value)

Description

Function to set the value of a parameter. The parameter can be determined by name or ID. The function will have no effect if the parameter does not exist.

Available in: Controller, Processor.

Arguments

nameOrIDThe name or ID of the parameter.string or number
valueThe value that you want to set.The new value must match the data type of the parameter.

Example

See Also: getParameter, getParameterNormalized, setParameterNormalized, hasParameter