Hey,
I am touring with a show witch uses a lot of house dimmers.
Every time i am in a new venue i have to unpatch and repatch a lot of dimmers.
I have tried to make a macro to unpatch all my dimmer so i only have to patch the correct adresses.
I tried the following:
<Record macro>
<Patch>
<Patch view>
Select all my dimmers
<0>
<enter>
<End macro>
But it doesnt work..
Any ideas?
Thanks,
Michael
Park patched fixtures macro
Moderator: Moderators
-
- Posts: 3
- Joined: 16 Mar 2019, 00:42
- sideshowbond
- Posts: 182
- Joined: 18 Nov 2016, 20:58
Re: Park patched fixtures macro
I tried to code a macor for that at some point and have gotten nowhere. Maybe if Greg reads this he might have an idea on how to solve this.
Re: Park patched fixtures macro
Sebastian asked me about a macro to park the currently selected fixtures and this is what I came up with:
If you knew that your dimmers would always be in a particular user number range you could select them first by syntax: If you wanted to code this into a macro you could do:
Code: Select all
<macro id="Avolites.Macros.ParkSelectedFixtures" name="Park Selected Fixtures">
<description>Parks the currently selected fixtures.</description>
<sequence>
<step>Programmer.Editor.Selection.GetSelectedHandles("Windows.PatchView.Handles")</step>
<step>Handles.SetSourceHandleRangeFromHandles(Windows.PatchView.Handles, true)</step>
<step>Patch.Repatch.SetDmxAddressesFromSelectedFixture()</step>
<step>Patch.Repatch.ParkSelectedFixtures()</step>
<step>Handles.ClearSelection()</step>
</sequence>
</macro>
If you knew that your dimmers would always be in a particular user number range you could select them first by syntax:
Code: Select all
101 THRO 199
Code: Select all
Command.RunCommand("101 THRO 199")
-
- Posts: 1115
- Joined: 02 Jul 2010, 10:29
- Location: Siegen, Germany
- Contact:
Re: Park patched fixtures macro
Thanks Gregory - you are awesome
Michael, you can also recall the group of fixtures - and if you know that the group of dimmers you frequently want to park (or maybe the group All Dimmers) has e.g. UserNumber 100 then a line like would select exactly this.
Michael, you can also recall the group of fixtures - and if you know that the group of dimmers you frequently want to park (or maybe the group All Dimmers) has e.g. UserNumber 100 then a line like
Code: Select all
<step>Group.RecallGroupNumeric(100)</step>
-
- Posts: 1115
- Joined: 02 Jul 2010, 10:29
- Location: Siegen, Germany
- Contact:
Re: Park patched fixtures macro
Additionally, in order to make it run reliably, each step requires a little pause (at least in my tests).
See https://www.avolites.de/wiki/macros:exa ... edfixtures
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<avolites.macros>
<macro id="Avolites.Macros.ParkSelectedFixtures" name="Park Selected Fixtures">
<description>Parks the currently selected fixtures.</description>
<sequence>
<step pause="0.01">Programmer.Editor.Selection.GetSelectedHandles("Windows.PatchView.Handles")</step>
<step pause="0.01">Handles.SetSourceHandleRangeFromHandles(Windows.PatchView.Handles, true)</step>
<step pause="0.01">Patch.Repatch.SetDmxAddressesFromSelectedFixture()</step>
<step pause="0.01">Patch.Repatch.ParkSelectedFixtures()</step>
<step pause="0.01">Handles.ClearSelection()</step>
</sequence>
</macro>
<macro id="Avolites.Macros.ParkGrp100" name="Park Group 100">
<description>Parks fixtures in Group 100.</description>
<sequence>
<step pause="0.01">Group.RecallGroupNumeric(100)</step>
<step pause="0.01">Programmer.Editor.Selection.GetSelectedHandles("Windows.PatchView.Handles")</step>
<step pause="0.01">Handles.SetSourceHandleRangeFromHandles(Windows.PatchView.Handles, true)</step>
<step pause="0.01">Patch.Repatch.SetDmxAddressesFromSelectedFixture()</step>
<step pause="0.01">Patch.Repatch.ParkSelectedFixtures()</step>
<step pause="0.01">Handles.ClearSelection()</step>
</sequence>
</macro>
</avolites.macros>
See https://www.avolites.de/wiki/macros:exa ... edfixtures
- sideshowbond
- Posts: 182
- Joined: 18 Nov 2016, 20:58
Re: Park patched fixtures macro
I haven't used it extensively but parking 3 universes without step pauses worked just fine.
Thank you Greg, this is a brilliant tool when coming to a festival and you quickly want to unpatch your whole template file before you start patching in the house rig
Thank you Greg, this is a brilliant tool when coming to a festival and you quickly want to unpatch your whole template file before you start patching in the house rig
Who is online
Users browsing this forum: No registered users and 2 guests