<?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: Issue with dynamic hotspot and height stretching in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338068#M1771</link>
    <description>&lt;P&gt;I had tried this but it didn't solve the issue unfortunately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was mostly wondering about the difference between the "move node/vertex" and the "stretch/change height" functions of the pet palette and why they behave differently in this case. It seems that if I chose to move the vertex, the absolute value of the parameter is changed (ie the new value is 1.5m). However if I chose the height stretch, the value is changed relatively (ie : -0.5m to go from 2m to 1.5m)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I "solved" the issue by not having a second hotspot because it was not necessary.&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 08:26:37 GMT</pubDate>
    <dc:creator>MetalFingerz</dc:creator>
    <dc:date>2022-05-11T08:26:37Z</dc:date>
    <item>
      <title>Issue with dynamic hotspot and height stretching</title>
      <link>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338006#M1768</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some weird problem with a dynamic hotspot. I'm on AC 21 3005 but I replicated it in AC 24 7006 too. It's not a really important bug but I cannot understand what is happening &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So let's say I have an object with two extrusions, in the main script or 3D script, I have two heights tied to ZZYZX (I guess that's where the bug is coming from) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;HT1 = ZZYZX
HT2 = ZZYZX+0.200&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the 3D script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hs = 001

HOTSPOT 0, 0, -1, hs, ZZYZX, 3 : hs = hs + 1
HOTSPOT 0, 0, 0, hs, ZZYZX, 1 : hs = hs + 1
HOTSPOT 0, 0, ZZYZX, hs, ZZYZX, 2, ZZYZX, "" : hs = hs + 1 ! Purple hotspot

BLOCK A, B, HT1

ADDx A
HOTSPOT 0, 0, HT2, hs : hs = hs  + 1 ! Second hotspot
BLOCK A, B, HT2
DEL 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if I move the purple hotspot with the "move node" button of the pet palette, everything is ok. If I do so with the "stretch height" button, the height is changed but it's the bottom that stretches rather than the top which makes the stretching wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This only happens if HT2 &amp;gt; H1 or if there is only the purple hotspot. I mean, if HT2 &amp;gt; HT1 then it happens only if I create a second hotspot at HT2 but if I create that second hotspot, then the bug doesn't appear if H2 &amp;lt;= H1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody knows why ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 07:22:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338006#M1768</guid>
      <dc:creator>MetalFingerz</dc:creator>
      <dc:date>2022-05-11T07:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dynamic hotspot and height stretching</title>
      <link>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338036#M1769</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/8056"&gt;@MetalFingerz&lt;/a&gt;&amp;nbsp;based on your variable settings HT2 should never be greater than HT1 and iirc Block dimensions should never be &amp;lt;= 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try changing your Block dimensions to reference the parameter ZZYZX rather than the variables e.g. BLOCK A, B, ZZYZX - 0.200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your problems are probably related to the way you are storing &amp;amp; updating the HT variables.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 05:42:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338036#M1769</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2022-05-11T05:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dynamic hotspot and height stretching</title>
      <link>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338037#M1770</link>
      <description>&lt;P&gt;In that case standard Archicad object Cube also has this bug ) - if you choose icon height-change, though icon move vertice works fine&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think that's just AC logic - after object is placed any height changes make taller or smaller based on its bottom. Unless you make some conditions in parameter script - if I am not mistaken I saw Piotr Dobrowolski object of sewer manhole where its top (cover) was its base and you could stretch it down&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 05:55:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338037#M1770</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2022-05-11T05:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dynamic hotspot and height stretching</title>
      <link>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338068#M1771</link>
      <description>&lt;P&gt;I had tried this but it didn't solve the issue unfortunately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was mostly wondering about the difference between the "move node/vertex" and the "stretch/change height" functions of the pet palette and why they behave differently in this case. It seems that if I chose to move the vertex, the absolute value of the parameter is changed (ie the new value is 1.5m). However if I chose the height stretch, the value is changed relatively (ie : -0.5m to go from 2m to 1.5m)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I "solved" the issue by not having a second hotspot because it was not necessary.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 08:26:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338068#M1771</guid>
      <dc:creator>MetalFingerz</dc:creator>
      <dc:date>2022-05-11T08:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with dynamic hotspot and height stretching</title>
      <link>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338485#M1772</link>
      <description>&lt;P&gt;Hi, &lt;A href="https://gdl.Graphisoft.com/reference-guide/coordinate-transformations" target="_blank" rel="noopener"&gt;ZZYZX should be the full height of the object&lt;/A&gt;, you need another parameter to correctly edit the height of the smaller part. In the parameter script you can calculate ZZYZX from the edited height, or vice versa, using GLOB_MODPAR_NAME as a condition.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 06:47:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Issue-with-dynamic-hotspot-and-height-stretching/m-p/338485#M1772</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-05-16T06:47:29Z</dc:date>
    </item>
  </channel>
</rss>

