<?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 Controlling object's bounding box when moving in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Controlling-object-s-bounding-box-when-moving/m-p/397206#M2857</link>
    <description>&lt;P&gt;Couldn't figure out, how to control an object's bounding box that appears when moving the object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the test object below with a polygon, a circle and a text. The text and the circle are not relevant when considering the placement of the object and should not snap to anything at any point. However the bounding box, that's visible while moving the object, is created from the whole object, including the text and the circle. Thus the object snaps to the adjacent fill (with diagonal fill pattern) at a point that's totally irrelevant for the placement of the object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to prevent this so that only the hotspots of the object snap to surrounding objects while moving? I tried to use GLOB_FEEDBACK_MODE, but it doesn't seem to have an effect when moving items.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(The example below is silly, but I have a real object where a hotspot and the automatically created bounding box are so close to each other that there's a real opportunity for error.)&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="image.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45353i343F1E4CCE1674E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample 2D script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;circle2 0, 0, 0.2&lt;BR /&gt;&lt;BR /&gt;fill GLOB_FILL_INDEX_BACKGROUND&lt;BR /&gt;&lt;BR /&gt;poly2_ 4, 1 + 2 + 4,&lt;BR /&gt;    0, 0, 0,&lt;BR /&gt;    0, 0.5, 0,&lt;BR /&gt;    0.5, 0.5, 1,&lt;BR /&gt;    0.5, 0, 1&lt;BR /&gt;&lt;BR /&gt;hotspot2 0, 0, 101&lt;BR /&gt;hotspot2 0.5, 0.5, 102&lt;BR /&gt;hotspot2 0, 0.5, 103&lt;BR /&gt;hotspot2 0.5, 0, 104&lt;BR /&gt;&lt;BR /&gt;if not(GLOB_FEEDBACK_MODE) then&lt;BR /&gt;    text2 0, 0, "text2"&lt;BR /&gt;endif&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 11:51:05 GMT</pubDate>
    <dc:creator>vlahtinen</dc:creator>
    <dc:date>2024-09-26T11:51:05Z</dc:date>
    <item>
      <title>Controlling object's bounding box when moving</title>
      <link>https://community.graphisoft.com/t5/GDL/Controlling-object-s-bounding-box-when-moving/m-p/397206#M2857</link>
      <description>&lt;P&gt;Couldn't figure out, how to control an object's bounding box that appears when moving the object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the test object below with a polygon, a circle and a text. The text and the circle are not relevant when considering the placement of the object and should not snap to anything at any point. However the bounding box, that's visible while moving the object, is created from the whole object, including the text and the circle. Thus the object snaps to the adjacent fill (with diagonal fill pattern) at a point that's totally irrelevant for the placement of the object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to prevent this so that only the hotspots of the object snap to surrounding objects while moving? I tried to use GLOB_FEEDBACK_MODE, but it doesn't seem to have an effect when moving items.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(The example below is silly, but I have a real object where a hotspot and the automatically created bounding box are so close to each other that there's a real opportunity for error.)&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="image.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45353i343F1E4CCE1674E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample 2D script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;circle2 0, 0, 0.2&lt;BR /&gt;&lt;BR /&gt;fill GLOB_FILL_INDEX_BACKGROUND&lt;BR /&gt;&lt;BR /&gt;poly2_ 4, 1 + 2 + 4,&lt;BR /&gt;    0, 0, 0,&lt;BR /&gt;    0, 0.5, 0,&lt;BR /&gt;    0.5, 0.5, 1,&lt;BR /&gt;    0.5, 0, 1&lt;BR /&gt;&lt;BR /&gt;hotspot2 0, 0, 101&lt;BR /&gt;hotspot2 0.5, 0.5, 102&lt;BR /&gt;hotspot2 0, 0.5, 103&lt;BR /&gt;hotspot2 0.5, 0, 104&lt;BR /&gt;&lt;BR /&gt;if not(GLOB_FEEDBACK_MODE) then&lt;BR /&gt;    text2 0, 0, "text2"&lt;BR /&gt;endif&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:51:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Controlling-object-s-bounding-box-when-moving/m-p/397206#M2857</guid>
      <dc:creator>vlahtinen</dc:creator>
      <dc:date>2024-09-26T11:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object's bounding box when moving</title>
      <link>https://community.graphisoft.com/t5/GDL/Controlling-object-s-bounding-box-when-moving/m-p/397209#M2858</link>
      <description>&lt;P&gt;Sadly an easy answer here: you can't.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 18:57:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Controlling-object-s-bounding-box-when-moving/m-p/397209#M2858</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-09-04T18:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling object's bounding box when moving</title>
      <link>https://community.graphisoft.com/t5/GDL/Controlling-object-s-bounding-box-when-moving/m-p/397303#M5515</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lack of this feature seems stupid, but yet I'm not surprised.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let see how much this bugs me, maybe I'll make a wish.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 13:42:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Controlling-object-s-bounding-box-when-moving/m-p/397303#M5515</guid>
      <dc:creator>vlahtinen</dc:creator>
      <dc:date>2023-09-05T13:42:37Z</dc:date>
    </item>
  </channel>
</rss>

