/ HALion Developer Resource / HALion Script / Reference /
forgetAutomation
forgetAutomation(element, nameOrID)
Description
Function to remove the specified parameter from its automation parameter.
Available in: Controller.
Arguments
Argument | Description | Value Type |
---|---|---|
element | The Element object of the parameter to be removed. | Element |
nameOrID | The name or ID of the parameter. | number |
Example
-- Forget the automation assignments of all parameters of all zones.
zones = this.program:findZones(true)
paramDefs = zones[1].parameterDefinitions
for i, zone in ipairs(zones) do
for j, paramDef in ipairs(paramDefs) do
forgetAutomation( zone, paramDef.id)
end
end
See also: assignAutomation, getAutomationIndex