<?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: How to set the Height of an Object through code in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614549#M9637</link>
    <description>&lt;P&gt;Yep A, B, ZZYZX sets the dimensions of an object. ZZYZX is the height.&lt;/P&gt;&lt;P&gt;(But in case of a door for example A, B defines the hole in the wall.)&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 09:19:49 GMT</pubDate>
    <dc:creator>eptar</dc:creator>
    <dc:date>2024-07-08T09:19:49Z</dc:date>
    <item>
      <title>How to set the Height of an Object through code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614522#M9634</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have someone come across a use to set the height of an Object from code. Have added the screenshot of the field which I meant .&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kency_1-1720420936504.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/65800i99267D517A56C74E/image-size/large?v=v2&amp;amp;px=999" role="button" title="kency_1-1720420936504.png" alt="kency_1-1720420936504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There are fields in API_ObjectType for setting the X and Y values but not for the height.&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 13:41:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614522#M9634</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-09-18T13:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the Height of an Object through code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614547#M9635</link>
      <description>&lt;P&gt;Hi Kency, I think you need to change the ZZYZX parameter of the object. But don't have time to confirm right now.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 09:02:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614547#M9635</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-07-08T09:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the Height of an Object through code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614549#M9637</link>
      <description>&lt;P&gt;Yep A, B, ZZYZX sets the dimensions of an object. ZZYZX is the height.&lt;/P&gt;&lt;P&gt;(But in case of a door for example A, B defines the hole in the wall.)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 09:19:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614549#M9637</guid>
      <dc:creator>eptar</dc:creator>
      <dc:date>2024-07-08T09:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the Height of an Object through code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614567#M9638</link>
      <description>&lt;P&gt;To edit the ZZYZX value, we would need to update the library object right? Will editing that affect the all the object instances or just a single instance?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 10:23:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614567#M9638</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-07-08T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the Height of an Object through code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614572#M9639</link>
      <description>&lt;P&gt;No you don't have to edit the library object itself. You have to change the parameters value for a specific object (which has reference to the relevant library object). The parameters for a specific object are part of the Element Memo of that object.&lt;BR /&gt;This way you can change single instances.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 10:35:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614572#M9639</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-07-08T10:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the Height of an Object through code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614580#M9640</link>
      <description>&lt;P&gt;It depends on what you want to achieve. Editing the library part is rarely needed. Usually placed instances need to be updated.&lt;/P&gt;&lt;P&gt;You can use the ACAPI_Element_Get and ACAPI_Element_GetMemo functions to retrieve parameters.&lt;/P&gt;&lt;P&gt;In the API_ElementMemo structure there is the "params" array, that need to be updated.&lt;/P&gt;&lt;P&gt;If you install the devkit there should be an examples folder which uses these structures quite a lot. There is the Element_Test sample, and for example the Element_Modify_ChangeParameters.cpp in the project. There you can find ways to iterate through the parameters of an object instance.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 10:55:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614580#M9640</guid>
      <dc:creator>eptar</dc:creator>
      <dc:date>2024-07-08T10:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the Height of an Object through code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614689#M9643</link>
      <description>&lt;P&gt;Thank you this worked.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 07:08:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-Height-of-an-Object-through-code/m-p/614689#M9643</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-07-09T07:08:05Z</dc:date>
    </item>
  </channel>
</rss>

