<?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: Object reference shifts when moving or strecthing object in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394070#M4802</link>
    <description>&lt;P&gt;Add this to the parameter or master script ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ac_bottomlevel = -ZZYZX
PARAMETERS ac_bottomlevel = ac_bottomlevel
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will set the bottom level to match your beam height.&lt;/P&gt;
&lt;P&gt;Usually the bottom level is zero to match the object.&lt;/P&gt;
&lt;P&gt;I believe the edit reference is positioned from this bottom level.&lt;/P&gt;
&lt;P&gt;As you are moving your beam in 3D, to need to also reset this bottom level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first time you stretch an already placed beam, it may still look wrong.&lt;/P&gt;
&lt;P&gt;But the next time you stretch it, the value will reset and it will be good from then on.&lt;/P&gt;
&lt;P&gt;If you place a new beam it will be good from the start because it already has the correct value.&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_0-1690943617616.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44236iEEC88AC3C3183504/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1690943617616.png" alt="BarryKelly_0-1690943617616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2023 02:36:33 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2023-08-02T02:36:33Z</dc:date>
    <item>
      <title>Object reference shifts when moving or strecthing object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/393987#M4799</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe I have messed up something really simple with the attached object&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I move or stretch it in the 3D window the object reference moves back as though the addz and addy have been removed(see the attached screenshot)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions about the silly mistake I have made would be greatly appreicated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Eric&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/56845i59FDC66ACC8A9B8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 11:46:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/393987#M4799</guid>
      <dc:creator>Eric B</dc:creator>
      <dc:date>2024-09-17T11:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference shifts when moving or strecthing object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394010#M4800</link>
      <description>&lt;P&gt;Hi Eric&lt;/P&gt;&lt;P&gt;I can confirm this behaviour of the editing feedbackmode which ignores the coordinates manipulation triggered by &lt;EM&gt;add&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As a workaround I'd suggest to try using something like &lt;EM&gt;prism&lt;/EM&gt; or &lt;EM&gt;slab&lt;/EM&gt;, where you can exactly determine the position of each point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gdl.graphisoft.com/reference-guide/basic-shapes" target="_self"&gt;https://gdl.graphisoft.com/reference-guide/basic-shapes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 12:30:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394010#M4800</guid>
      <dc:creator>Xandros</dc:creator>
      <dc:date>2023-08-01T12:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference shifts when moving or strecthing object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394068#M4801</link>
      <description>&lt;P&gt;Hi Xandros&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your feedback&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried both the SLAB and the PRISM but they appear to generate the same issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 02:29:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394068#M4801</guid>
      <dc:creator>Eric B</dc:creator>
      <dc:date>2023-08-02T02:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference shifts when moving or strecthing object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394070#M4802</link>
      <description>&lt;P&gt;Add this to the parameter or master script ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ac_bottomlevel = -ZZYZX
PARAMETERS ac_bottomlevel = ac_bottomlevel
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will set the bottom level to match your beam height.&lt;/P&gt;
&lt;P&gt;Usually the bottom level is zero to match the object.&lt;/P&gt;
&lt;P&gt;I believe the edit reference is positioned from this bottom level.&lt;/P&gt;
&lt;P&gt;As you are moving your beam in 3D, to need to also reset this bottom level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first time you stretch an already placed beam, it may still look wrong.&lt;/P&gt;
&lt;P&gt;But the next time you stretch it, the value will reset and it will be good from then on.&lt;/P&gt;
&lt;P&gt;If you place a new beam it will be good from the start because it already has the correct value.&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_0-1690943617616.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44236iEEC88AC3C3183504/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1690943617616.png" alt="BarryKelly_0-1690943617616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 02:36:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394070#M4802</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-08-02T02:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference shifts when moving or strecthing object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394151#M4803</link>
      <description>&lt;P&gt;Thanks Barry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That worked perfectly. Your help was much appreicated&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 19:10:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394151#M4803</guid>
      <dc:creator>Eric B</dc:creator>
      <dc:date>2023-08-02T19:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference shifts when moving or strecthing object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394261#M4804</link>
      <description>&lt;P&gt;So one last question&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have got everything drawing and working correctly but it appears that instead of it showing a 'ghost' height it has moved it to the width of the object&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="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44296iFDC7FCC09D245A53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there similar code to fix that or have I messed it up in some other way&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 07:16:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Object-reference-shifts-when-moving-or-strecthing-object/m-p/394261#M4804</guid>
      <dc:creator>Eric B</dc:creator>
      <dc:date>2023-08-04T07:16:39Z</dc:date>
    </item>
  </channel>
</rss>

