<?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 Add-on development (API DevKit 21) in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219553#M3897</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;I would like to develop an addOn which get all the elements of a wall in order to use them to generate automatically an object I created before. I am a begginer and it'd be nice if I can receive some assistance &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt; &lt;BR /&gt;Thank you for your help !&lt;BR /&gt;Regards.&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Dec 2022 12:59:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-06T12:59:33Z</dc:date>
    <item>
      <title>Add-on development (API DevKit 21)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219553#M3897</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;I would like to develop an addOn which get all the elements of a wall in order to use them to generate automatically an object I created before. I am a begginer and it'd be nice if I can receive some assistance &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt; &lt;BR /&gt;Thank you for your help !&lt;BR /&gt;Regards.&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 12:59:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219553#M3897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add-on development (API DevKit 21)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219554#M3898</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
If I understand you well, you'd like to reuse the settings of a previously placed Wall instance to create similar new ones.&lt;BR /&gt;
This can be done by creating a favorite with the ACAPI_Favorite_Create function, and then using it to fill the default &lt;BR /&gt;
settings of a new element with the ACAPI_Favorite_GetDefaults function.&lt;BR /&gt;
If you want to reuse the settings directly without creating a favorite, you can use the ACAPI_Element_Change function &lt;BR /&gt;
with the withdel argument set to false. This way, the function creates a copy of the wall, and applies the changes to &lt;BR /&gt;
the copied element.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes</description>
      <pubDate>Thu, 10 Aug 2017 11:01:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219554#M3898</guid>
      <dc:creator>dfintha</dc:creator>
      <dc:date>2017-08-10T11:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add-on development (API DevKit 21)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219555#M3899</link>
      <description>&lt;BLOCKQUOTE&gt;dfintha wrote:&lt;BR /&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
If I understand you well, you'd like to reuse the settings of a previously placed Wall instance to create similar new ones.&lt;BR /&gt;
This can be done by creating a favorite with the ACAPI_Favorite_Create function, and then using it to fill the default &lt;BR /&gt;
settings of a new element with the ACAPI_Favorite_GetDefaults function.&lt;BR /&gt;
If you want to reuse the settings directly without creating a favorite, you can use the ACAPI_Element_Change function &lt;BR /&gt;
with the withdel argument set to false. This way, the function creates a copy of the wall, and applies the changes to &lt;BR /&gt;
the copied element.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes&lt;/BLOCKQUOTE&gt;

Hello,&lt;BR /&gt;
Thank you for your answer. I talked to my friend and he would like to get information from a wall (length,height,number of windows, position, etc...) and then, I will draw it in GDL. To sum up, I need a fonction that would allow me to get this information in order to use it in GDL code (just like the wall accessories addon but with my own object, not a Wall Framing object) .&lt;BR /&gt;
I'm still searching but if you have an idea, it would be great !  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Best regards.</description>
      <pubDate>Thu, 10 Aug 2017 12:18:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219555#M3899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-10T12:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add-on development (API DevKit 21)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219556#M3900</link>
      <description>&lt;BLOCKQUOTE&gt;dfintha wrote:&lt;BR /&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
If I understand you well, you'd like to reuse the settings of a previously placed Wall instance to create similar new ones.&lt;BR /&gt;
This can be done by creating a favorite with the ACAPI_Favorite_Create function, and then using it to fill the default &lt;BR /&gt;
settings of a new element with the ACAPI_Favorite_GetDefaults function.&lt;BR /&gt;
If you want to reuse the settings directly without creating a favorite, you can use the ACAPI_Element_Change function &lt;BR /&gt;
with the withdel argument set to false. This way, the function creates a copy of the wall, and applies the changes to &lt;BR /&gt;
the copied element.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes&lt;/BLOCKQUOTE&gt;

Hello,&lt;BR /&gt;
Thank you Dénes for your answer ! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
I'm interesting in these functions, however, there is no examples on the website and I don't know how to use them. I'm still searching but can you give me an example of their use please. That would help me much.&lt;BR /&gt;
Best Regards.&lt;BR /&gt;
Cédric.</description>
      <pubDate>Wed, 23 Aug 2017 13:18:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219556#M3900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add-on development (API DevKit 21)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219557#M3901</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
If you'd like to use values calculated in your C++ code, your best choice might be using parameters describing these values &lt;BR /&gt;
in your GDL object, and then creating an Object instance with your Library Part and customized parameters.&lt;BR /&gt;
&lt;BR /&gt;
To do so, you'll have to use  ACAPI_LibPart_Search to find your Library Part's index, ACAPI_LibPart_GetParams to get the &lt;BR /&gt;
default parameter list, which you can change for the instance to be placed, and ACAPI_Element_Create to create an object instance.&lt;BR /&gt;
&lt;BR /&gt;
Documentation for these functions can be found in the installed DevKit's Documentation folder, or &lt;BR /&gt;
at &lt;A href="http://archicadapi.graphisoft.com" target="_blank"&gt;http://archicadapi.graphisoft.com&lt;/A&gt;. The latter requires you to log in to the site.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes</description>
      <pubDate>Thu, 24 Aug 2017 11:01:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219557#M3901</guid>
      <dc:creator>dfintha</dc:creator>
      <dc:date>2017-08-24T11:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add-on development (API DevKit 21)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219558#M3902</link>
      <description>&lt;BLOCKQUOTE&gt;dfintha wrote:&lt;BR /&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
If you'd like to use values calculated in your C++ code, your best choice might be using parameters describing these values &lt;BR /&gt;
in your GDL object, and then creating an Object instance with your Library Part and customized parameters.&lt;BR /&gt;
&lt;BR /&gt;
To do so, you'll have to use  ACAPI_LibPart_Search to find your Library Part's index, ACAPI_LibPart_GetParams to get the &lt;BR /&gt;
default parameter list, which you can change for the instance to be placed, and ACAPI_Element_Create to create an object instance.&lt;BR /&gt;
&lt;BR /&gt;
Documentation for these functions can be found in the installed DevKit's Documentation folder, or &lt;BR /&gt;
at &lt;A href="http://archicadapi.graphisoft.com" target="_blank"&gt;http://archicadapi.graphisoft.com&lt;/A&gt;. The latter requires you to log in to the site.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes&lt;/BLOCKQUOTE&gt;

Thank you,&lt;BR /&gt;
I understand the steps but I don't manage to search my library part. I tried to create a LibPart variable and modify his file name. However, I can't modify it because the type of the filename is GS:uchar_t and I don't understand how to use it (there is no documentation of this type in the site). Can you help me with this step please ?&lt;BR /&gt;
Thank you for your answers.&lt;BR /&gt;
Best regards.</description>
      <pubDate>Wed, 04 Oct 2017 07:43:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Add-on-development-API-DevKit-21/m-p/219558#M3902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T07:43:00Z</dc:date>
    </item>
  </channel>
</rss>

