need to macro time fixture / programing
time fixture 1 thru 10
THX
how to write macro time ?
Moderator: Moderators
- jacklighting
- Posts: 26
- Joined: 27 May 2018, 12:41
- Location: Thailand
- Contact:
how to write macro time ?
Last edited by jacklighting on 28 Feb 2019, 20:37, edited 1 time in total.
Best Regard , Sincerely
- jacklighting
- Posts: 26
- Joined: 27 May 2018, 12:41
- Location: Thailand
- Contact:
Re: how to write macro time ?
Code: Select all
<avolites.macros>
<macro id="Macros.Fade" name="Fade 1s to 10s">
<sequence>
<step>ActionScript.SetProperty("Playbacks.Editor.Times.SetControlFadeTimeOn", time fixture p 1 thro 10)</step>
</sequence>
</macro>
</avolites.macros>
it wrong , i not understand
Best Regard , Sincerely
Re: how to write macro time ?
Try the following:
The first step runs a command which selects fixtures 1 through 10 and then sets the attribute fade times on those fixtures to the values 1 through 10. These times are in the programmer and can then be recorded into a playback which is what happens in the second step - in this case the playback is a single cue/memory, if you instead had a cue list you should instead use MergePlaybackStep e.g.:
The last step clears the programmer once you are done. You can use similar syntax to set delay times or to only set attribute times for a specific attribute group e.g Intensity by using the letter I.
Playbacks.Editor.Times.SetControlFadeTimeOn is a function that you call e.g.
rather than a property that you can set. In this case it does not take any parameters/arguments and is used to set the attribute fade time to On in the programmer (the opposite of Off), this will be applied to the currently selected attributes.
Code: Select all
<avolites.macros>
<macro id="Macros.Fade" name="Fade 1s to 10s">
<sequence>
<step>Command.RunCommand("1 THRO 10 TIME FIXTURE 1 THRO 10")</step>
<step>Playbacks.MergePlaybackCue(userNumber:2, false)</step>
<step>Programmer.Editor.ClearAll()</step>
</sequence>
</macro>
</avolites.macros>
The first step runs a command which selects fixtures 1 through 10 and then sets the attribute fade times on those fixtures to the values 1 through 10. These times are in the programmer and can then be recorded into a playback which is what happens in the second step - in this case the playback is a single cue/memory, if you instead had a cue list you should instead use MergePlaybackStep e.g.:
Code: Select all
<step>Playbacks.MergePlaybackStep(userNumber:1, 1.0, false)</step>
The last step clears the programmer once you are done. You can use similar syntax to set delay times or to only set attribute times for a specific attribute group e.g Intensity by using the letter I.
Playbacks.Editor.Times.SetControlFadeTimeOn is a function that you call e.g.
Code: Select all
<step>Playbacks.Editor.Times.SetControlFadeTimeOn()</step>
rather than a property that you can set. In this case it does not take any parameters/arguments and is used to set the attribute fade time to On in the programmer (the opposite of Off), this will be applied to the currently selected attributes.
Who is online
Users browsing this forum: No registered users and 24 guests