Example ====== Fan - Parts ====== ^ by: | Alex del Bondio, January 2019 | ^ published: | http://forum.avolites.com/viewtopic.php?f=20&t=5962#p21516 | ^ description: | Set fan parts to various values | ^ remarks: | | {{tag>fan parts active binding converter}} ==== functions ==== * [[:macros:function:ActionScript.SetProperty]] * [[:macros:function:Math.EnumAsStringEqualityConverter]] ==== affected properties ==== * [[:macros:property:Programmer.Editor.Fixtures.Fan.SegmentCount]] ==== specials ==== * [[macros:active_binding|]] ===== Code ===== ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",1) ActionScript.SetProperty("Programmer.Editor.Fixtures.Fan.SegmentCount",2) ===== Explanation ===== This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] The macros set the fan parts to various values. They also show the current value using [[macros:active_binding|]] ===== How to use it ===== * [[:macros:deploying|make this macro available]] * copy the macros on buttons for easy access ~~DISCUSSION~~