Page tree
Skip to end of metadata
Go to start of metadata
forgetAutomation(element, nameOrID)

Description

Function to remove the specified parameter from its automation parameter.

Available in: Controller.

Arguments

elementThe Element object of the parameter to be removed.Element
nameOrIDThe name or ID of the parameter.number

Example

-- forget automation 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

3 Comments

  1. To Sabine Pfeifer:

    Please check if "automation parameter" is OK or should be changed to just "automation", for example.

  2. please check my correction