<?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: can't make ACAPI_Element_Create work in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/can-t-make-ACAPI-Element-Create-work/m-p/640042#M9967</link>
    <description>&lt;P&gt;I recommend starting from some of the example projects - use them to see how the API works and then extend them a bit for experimentation. Some good places to start for creating objects are "Element_test" and "LibPart_Test". Both have examples for creating an object instance, e.g. a window.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 11:10:15 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2024-11-18T11:10:15Z</dc:date>
    <item>
      <title>can't make ACAPI_Element_Create work</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/can-t-make-ACAPI-Element-Create-work/m-p/638476#M9958</link>
      <description>&lt;P&gt;Hello, I'm pretty new to archicad api coding. I'm trying to do what I think to be a very simple task, create an object via api. I'm doing a sample code that should create an object in coordinates (0,0). I'm using an object that is already part of default archicad library (Culla.gsm for italian archicad). Could someone help me find what I'm doing wrong? I want also to say that, for now, I'm using a DEMO version of Archicad, please tell me if this could also be the cause of the issue.&lt;/P&gt;
&lt;P&gt;When I run the add-on,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I get error code -2130313112 when calling&amp;nbsp;ACAPI_Element_Create. This is the case without memo. If I de-comment memo and call ACAPI_Element_Create with memo archicad crashes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm pasting the code I wrote:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-11-04 212800.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/79067iD7AB3CAF184731CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine 2024-11-04 212800.png" alt="Immagine 2024-11-04 212800.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2024-11-05 105752.png" style="width: 721px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/79084iA7FD85150B826734/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine 2024-11-05 105752.png" alt="Immagine 2024-11-05 105752.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows 11&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 17:51:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/can-t-make-ACAPI-Element-Create-work/m-p/638476#M9958</guid>
      <dc:creator>zaza95</dc:creator>
      <dc:date>2024-11-13T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: can't make ACAPI_Element_Create work</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/can-t-make-ACAPI-Element-Create-work/m-p/640042#M9967</link>
      <description>&lt;P&gt;I recommend starting from some of the example projects - use them to see how the API works and then extend them a bit for experimentation. Some good places to start for creating objects are "Element_test" and "LibPart_Test". Both have examples for creating an object instance, e.g. a window.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 11:10:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/can-t-make-ACAPI-Element-Create-work/m-p/640042#M9967</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2024-11-18T11:10:15Z</dc:date>
    </item>
  </channel>
</rss>

