Example
by: | Sebastian Beutel |
---|---|
published: | June 2025, here |
description: | set numeric lee colour on selected fixtures and fade this in over a time |
remarks: | from https://www.facebook.com/groups/Avolites/posts/3500126146786261 |
In order to accomplish that we abuse Palette.Numeric.InputValue, create an arbitrary group, and fade out from blind mode.
File with macros for 0, 1 and 3 seconds here: lee.xml
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <!-- Pascal Njienhuis https://www.facebook.com/groups/Avolites/posts/3500126146786261/ set LEE timed colour on selected fixtures in a certain fade time coded: Sebastian Beutel, June 2025 --> <macro id="Wiki.Macros.SetColourSeletec.Blind.1" name="Set Lee Colour in 1 sec"> <sequence> <step>Group.CheckIfGroupExists("999", "Group.Numeric.IsValid")</step> <step pause="0.05" condition="Math.IsEqual(Group.Numeric.IsValid, True)">Group.ReplaceGroupOnHandle(userNumber:999)</step> <step pause="0.05" condition="Math.IsEqual(Group.Numeric.IsValid, False)">Group.StoreGroup(userNumber:999)</step> <step pause="0.01">ActionScript.SetProperty.Boolean("Programmer.BlindActive", true)</step> <step pause="0.01">Programmer.SetBlindMode(false, 0)</step> <step>Group.RecallGroupNumeric(999)</step> <step>Colour.ApplyColourFilterByIndex(1, int:Palette.Numeric.InputValue)</step> <step pause="0.01">ActionScript.SetProperty.Boolean("Programmer.BlindActive", false)</step> <step pause="0.01">Programmer.SetBlindMode(true, 1)</step> </sequence> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
Group.CheckIfGroupExists()
checks whether group 999 already existsGroup.ReplaceGroupOnHandle()
replaces the group with the currently selected fixturesGroup.StoreGroup()
stores group 999 with the currently selected fixturesActionScript.SetProperty.Boolean(“Programmer.BlindActive”, true)
and Programmer.SetBlindMode(false, 0)
enter the Blind mode (see Blind Mode On/Off for details)Group.RecallGroupNumeric()
recalls the group with the currently selected fixtures (remember: Blind has its own programmer)Colour.ApplyColourFilterByIndex()
applies the Lee colour based on the number which was set prior to firing the macro (you need to type a number and then press ENTER or EXIT!)Programmer.SetBlindMode(true, 1)
makes sure it is faded to live