User Tools

Site Tools


macros:example:setfanparts

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:setfanparts [2019/04/28 10:54] – [Code] icke_siegenmacros:example:setfanparts [2019/05/05 12:00] (current) icke_siegen
Line 12: Line 12:
 ==== functions ==== ==== functions ====
   * [[:macros:function:ActionScript.SetProperty]]   * [[:macros:function:ActionScript.SetProperty]]
 +  * [[:macros:function:Math.EnumAsStringEqualityConverter]]
  
 ==== affected properties ==== ==== affected properties ====
   * [[:macros:property:Programmer.Editor.Fixtures.Fan.SegmentCount]]   * [[:macros:property:Programmer.Editor.Fixtures.Fan.SegmentCount]]
  
-==== control structures ====+==== specials ====
   * [[macros:active_binding|]]   * [[macros:active_binding|]]
-  * [[Math.EnumAsStringEqualityConverter]] 
    
 ===== Code ===== ===== Code =====
Line 26: Line 26:
  
   <macro id="Macros.FanParts.1" name="Set Fan In 1 Part">   <macro id="Macros.FanParts.1" name="Set Fan In 1 Part">
-    <active binding="{ +    <active binding="{propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount'  
-      propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount'  +      converter='Math.EnumAsStringEqualityConverter' 
-      converter='Math.EnumAsStringEqualityConverter'converterParameter='1' +      converterParameter='1'}"/>
-      }"/>+
     <sequence>     <sequence>
       <step>ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",1)</step>       <step>ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",1)</step>
Line 36: Line 35:
      
   <macro id="Macros.FanParts.2" name="Set Fan In 2 Part">   <macro id="Macros.FanParts.2" name="Set Fan In 2 Part">
-    <active binding="{ +    <active binding="{propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount'  
-      propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount'  +      converter='Math.EnumAsStringEqualityConverter' 
-      converter='Math.EnumAsStringEqualityConverter'converterParameter='2' +      converterParameter='2'}"/>
-      }"/>+
     <sequence>     <sequence>
       <step>ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",2)</step>       <step>ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",2)</step>
macros/example/setfanparts.1556448877.txt.gz · Last modified: 2019/04/28 10:54 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki