This is a funny sort of macro for me to write because I'm of the feeling that if you set a light to 52% there may have been good reason to do so. Equally, I'll laugh at anybody if they spend 10 minutes arguing that 53% looks better. On the other hand, a lot of people like to see things as 10,20,30 etc. just so it's neat and tidy.
This macro script should be run after you've selected a range of fixtures. It will round the intensities up or down such that each level ends in a zero digit.
Code: Select all
s = HC.GetCurrentSelectionSet(',')
for fixture in string.gmatch(s,"%d+") do
x = HC.AttributeGetValue(fixture)
if math.fmod(x,10) >= 5 then
You will need to be running 10.3.15 or greater to use HC.GetCurrentSelectionSet()
Robert Bell - Product Manager - Horizon Control Inc.