User Tools

Site Tools


macros:example:fancurves

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:fancurves [2019/01/05 00:11] – [Fan Curves] Fan Toggle added sideshowbondmacros:example:fancurves [2019/05/03 14:29] (current) icke_siegen
Line 1: Line 1:
 Example Example
  
-====== Fan Curves ======+====== Programmer - Fan Curves ======
  
 ^ by: | Alex del Bondio with the help of Greg Haynes | ^ by: | Alex del Bondio with the help of Greg Haynes |
Line 13: Line 13:
  
 This selection of macros lets you change the fan curve, parts and grouping options without having to enter the fan menu. 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 fan curve, parts and grouping options without having to enter the fan menu. 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 5/1/19 Fan Toggle macro added in the file
  
Line 20: Line 21:
 ==== functions ==== ==== functions ====
   * [[:macros:function:Programmer.Editor.Fixtures.Fan.SelectCurve]]   * [[:macros:function:Programmer.Editor.Fixtures.Fan.SelectCurve]]
-  * [[:macros:active_binding]] 
  
 ==== affected properties ==== ==== affected properties ====
Line 27: Line 27:
   * [[:macros:property:Programmer.Editor.Fixtures.Fan.SegmentCount]]   * [[:macros:property:Programmer.Editor.Fixtures.Fan.SegmentCount]]
  
 +==== specials ====
 +  * [[:macros:active_binding]]
  
 ===== Code ===== ===== Code =====
Line 36: Line 38:
   <!-- Fan curves: Line, Mirror, Wings, Arrow, Pull Middle, Pull Ends, Pull End-->   <!-- Fan curves: Line, Mirror, Wings, Arrow, Pull Middle, Pull Ends, Pull End-->
   <macro id="adb.Macros.fan.Line" name="adb fan Line">   <macro id="adb.Macros.fan.Line" name="adb fan Line">
-    <active binding="{propertyLink id='Programmer.Editor.Fixtures.Fan.SelectedFanCurveId' converter='Math.EqualityConverter' converterParameter='Line'}"/>+    <active binding="{ 
 +      propertyLink id='Programmer.Editor.Fixtures.Fan.SelectedFanCurveId'  
 +      converter='Math.EqualityConverter'  
 +      converterParameter='Line' 
 +    }"/>
     <sequence>     <sequence>
       <step>Programmer.Editor.Fixtures.Fan.SelectCurve("Line")</step>       <step>Programmer.Editor.Fixtures.Fan.SelectCurve("Line")</step>
Line 44: Line 50:
   <!-- Fan Grouping -->   <!-- Fan Grouping -->
   <macro id="adb.Macros.fan.FanWithinGroup" name="adb fan FanWithinGroup">   <macro id="adb.Macros.fan.FanWithinGroup" name="adb fan FanWithinGroup">
-    <active binding="{propertyLink id='Programmer.Editor.Fixtures.Fan.GroupOptions' converter='Math.EnumAsStringEqualityConverter' converterParameter='FanWithinGroup'}"/>+    <active binding="{ 
 +      propertyLink id='Programmer.Editor.Fixtures.Fan.GroupOptions'  
 +      converter='Math.EnumAsStringEqualityConverter'  
 +      converterParameter='FanWithinGroup' 
 +    }"/>
     <sequence>     <sequence>
       <step>ActionScript.SetProperty.Enum("Programmer.Editor.Fixtures.Fan.GroupOptions", "FanWithinGroup")</step>       <step>ActionScript.SetProperty.Enum("Programmer.Editor.Fixtures.Fan.GroupOptions", "FanWithinGroup")</step>
Line 52: Line 62:
   <!-- Fan Parts -->   <!-- Fan Parts -->
   <macro id="adb.Macros.fan.3part" name="adb fan 3part">   <macro id="adb.Macros.fan.3part" name="adb fan 3part">
-    <active binding="{propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount' converter='Math.EqualityConverter' converterParameter='3'}"/>+    <active binding="{ 
 +      propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount'  
 +      converter='Math.EqualityConverter'  
 +      converterParameter='3' 
 +    }"/>
     <sequence>     <sequence>
       <step>ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",3)</step>       <step>ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",3)</step>
macros/example/fancurves.1546647082.txt.gz · Last modified: 2019/01/05 00:11 by sideshowbond

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki