macros:example:parkselectedfixtures
This is an old revision of the document!
−Table of Contents
Example
Patch - Park selected fixtures
by: | GRegory Haynes, August 2019 |
---|---|
published: | see http://forum.avolites.com/viewtopic.php?f=20&t=6207&p=22282 |
description: | Parks the currently selected fixtures |
functions
affected properties
It is important to find the correct control name, see ControlName
Code
- ParkSelectedFixtures.xml
<?xml version="1.0" encoding="utf-8" ?> <avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd"> <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> </avolites.macros>
Explanation
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
Each macro gets the currently selected fixtures and puts these handles in the menu property “Windows.PatchView.Handles”.
All fixtures in this property are then pan-inverted resp. pan-univerted.
How to use it
- When needed, select some fixtures and apply this macro in order to invert pan for these fixtures.
You could leave a comment if you were logged in.
macros/example/parkselectedfixtures.1565850360.txt.gz · Last modified: 2019/08/15 06:26 by icke_siegen