User Tools

Site Tools


macros:example:programmerdirection

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:example:programmerdirection [2019/01/13 08:18]
sideshowbond created
macros:example:programmerdirection [2019/05/05 11:58] (current)
icke_siegen
Line 1: Line 1:
 Example Example
  
-====== Direction ======+====== Programmer - Direction ======
  
 ^ by: | Alex del Bondio | ^ by: | Alex del Bondio |
Line 13: Line 13:
  
 This selection of macros lets you change the programmer direction to be used with fixture overlap. These macros have [[:macros:active_binding]] set so they will highlight when the corresponding attribute is set. This selection of macros lets you change the programmer direction to be used with fixture overlap. These macros have [[:macros:active_binding]] set so they will highlight when the corresponding attribute is set.
- 
-5/1/19 Fan Toggle macro added in the file 
  
 The code below is a snippet of the whole file which contains macros for all available directions. The code below is a snippet of the whole file which contains macros for all available directions.
Line 33: Line 31:
  
  
-<!-->Directions: None, LeftToRight, TopDown, HorizontalBlinds, RightToLeft, BottomUp, VerticalBlinds, TopLeftIn, TopRightIn, RadialMiddle, BottomLeftIn, BottomRightIn, BottomMiddleUpRadial, EndsInLinear, Random<-->+<!-- Directions: None, LeftToRight, TopDown, HorizontalBlinds,  
 +                 RightToLeft, BottomUp, VerticalBlinds, TopLeftIn,  
 +                 TopRightIn, RadialMiddle, BottomLeftIn, BottomRightIn,  
 +                 BottomMiddleUpRadial, EndsInLinear, Random -->
  
- <macro id="adb.Macros.direct.LeftToRight" name="Direction LeftToRight"> +  <macro id="adb.Macros.direct.LeftToRight" name="Direction LeftToRight"> 
-     <active binding="{propertyLink id='Selection.Context.Global.Direction' converter='Math.EnumAsStringEqualityConverter' converterParameter='LeftToRight'}"/> +    <active binding="{propertyLink id='Selection.Context.Global.Direction'  
-         <sequence> +      converter='Math.EnumAsStringEqualityConverter'  
-      <step>ActionScript.SetProperty.Enum("Selection.Context.Global.Direction", "LeftToRight")</step> +      converterParameter='LeftToRight'}"/> 
-   </sequence> +    <sequence> 
- </macro>+      <step>ActionScript.SetProperty.Enum("Selection.Context.Global.Direction", "LeftToRight")</step> 
 +    </sequence> 
 +  </macro>
  
-   +  <macro id="adb.Macros.direct.RightToLeft" name="Direction RightToLeft"> 
- <macro id="adb.Macros.direct.RightToLeft" name="Direction RightToLeft"> +    <active binding="{propertyLink id='Selection.Context.Global.Direction'  
-     <active binding="{propertyLink id='Selection.Context.Global.Direction' converter='Math.EnumAsStringEqualityConverter' converterParameter='RightToLeft'}"/> +      converter='Math.EnumAsStringEqualityConverter'  
-         <sequence> +      converterParameter='RightToLeft'}"/> 
-      <step>ActionScript.SetProperty.Enum("Selection.Context.Global.Direction", "RightToLeft")</step> +    <sequence> 
-   </sequence> +      <step>ActionScript.SetProperty.Enum("Selection.Context.Global.Direction", "RightToLeft")</step> 
- </macro>+    </sequence> 
 +  </macro>
  
 </avolites.macros> </avolites.macros>
macros/example/programmerdirection.1547367536.txt.gz · Last modified: 2019/01/13 08:18 by sideshowbond