Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

setParameter(nameOrId, value)


Set the current value of a parameter. The parameter can be identified by ID or name. Note that identifying by name is more expensive for performance. If the parameter doesn't exists nothing is happen.

Available in: Controller, Processor.


nameThe name of the parameter you want to set.
idThe ID of the parameter you want to set.
valueThe value you want to set.


function onInitProcessor()
   print(this.parent:setParameter("Level", 0))
   print(this.parent:setParameter(6, 0))

See Also:

  • No labels