-
Notifications
You must be signed in to change notification settings - Fork 0
/
Merge Strokes in Selected Group.xml
1 lines (1 loc) · 16.5 KB
/
Merge Strokes in Selected Group.xml
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="7{-,C?H6[EvFblNtqOv-">StrokesDelete</variable><variable id="p,GmG}Fz-v+chw=E3qu]">StrokeColorValues</variable><variable id=";3{h]w7DUPQzQ[?o0a2K">StrokeWidthValues</variable><variable id="mtn)Zs(MDQ5c`4AvQ`QD">my property</variable><variable id="7P[cXCO7+(@/z|86_S#^">matchname</variable><variable id="wo/Ihv@RhL6p-!EbK($6">NewStrokeColorValues</variable><variable id="$:2;+4+|wU+z`i7o$V)M">NewStrokeWidthValues</variable><variable id="J(W-=Z#lo/(+HMii0nPR">FinalStrokeColor</variable><variable id="_/2t($ey+,)Js`bIx79`">FinalStrokeWidth</variable><variable id="eUmYE:J2WoUEPOsdv8LX">OneStrokeLayer</variable><variable id="ELE!L~d9Rp4S,aeAGpSt">OneStroke</variable></variables><block type="variables_set" id="|`%!(1%{+=e~d@e~y9WY" x="0" y="0"><field name="VAR" id="7{-,C?H6[EvFblNtqOv-">StrokesDelete</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]">StrokeColorValues</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="variables_set" id="2G}9AIl4RPzJck^x-if2"><field name="VAR" id=";3{h]w7DUPQzQ[?o0a2K">StrokeWidthValues</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="zZg}n~{:~A8,;;gzsxU}"><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 - Stroke</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-">StrokesDelete</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">NewStrokeColorValues</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">NewStrokeColorValues</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 Stroke 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]">StrokeColorValues</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">NewStrokeColorValues</field></block></value></block></statement></block></next></block></statement><next><block type="ae_property_for_all" id="XW8~X2oJ41`rjgmn}6=q"><field name="SELECTION">ALL</field><field name="TYPE">ALL</field><field name="PROPERTY_VAR" id="$:2;+4+|wU+z`i7o$V)M">NewStrokeWidthValues</field><value name="COMP"><shadow type="ae_active_comp"></shadow><block type="ae_property_list" id="cYSGvG=!Wxa[,q;#~%[P"><field name="SELECTION">SELECTED</field><field name="TYPE">ALL</field><value name="COMP"><shadow type="ae_active_comp" id="Zk`p9s2H4(`y8M;wNM8`"></shadow></value></block></value><statement name="LOOP_STATEMENT"><block type="variables_set" id="}?H*[~/xOxBLL6k:N.vX"><field name="VAR" id="7P[cXCO7+(@/z|86_S#^">matchname</field><value name="VALUE"><block type="ae_property_get_attribute" id="DhlqRW68akK/y8]orKwL"><field name="PARAM">MATCH_NAME</field><value name="ITEM"><block type="variables_get" id="QE4e[8M-Ppu@^sOXhX2X"><field name="VAR" id="$:2;+4+|wU+z`i7o$V)M">NewStrokeWidthValues</field></block></value></block></value><next><block type="controls_if" id="kb5VicjTzU+!6p]?BQ?l"><value name="IF0"><block type="logic_compare" id="*o+:;Gv%Gt4.GFB/k9t}"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="PXd:;/j8$e~F`b/oxSy."><field name="VAR" id="7P[cXCO7+(@/z|86_S#^">matchname</field></block></value><value name="B"><block type="text" id="2L.OPLV:(CInY5}#qq-L"><field name="TEXT">ADBE Vector Stroke Width</field></block></value></block></value><statement name="DO0"><block type="lists_setIndex" id="(QE/;_UJr~pEd/98nXw$"><mutation at="true"></mutation><field name="MODE">SET</field><field name="WHERE">FROM_START</field><value name="LIST"><block type="variables_get" id="I5uP3_:Qk?/Xa/X}^RAY"><field name="VAR" id=";3{h]w7DUPQzQ[?o0a2K">StrokeWidthValues</field></block></value><value name="AT"><block type="math_number" id="#e0Yg$(#*Sc-@ndJKx69"><field name="NUM">1</field></block></value><value name="TO"><block type="variables_get" id="`/VFnTM?(7B5nrt}7v2H"><field name="VAR" id="$:2;+4+|wU+z`i7o$V)M">NewStrokeWidthValues</field></block></value></block></statement></block></next></block></statement><next><block type="controls_forEach" id="~C48MHlGj!oy%D#~/UO*"><field name="VAR" id="wo/Ihv@RhL6p-!EbK($6">NewStrokeColorValues</field><value name="LIST"><block type="variables_get" id="Q^nf7cv*[jdKAksTS,?b"><field name="VAR" id="p,GmG}Fz-v+chw=E3qu]">StrokeColorValues</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">FinalStrokeColor</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">NewStrokeColorValues</field></block></value></block></value></block></value></block></statement><next><block type="controls_forEach" id="~9l|-.CZa:eh9AY=kSyf"><field name="VAR" id="$:2;+4+|wU+z`i7o$V)M">NewStrokeWidthValues</field><value name="LIST"><block type="variables_get" id="u3eAk50SZ_~#:hHzB9-3"><field name="VAR" id=";3{h]w7DUPQzQ[?o0a2K">StrokeWidthValues</field></block></value><statement name="DO"><block type="variables_set" id="^[.*plgv8SgR4*=(*F09"><field name="VAR" id="_/2t($ey+,)Js`bIx79`">FinalStrokeWidth</field><value name="VALUE"><block type="ae_property_get_attribute" id="q7MND+_M0_w`v:bnvn?%"><field name="PARAM">VALUE</field><value name="ITEM"><block type="variables_get" id="%Pi|Y0]Yn3%KOpT?9r?D"><field name="VAR" id="$:2;+4+|wU+z`i7o$V)M">NewStrokeWidthValues</field></block></value></block></value></block></statement><next><block type="ae_layer_for_all" id="XZ*P$uNghsDO*2[}1G)Y"><field name="SELECTION">SELECTED</field><field name="TYPE">Layer</field><field name="LAYER_VAR" id="eUmYE:J2WoUEPOsdv8LX">OneStrokeLayer</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 - Stroke"></mutation><field name="MAIN_CATEGORY">SHAPE</field><field name="SHAPE_MATCHNAME">ADBE Vector Graphic - Stroke</field><field name="EFFECT_VARIABLE" id="ELE!L~d9Rp4S,aeAGpSt">OneStroke</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 Stroke Color"><shadow type="text" id="Q;j6bzg{ZIWTX#$G$!LJ"><field name="TEXT">#ffffff</field></shadow><block type="variables_get" id="7{BPdyT3b;v$m,$v74=H"><field name="VAR" id="J(W-=Z#lo/(+HMii0nPR">FinalStrokeColor</field></block></value><value name="EFFECT_PARAM_ADBE Vector Stroke Opacity"><shadow type="math_number" id="dwI,skW^yjtUIN;7P5Oh"><field name="NUM">100</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Stroke Width"><shadow type="math_number" id="$mMZ[d9qej72keEM1!ps"><field name="NUM">2</field></shadow><block type="variables_get" id="Nl}E[zw(bil]B68D5drh"><field name="VAR" id="_/2t($ey+,)Js`bIx79`">FinalStrokeWidth</field></block></value><value name="EFFECT_PARAM_ADBE Vector Stroke Line Cap"><shadow type="dropdown_block_mm" id="7_P$?X/#f,R2`D4p[nt@"><mutation><arg name="Butt Cap Join"></arg><arg name="Round Cap"></arg><arg name="Projecting Cap"></arg></mutation><field name="DROPDOWN">Round Cap</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Stroke Line Join"><shadow type="dropdown_block_mm" id="avfX%^|#S5V+0ouG(*4@"><mutation><arg name="Miter Join"></arg><arg name="Round Join"></arg><arg name="Bevel Join"></arg></mutation><field name="DROPDOWN">Round Join</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Stroke Miter Limit"><shadow type="math_number" id="32Hke`{TjzNUVavVH%rL"><field name="NUM">4</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Length Units"><shadow type="dropdown_block_mm" id="uexHID/Ln1ya]G;Yzi,q"><mutation><arg name="Percent"></arg><arg name="Pixels"></arg></mutation><field name="DROPDOWN">Percent</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Start Length"><shadow type="math_number" id="3WLbe?}{js(R82a@^@Wl"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper End Length"><shadow type="math_number" id="bFhc*]~jxsdhq/UjdHkL"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper StartWidthPx"><shadow type="math_number" id="4C?-!E22gDOb4,]LcNEY"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper EndWidthPx"><shadow type="math_number" id="H;uybvrT5r!X-[$=aLM*"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Start Width"><shadow type="math_number" id="=:edGu$o}0}Y.`UJl7E@"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper End Width"><shadow type="math_number" id="i|m`a{zk(]Ep9*suevP-"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Start Ease"><shadow type="math_number" id="HJ0QqJ6tUWoLu67qVwK+"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper End Ease"><shadow type="math_number" id="t$Nx0//Xl?_`s!EuK?co"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Wave Amount"><shadow type="math_number" id="l}R-.)LLhyTQ-]u1Svb#"><field name="NUM">0</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Wave Units"><shadow type="dropdown_block_mm" id="?aL.!?65PJO[{f%pm`H~"><mutation><arg name="Pixels"></arg><arg name="Cycles"></arg></mutation><field name="DROPDOWN">Pixels</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Wavelength"><shadow type="math_number" id="!,bcH`/`|]?/LC$#ANn7"><field name="NUM">100</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Wave Cycles"><shadow type="math_number" id="TOW-Vvc0iouJx?3@1Q3o"><field name="NUM">10</field></shadow></value><value name="EFFECT_PARAM_ADBE Vector Taper Wave Phase"><shadow type="math_number" id=".M:OD,fvdI}8Vm5yV-xh"><field name="NUM">0</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-">StrokesDelete</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></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>