User Tools

Site Tools


macros:example:repatchselectedfixtures

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

macros:example:repatchselectedfixtures [2025/04/29 06:30] – created icke_siegenmacros:example:repatchselectedfixtures [2025/04/29 10:05] (current) icke_siegen
Line 53: Line 53:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-tbd+  * ''Programmer.Editor.Selection.GetSelectedHandles("Windows.PatchView.Handles")'' and ''Handles.SetSourceHandleRangeFromHandles(Windows.PatchView.Handles, true)'' make sure the repatch is performed with the currently selected fixtures 
 +  * ''Patch.Repatch.SetDmxAddressesFromSelectedFixture()'' sets the current properties (DMX line and channel) 
 +  * ''Patch.SetCurrentDmxAssignment(42.1)'' defines the new address (e.g. the first address where the fixtures are supposed to be repatched to) 
 +  * ''ActionScript.SetProperty.Enum("Patch.Repatch.BunchUp", "BunchUp")'' sets the repatch mode 
 +  * ''Patch.Repatch.RepatchSelectedFixtures(true)'' performs the actual repatch, 'true' enforces to park conflicting fixtures 
 +  * ''Handles.ClearSelection()'' and ''Programmer.Editor.ClearAll(false, false)'' nullify the current selection
  
 ===== How to use it ===== ===== How to use it =====
  
 +  - you may alter the target address (''42.1'') to your liking
   - [[:macros:deploying|make this macro available]]   - [[:macros:deploying|make this macro available]]
- +  - if you need to quickly repatch some fixtures, select them and fire this macro
-tbd +
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/repatchselectedfixtures.txt · Last modified: 2025/04/29 10:05 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki