-
Notifications
You must be signed in to change notification settings - Fork 0
/
Merge Fills in Selected Group.xml
1 lines (1 loc) · 9.99 KB
/
Merge Fills in Selected Group.xml
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="7{-,C?H6[EvFblNtqOv-">properties that need to be deleted</variable><variable id="wo/Ihv@RhL6p-!EbK($6">NewFillColorsValues</variable><variable id="eUmYE:J2WoUEPOsdv8LX">OneFillLayer</variable><variable id="p,GmG}Fz-v+chw=E3qu]">FillColorValues</variable><variable id="J(W-=Z#lo/(+HMii0nPR">FinalFillColor</variable><variable id="ELE!L~d9Rp4S,aeAGpSt">OneFill</variable><variable id="mtn)Zs(MDQ5c`4AvQ`QD">my property</variable><variable id="7P[cXCO7+(@/z|86_S#^">matchname</variable></variables><block type="variables_set" id="|`%!(1%{+=e~d@e~y9WY" x="0" y="0"><field name="VAR" id="7{-,C?H6[EvFblNtqOv-">properties that need to be deleted</field><comment pinned="false" h="80" w="160">we collect the props in a list because we only want to delete them AFTER we looked at all properties. This is necessary, because if a property is deleted, it invalidates all sibling properties, which means we would miss some properties in our loop.</comment><value name="VALUE"><block type="lists_create_with" id="66dkVk!Cc1c:WrPp):,`"><mutation items="0"></mutation></block></value><next><block type="variables_set" id="XTILI@:tuC+j}J0Udm`T"><field name="VAR" id="p,GmG}Fz-v+chw=E3qu]">FillColorValues</field><comment pinned="false" h="80" w="160">we collect the props in a list because we only want to delete them AFTER we looked at all properties. This is necessary, because if a property is deleted, it invalidates all sibling properties, which means we would miss some properties in our loop.</comment><value name="VALUE"><block type="lists_create_with" id="x,DbyP]B894en{.L%_x/"><mutation items="0"></mutation></block></value><next><block type="ae_property_for_all" id="N+:u/W~W{U0uUh`WZDjq"><field name="SELECTION">ALL</field><field name="TYPE">ALL</field><field name="PROPERTY_VAR" id="mtn)Zs(MDQ5c`4AvQ`QD">my property</field><value name="COMP"><shadow type="ae_active_comp" id="t!WL(E9oOs`?;U0@UD?]"></shadow><block type="ae_property_list" id="e}c{NQ*-Yrk_tR=Ni0df"><field name="SELECTION">SELECTED</field><field name="TYPE">ALL</field><value name="COMP"><shadow type="ae_active_comp" id="QJ5[DorZiR]7e5K(;{EC"></shadow></value></block></value><statement name="LOOP_STATEMENT"><block type="variables_set" id="K=,$1kYToiES_{b#Pzj+"><field name="VAR" id="7P[cXCO7+(@/z|86_S#^">matchname</field><value name="VALUE"><block type="ae_property_get_attribute" id="02Nu#`vtL0r~MD{RteAv"><field name="PARAM">MATCH_NAME</field><value name="ITEM"><block type="variables_get" id="-Jm)J42%j4(oraJnc@P^"><field name="VAR" id="mtn)Zs(MDQ5c`4AvQ`QD">my property</field></block></value></block></value><next><block type="controls_if" id="Wuem`|y7_]U0SG0c`A_g"><value name="IF0"><block type="logic_compare" id="O|MieSmM``Zu5VSY!G4o"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="]%2=y{[wj$,E]tw=O9l8"><field name="VAR" id="7P[cXCO7+(@/z|86_S#^">matchname</field></block></value><value name="B"><block type="text" id="A)jtbl2@Kb~]5f}xg-2`"><field name="TEXT">ADBE Vector Graphic - Fill</field></block></value></block></value><statement name="DO0"><block type="lists_setIndex" id="$ev[ot7*_)4*XR0LR~cF"><mutation at="false"></mutation><field name="MODE">INSERT</field><field name="WHERE">LAST</field><value name="LIST"><block type="variables_get" id="aEf:MY[:TyJUJ*!o$VM="><field name="VAR" id="7{-,C?H6[EvFblNtqOv-">properties that need to be deleted</field></block></value><value name="TO"><block type="variables_get" id="B~?ddD8BEP0j!WB{K,YT"><field name="VAR" id="mtn)Zs(MDQ5c`4AvQ`QD">my property</field></block></value></block></statement></block></next></block></statement><next><block type="ae_property_for_all" id="kd=C*QYy}vAl7ON?+X81"><field name="SELECTION">ALL</field><field name="TYPE">COLOR</field><field name="PROPERTY_VAR" id="wo/Ihv@RhL6p-!EbK($6">NewFillColorsValues</field><value name="COMP"><shadow type="ae_active_comp" id="DU3Jk]0VCh/%Fy[8VO}5"></shadow><block type="ae_property_list" id="o_-+mWor~IR/,[l1i2Q*"><field name="SELECTION">SELECTED</field><field name="TYPE">ALL</field><value name="COMP"><shadow type="ae_active_comp" id="yMasT^hjCGrxgh[(*yuH"></shadow></value></block></value><statement name="LOOP_STATEMENT"><block type="variables_set" id="=:f=E0q/ukBYGa(.a1B("><field name="VAR" id="7P[cXCO7+(@/z|86_S#^">matchname</field><value name="VALUE"><block type="ae_property_get_attribute" id="|=/lYIpngN3BW]aO1,YO"><field name="PARAM">MATCH_NAME</field><value name="ITEM"><block type="variables_get" id="J.~9hSV]3{#Sj@Mc-$(c"><field name="VAR" id="wo/Ihv@RhL6p-!EbK($6">NewFillColorsValues</field></block></value></block></value><next><block type="controls_if" id="qrvoAuM[i|WKojUw6E?;"><value name="IF0"><block type="logic_compare" id="Z_33w1Vk)LJ3HGQz~l6)"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="jQO_*Eyv:E?JBa|/)|;^"><field name="VAR" id="7P[cXCO7+(@/z|86_S#^">matchname</field></block></value><value name="B"><block type="text" id="n+5)C)!2J;W^2dg.-;co"><field name="TEXT">ADBE Vector Fill Color</field></block></value></block></value><statement name="DO0"><block type="lists_setIndex" id="%Ggl0A|?_Y?M0O:rt1z("><mutation at="true"></mutation><field name="MODE">SET</field><field name="WHERE">FROM_START</field><value name="LIST"><block type="variables_get" id="DL;F!1zn*81uBpRahtc-"><field name="VAR" id="p,GmG}Fz-v+chw=E3qu]">FillColorValues</field></block></value><value name="AT"><block type="math_number" id="46=iBMY8vIJY+`/2BR8t"><field name="NUM">1</field></block></value><value name="TO"><block type="variables_get" id="/!lj4V~6p-X4=.Se6bRb"><field name="VAR" id="wo/Ihv@RhL6p-!EbK($6">NewFillColorsValues</field></block></value></block></statement></block></next></block></statement></block></next></block></next></block></next></block><block type="controls_forEach" id="~C48MHlGj!oy%D#~/UO*" x="0" y="696"><field name="VAR" id="wo/Ihv@RhL6p-!EbK($6">NewFillColorsValues</field><value name="LIST"><block type="variables_get" id="Q^nf7cv*[jdKAksTS,?b"><field name="VAR" id="p,GmG}Fz-v+chw=E3qu]">FillColorValues</field></block></value><statement name="DO"><block type="variables_set" id="?+k#5(h?6.YGv.WBOFMj"><field name="VAR" id="J(W-=Z#lo/(+HMii0nPR">FinalFillColor</field><value name="VALUE"><block type="ae_color_converter" id="@PwbuqljgD]99NcaevA."><field name="TYPE">HEX</field><value name="COLOR"><block type="ae_property_get_attribute" id=":l=zqa_.(;~nqbVbo!ln"><field name="PARAM">VALUE</field><value name="ITEM"><block type="variables_get" id="U:|BhYz#q-rfx[S%xshw"><field name="VAR" id="wo/Ihv@RhL6p-!EbK($6">NewFillColorsValues</field></block></value></block></value></block></value></block></statement></block><block type="ae_layer_for_all" id="XZ*P$uNghsDO*2[}1G)Y" x="0" y="896"><field name="SELECTION">SELECTED</field><field name="TYPE">Layer</field><field name="LAYER_VAR" id="eUmYE:J2WoUEPOsdv8LX">OneFillLayer</field><field name="COMP_CHOICE">COMP</field><value name="COMP"><shadow type="ae_active_comp" id="C=4!sKL5YY`eX,F7b4*Q"></shadow></value><statement name="LOOP_STATEMENT"><block type="ae_apply_effect" id="0bI4I`mgobH^w(wkGOV;"><mutation mainCategory="SHAPE" effectMatchName="null" shapeMatchName="ADBE Vector Graphic - Fill"></mutation><field name="MAIN_CATEGORY">SHAPE</field><field name="SHAPE_MATCHNAME">ADBE Vector Graphic - Fill</field><field name="EFFECT_VARIABLE" id="ELE!L~d9Rp4S,aeAGpSt">OneFill</field><value name="LAYER"><block type="ae_property_list" id="%~mRSOaJskX/;Bl8X0(N"><field name="SELECTION">SELECTED</field><field name="TYPE">ALL</field><value name="COMP"><shadow type="ae_active_comp" id="0}+-D5Nl13|a9tn/:%-T"></shadow></value></block></value><value name="EFFECT_PARAM_ADBE Vector Blend Mode"><shadow type="dropdown_block_mm" id="lVi?WxB)*P9:S:YD:W(Z"><mutation><arg name="Normal"></arg><arg name="-----"></arg><arg name="Darken"></arg><arg name="Multiply"></arg><arg name="Color Burn"></arg><arg name="Linear Burn"></arg><arg name="Darker Color"></arg><arg name="-----"></arg><arg name="Lighten"></arg><arg name="Screen"></arg><arg name="Color Dodge"></arg><arg name="Linear Dodge"></arg><arg name="Lighter Color"></arg><arg name="-----"></arg><arg name="Overlay"></arg><arg name="Soft Light"></arg><arg name="Hard Light"></arg><arg name="Linear Light"></arg><arg name="Vivid Light"></arg><arg name="Pin Light"></arg><arg name="Hard Mix"></arg><arg name="-----"></arg><arg name="Difference"></arg><arg name="Exclusion"></arg><arg name="-----"></arg><arg name="Hue"></arg><arg name="Saturation"></arg><arg name="Color"></arg><arg name="Luminosity"></arg></mutation><field name="DROPDOWN">Normal</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Composite Order"><shadow type="dropdown_block_mm" id="{dhVUH^W*xsw@sS^mo46"><mutation><arg name="Below Previous in Same Group"></arg><arg name="Above Previous in Same Group"></arg></mutation><field name="DROPDOWN">Below Previous in Same Group</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Fill Rule"><shadow type="dropdown_block_mm" id="Z|#Rjpo#a?J5vfmCNp$*"><mutation><arg name="Non-Zero Winding"></arg><arg name="Even-Odd"></arg></mutation><field name="DROPDOWN">Non-Zero Winding</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Fill Color"><shadow type="text" id="(o-);vMtBy/^y24C.]oT"><field name="TEXT">#ff0000</field></shadow><block type="variables_get" id="7{BPdyT3b;v$m,$v74=H"><field name="VAR" id="J(W-=Z#lo/(+HMii0nPR">FinalFillColor</field></block></value><value name="EFFECT_PARAM_ADBE Vector Fill Opacity"><shadow type="math_number" id="kE(wwHhU24+vi1l`K{]d"><field name="NUM">100</field></shadow></value></block></statement><next><block type="controls_forEach" id="3?`IumORKV{ao^)cMolP"><field name="VAR" id="mtn)Zs(MDQ5c`4AvQ`QD">my property</field><value name="LIST"><block type="variables_get" id="zq7==W:v!~8JDX9CZ]@Z"><field name="VAR" id="7{-,C?H6[EvFblNtqOv-">properties that need to be deleted</field></block></value><statement name="DO"><block type="ae_property_remove" id="78=;`9;vOF2q,wI6kWLJ"><value name="PROPERTY"><block type="variables_get" id="WY.(eKJ_Zoy(r2nBRvn3"><field name="VAR" id="mtn)Zs(MDQ5c`4AvQ`QD">my property</field></block></value></block></statement></block></next></block></xml>