Default Trigger – Menu
This script is triggered from the ‘Scripts’ menu. This is only an example and needs to be customised for your show before being used. The script is handy when using existing documentation on a new version of a show, but the channel numbers and/or fixtures types are different. You will need to edit the script to say what the original channel number is, the new channel/fixture number and fixture type.

Make a copy of the script in the Scripts folder. You will need to edit it (it is best to use the script editor in MLA). There are comments in the script to show you what to change. It is pretty straight forward…

if chChan == 1 then -- This the original channel number (you could use chFix for fixture number) 
    channelInfo.ChannelNumber = 14 -- This is the new channel number. 
    channelInfo.FixtureNumber = 14 -- This is the new fixture number (you could delete this line if not needed). 
    channelInfo.FixtureType = "VL2500W" -- This is the new fixture type (you could delete this line if not needed). 
elseif chChan == 2 then 
    channelInfo.ChannelNumber = 15 
    channelInfo.FixtureNumber = 15 
    channelInfo.FixtureType = “VL2500W”
elseif chChan == 3 then 
    channelInfo.ChannelNumber = 16 
    channelInfo.FixtureNumber = 16 
    channelInfo.FixtureType = “VL2500W”

And so on etc…

After your last elseif chChan == X then (where X is a channel number), you need to ensure there is an End before the last section of the script.

Note that if you are not using fixture numbers or do not need to change the fixture type, you do not need the lines indicated in the comments…

    channelInfo.FixtureNumber = 14 -- This is the new fixture number (you could delete this line if not needed). 
    channelInfo.FixtureType = "VL2500W" -- This is the new fixture type (you could delete this line if not needed).

Once you have dealt with every channel you want to renumber, save the script. Choose ‘Reload Scripts’ in the ‘Scripts’ menu, and the you should see your script available in the ‘Scripts’ menu. Select a Preset in the Preset Documentation view and then choose your script from the menu. It should step through and change the data as set out in the script.

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.