<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Making 2D Symbol Objects Stretchy in both x and y in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387293#M449</link>
    <description>&lt;P&gt;OK, the big problem is the hotspots.&lt;/P&gt;
&lt;P&gt;Because you have scripted some hotspots based on A &amp;amp; B sizes, they need to be scripted before the MUL2 command.&lt;/P&gt;
&lt;P&gt;Otherwise you are asking it to show hotspots to represent the actual A &amp;amp; B sizes, but you are also telling it to scale those hotspot positions so they can't show the overall size.&lt;/P&gt;
&lt;P&gt;This will affect the stretching (I am not sure why in one direction only though).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that make sense?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you want ...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;HOTSPOT2	0,0
HOTSPOT2	-A/2,B/2
HOTSPOT2	A/2,B/2
HOTSPOT2	-A/2,B/2
HOTSPOT2	A/2,B/2

MUL2	A/0.105, B/0.200


IF DET_TYPE = 1 THEN FRAGMENT2 1, 0
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_2-1689214276841.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40226iE910FF42582B892F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_2-1689214276841.png" alt="BarryKelly_2-1689214276841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another minor problem (doesn't affect the stretching) is the 2D symbol lines and hotspots are not exactly the correct size.&lt;/P&gt;
&lt;P&gt;They don't quite match the A &amp;amp; B sizes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_1-1689214140359.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40225i260088785596F5D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_1-1689214140359.png" alt="BarryKelly_1-1689214140359.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 02:16:22 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2023-07-13T02:16:22Z</dc:date>
    <item>
      <title>Making 2D Symbol Objects Stretchy in both x and y</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387049#M446</link>
      <description>&lt;P&gt;I've created a simple detailing object by pasting lines and fills into the GDL object's 2D Symbol window. (I don't want GDL code, I want an editable object made of lines and fills).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not parametric, but I have a value list of symbols that issue FRAGMENT2 commands to control the layer that is visible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like this object to be stretchy and have added a MULL2 command and Hotspot2 hotspots to the 2D script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The object is stretchy in y, but not x. &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-07-11 at 1.11.23 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40147i795A79502636F105/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2023-07-11 at 1.11.23 PM.png" alt="Screen Shot 2023-07-11 at 1.11.23 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-07-11 at 1.10.59 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40146i4D2CC8FCFB162B45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2023-07-11 at 1.10.59 PM.png" alt="Screen Shot 2023-07-11 at 1.10.59 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what might I be missing?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 17:12:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387049#M446</guid>
      <dc:creator>Aaron Bourgoin</dc:creator>
      <dc:date>2023-07-11T17:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Making 2D Symbol Objects Stretchy in both x and y</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387094#M447</link>
      <description>&lt;P&gt;Any chance you can attach the actual object (you will need to zip it)?&lt;/P&gt;
&lt;P&gt;It will be much easier to see it and play with it rather than guess the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 01:17:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387094#M447</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-07-12T01:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Making 2D Symbol Objects Stretchy in both x and y</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387234#M448</link>
      <description>&lt;P&gt;Hi Barry, as requested:&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 14:18:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387234#M448</guid>
      <dc:creator>Aaron Bourgoin</dc:creator>
      <dc:date>2023-07-12T14:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Making 2D Symbol Objects Stretchy in both x and y</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387293#M449</link>
      <description>&lt;P&gt;OK, the big problem is the hotspots.&lt;/P&gt;
&lt;P&gt;Because you have scripted some hotspots based on A &amp;amp; B sizes, they need to be scripted before the MUL2 command.&lt;/P&gt;
&lt;P&gt;Otherwise you are asking it to show hotspots to represent the actual A &amp;amp; B sizes, but you are also telling it to scale those hotspot positions so they can't show the overall size.&lt;/P&gt;
&lt;P&gt;This will affect the stretching (I am not sure why in one direction only though).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that make sense?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you want ...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;HOTSPOT2	0,0
HOTSPOT2	-A/2,B/2
HOTSPOT2	A/2,B/2
HOTSPOT2	-A/2,B/2
HOTSPOT2	A/2,B/2

MUL2	A/0.105, B/0.200


IF DET_TYPE = 1 THEN FRAGMENT2 1, 0
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_2-1689214276841.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40226iE910FF42582B892F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_2-1689214276841.png" alt="BarryKelly_2-1689214276841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another minor problem (doesn't affect the stretching) is the 2D symbol lines and hotspots are not exactly the correct size.&lt;/P&gt;
&lt;P&gt;They don't quite match the A &amp;amp; B sizes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_1-1689214140359.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40225i260088785596F5D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_1-1689214140359.png" alt="BarryKelly_1-1689214140359.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 02:16:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387293#M449</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-07-13T02:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Making 2D Symbol Objects Stretchy in both x and y</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387375#M450</link>
      <description>&lt;P&gt;Thanks so much Barry.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:38:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-2D-Symbol-Objects-Stretchy-in-both-x-and-y/m-p/387375#M450</guid>
      <dc:creator>Aaron Bourgoin</dc:creator>
      <dc:date>2023-07-13T13:38:52Z</dc:date>
    </item>
  </channel>
</rss>

