<?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 Object jumps after resizing it to/from minimum length in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Object-jumps-after-resizing-it-to-from-minimum-length/m-p/248858#M6474</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hey,&lt;BR /&gt;
&lt;BR /&gt;
My GDL object "jumps" to another location when I resize it from a hotspot on one of the corners of the object. It jumps only if it is resized TO minimun width or FROM minimum width.&lt;BR /&gt;
&lt;BR /&gt;
At first I had set the minium width in master script like this:
&lt;PRE&gt;IF (A&amp;lt;minWidth) THEN
parameters A = minWidth
ENDIF&lt;/PRE&gt;
The picture is about this^^ but now I noticed it happens also without resizing to smaller than allowed. Resizing exactly to the min.width will also cause this.&lt;BR /&gt;
&lt;BR /&gt;
Then I changed it to this (parameter script) and the bug still exists:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;values "A" range [minWidth, 10]
&lt;/PRE&gt;

"minWidth" is a parameter with type of "Length". The value is set in master script based on some calculations. The calculations doesn't have anything to do with A though.&lt;BR /&gt;
&lt;BR /&gt;
In the picture I have explained the problem and I found a logic on how much the object jumps. It jumps exactly to the point where I move the hotspot from corner to resize.&lt;BR /&gt;
&lt;BR /&gt;
The bug happens with 3D and 2D hotspots. But it doesn't happen when I resize it by directly changing the A value from toolbar.&lt;BR /&gt;
&lt;BR /&gt;
I don't know if this is a bug in ArchiCAD or my code. Any tips on how to debug this further?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://juuh.tk/img/bug.png" target="_blank"&gt;&lt;IMG src="http://juuh.tk/img/bug.png" /&gt;&lt;/A&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 Dec 2016 12:43:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-05T12:43:50Z</dc:date>
    <item>
      <title>Object jumps after resizing it to/from minimum length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-jumps-after-resizing-it-to-from-minimum-length/m-p/248858#M6474</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hey,&lt;BR /&gt;
&lt;BR /&gt;
My GDL object "jumps" to another location when I resize it from a hotspot on one of the corners of the object. It jumps only if it is resized TO minimun width or FROM minimum width.&lt;BR /&gt;
&lt;BR /&gt;
At first I had set the minium width in master script like this:
&lt;PRE&gt;IF (A&amp;lt;minWidth) THEN
parameters A = minWidth
ENDIF&lt;/PRE&gt;
The picture is about this^^ but now I noticed it happens also without resizing to smaller than allowed. Resizing exactly to the min.width will also cause this.&lt;BR /&gt;
&lt;BR /&gt;
Then I changed it to this (parameter script) and the bug still exists:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;values "A" range [minWidth, 10]
&lt;/PRE&gt;

"minWidth" is a parameter with type of "Length". The value is set in master script based on some calculations. The calculations doesn't have anything to do with A though.&lt;BR /&gt;
&lt;BR /&gt;
In the picture I have explained the problem and I found a logic on how much the object jumps. It jumps exactly to the point where I move the hotspot from corner to resize.&lt;BR /&gt;
&lt;BR /&gt;
The bug happens with 3D and 2D hotspots. But it doesn't happen when I resize it by directly changing the A value from toolbar.&lt;BR /&gt;
&lt;BR /&gt;
I don't know if this is a bug in ArchiCAD or my code. Any tips on how to debug this further?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://juuh.tk/img/bug.png" target="_blank"&gt;&lt;IMG src="http://juuh.tk/img/bug.png" /&gt;&lt;/A&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:43:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-jumps-after-resizing-it-to-from-minimum-length/m-p/248858#M6474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-05T12:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Object jumps after resizing it to/from minimum length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-jumps-after-resizing-it-to-from-minimum-length/m-p/248859#M6475</link>
      <description>Hey,&lt;BR /&gt;
&lt;BR /&gt;
The bug was fixed by moving minWidth calculations from Master to Parameter script.</description>
      <pubDate>Mon, 12 Dec 2016 13:03:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-jumps-after-resizing-it-to-from-minimum-length/m-p/248859#M6475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-12T13:03:36Z</dc:date>
    </item>
  </channel>
</rss>

