Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
<macro id="CreateFixtureGroups" name="Create and Record Fixture Groups">
<sequence>
<!-- Step 1: Read the selected fixtures -->
<step>Fixture.SelectAll()</step>
<!-- Step 2: Locate any free handles on Groups window -->
<step>Groups.UnselectAll()</step>
<step>Groups.RecordSelected(handle: "GroupHandle1")</step>
<!-- Step 3: Record the "All" group -->
<step>Fixture.SelectAll()</step>
<step>Groups.RecordSelected(handle: "GroupHandle1")</step>
<!-- Step 3: Record the "Odd" group -->
<step>Fixture.FilterBy.Odd()</step>
<step>Groups.RecordSelected(handle: "GroupHandle2")</step>
<!-- Step 3: Record the "Even" group -->
<step>Fixture.FilterBy.Even()</step>
<step>Groups.RecordSelected(handle: "GroupHandle3")</step>
<!-- Step 3: Record the "Left" group -->
<step>Fixture.FilterBy.Left()</step>
<step>Groups.RecordSelected(handle: "GroupHandle4")</step>
<!-- Step 3: Record the "Right" group -->
<step>Fixture.FilterBy.Right()</step>
<step>Groups.RecordSelected(handle: "GroupHandle5")</step>
<!-- Step 3: Record the "Center" group -->
<step>Fixture.FilterBy.Center()</step>
<step>Groups.RecordSelected(handle: "GroupHandle6")</step>
<!-- Step 3: Record the "Out" group -->
<step>Fixture.FilterBy.Out()</step>
<step>Groups.RecordSelected(handle: "GroupHandle7")</step>
</sequence>
</macro>
</avolites.macros>
The objective was to use the selected fixtures to create groups based on the selection.
All would create a group with all selected
Left would assume only the left half of the selection
and so on.
It would seatch for a free handle and record it there.
I shows this to sebastian, and he told me, lots of functions here dont really work.
How much of this is wrong? Probably 90% of it, no? Could someone create a working macro for this?