/ 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

ArgumentDescriptionValue Type
elementThe Element object of the parameter to be removed.Element
nameOrIDThe 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