Table of Contents

Example

Set Lee Colour

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.

functions

affected properties

control structures

File with macros for 0, 1 and 3 seconds here: lee.xml

Code

setLeeColours.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>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

How to use it

  1. make sure group 999 is nowhere used (or rewrite the macros to use another group number)
  2. select some fixtures
  3. type a number and press ENTER (or EXIT)
  4. fire one of the macros