User Tools

Site Tools


macros:example:parkselectedfixtures

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
macros:example:parkselectedfixtures [2019/08/15 09:09]
icke_siegen
macros:example:parkselectedfixtures [2019/08/15 09:44] (current)
icke_siegen
Line 30: Line 30:
     <​description>​Parks the currently selected fixtures.</​description>​     <​description>​Parks the currently selected fixtures.</​description>​
     <​sequence>​     <​sequence>​
-      <​step>​Programmer.Editor.Selection.GetSelectedHandles("​Windows.PatchView.Handles"​)</​step>​ +      <​step ​pause="​0.01"​>​Programmer.Editor.Selection.GetSelectedHandles("​Windows.PatchView.Handles"​)</​step>​ 
-      <​step>​Handles.SetSourceHandleRangeFromHandles(Windows.PatchView.Handles,​ true)</​step>​ +      <​step ​pause="​0.01"​>​Handles.SetSourceHandleRangeFromHandles(Windows.PatchView.Handles,​ true)</​step>​ 
-      <​step>​Patch.Repatch.SetDmxAddressesFromSelectedFixture()</​step>​ +      <​step ​pause="​0.01"​>​Patch.Repatch.SetDmxAddressesFromSelectedFixture()</​step>​ 
-      <​step>​Patch.Repatch.ParkSelectedFixtures()</​step>​ +      <​step ​pause="​0.01"​>​Patch.Repatch.ParkSelectedFixtures()</​step>​ 
-      <​step>​Handles.ClearSelection()</​step>​+      <​step ​pause="​0.01"​>​Handles.ClearSelection()</​step>​
     </​sequence>​     </​sequence>​
   </​macro>​   </​macro>​
- 
   ​   ​
 </​avolites.macros>​ </​avolites.macros>​
 </​code>​ </​code>​
  
 +Here, the  ''​ pause="​0.01"​ ''​ seems to be required - if there is no pause, always the previously for repatching selected fixtures will be parked, and if there aren't any an exception is thrown.
  
 ===== Explanation ===== ===== Explanation =====
macros/example/parkselectedfixtures.txt · Last modified: 2019/08/15 09:44 by icke_siegen