User Tools

Site Tools


macros:example:setfangrouping

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
macros:example:setfangrouping [2019/04/12 12:04]
sideshowbond [Set Fan Grouping]
macros:example:setfangrouping [2019/05/05 13:55] (current)
icke_siegen
Line 13: Line 13:
  
   * [[macros:​function:​actionscript.setproperty.enum|]]   * [[macros:​function:​actionscript.setproperty.enum|]]
 +  * [[macros:​function:​Math.EnumAsStringEqualityConverter]]
  
 ==== affected properties ==== ==== affected properties ====
   * [[:​macros:​property:​Programmer.Editor.Fixtures.Fan.GroupOptions]]   * [[:​macros:​property:​Programmer.Editor.Fixtures.Fan.GroupOptions]]
  
-==== control structures ​====+==== specials ​====
   * [[macros:​active_binding|]]   * [[macros:​active_binding|]]
-  * [[Math.EnumAsStringEqualityConverter]] 
    
 ===== Code ===== ===== Code =====
Line 25: Line 25:
 <?xml version="​1.0"​ encoding="​utf-8"?>​ <?xml version="​1.0"​ encoding="​utf-8"?>​
  
-<​avolites.macros ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​ xsi:​noNamespaceSchemaLocation="​Avolites.Menus.xsd"​>+<​avolites.macros>​
  
   <macro id="​adb.Macros.fan.ignoregroups"​ name="​adb fan IgnoreGroups">​   <macro id="​adb.Macros.fan.ignoregroups"​ name="​adb fan IgnoreGroups">​
-    <active binding="​{ +    <active binding="​{propertyLink id='​Programmer.Editor.Fixtures.Fan.GroupOptions'​  
-      ​propertyLink id='​Programmer.Editor.Fixtures.Fan.GroupOptions'​  +      converter='​Math.EnumAsStringEqualityConverter' ​ 
-      converter='​Math.EnumAsStringEqualityConverter'​ converterParameter='​IgnoreGroups'​ +      ​converterParameter='​IgnoreGroups'​}"/>​
-    ​}"/>​+
     <​sequence>​     <​sequence>​
       <​step>​ActionScript.SetProperty.Enum("​Programmer.Editor.Fixtures.Fan.GroupOptions",​ "​IgnoreGroups"​)</​step>​       <​step>​ActionScript.SetProperty.Enum("​Programmer.Editor.Fixtures.Fan.GroupOptions",​ "​IgnoreGroups"​)</​step>​
Line 38: Line 37:
   ​   ​
   <macro id="​adb.Macros.fan.FanGroupAsFixture"​ name="​adb fan FanGroupAsFixture">​   <macro id="​adb.Macros.fan.FanGroupAsFixture"​ name="​adb fan FanGroupAsFixture">​
-    <active binding="​{ +    <active binding="​{propertyLink id='​Programmer.Editor.Fixtures.Fan.GroupOptions'​  
-      ​propertyLink id='​Programmer.Editor.Fixtures.Fan.GroupOptions'​  +      converter='​Math.EnumAsStringEqualityConverter' ​ 
-      converter='​Math.EnumAsStringEqualityConverter'​ converterParameter='​FanGroupAsFixture'​ +      ​converterParameter='​FanGroupAsFixture'​}"/>​
-    ​}"/>​+
     <​sequence>​     <​sequence>​
       <​step>​ActionScript.SetProperty.Enum("​Programmer.Editor.Fixtures.Fan.GroupOptions",​ "​FanGroupAsFixture"​)</​step>​       <​step>​ActionScript.SetProperty.Enum("​Programmer.Editor.Fixtures.Fan.GroupOptions",​ "​FanGroupAsFixture"​)</​step>​
Line 48: Line 46:
   ​   ​
   <macro id="​adb.Macros.fan.FanWithinGroup"​ name="​adb fan FanWithinGroup">​   <macro id="​adb.Macros.fan.FanWithinGroup"​ name="​adb fan FanWithinGroup">​
-    <active binding="​{ +    <active binding="​{propertyLink id='​Programmer.Editor.Fixtures.Fan.GroupOptions'​  
-      ​propertyLink id='​Programmer.Editor.Fixtures.Fan.GroupOptions'​  +      converter='​Math.EnumAsStringEqualityConverter' ​ 
-      converter='​Math.EnumAsStringEqualityConverter'​ converterParameter='​FanWithinGroup'​ +      ​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>​
macros/example/setfangrouping.1555063497.txt.gz · Last modified: 2019/04/12 12:04 by sideshowbond