<?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: Adding an Element question in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-an-Element-question/m-p/289447#M5236</link>
    <description>&lt;BLOCKQUOTE&gt;jcimentarov wrote:&lt;BR /&gt;Hey, It's your new favourite newbie again &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
I have another question: Let's say that I created a new composite and I want programatically to draw 1m of it at the center of the screen. Is this possible, because I can't find anything similar in the Element_test example add-on?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
Julian&lt;/BLOCKQUOTE&gt;

Welcome, fellow newbie developer &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
The composite in itself is an attribute, so you cannot draw it directly to the floor plan, it has to be assigned to some building element. So: create a 1m wall which refers to that composite (set the 'composite' data member in API_WallType to the attribute index of the newly created composite attribute), and you'll see what you want.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
    <pubDate>Fri, 09 Jun 2017 03:02:03 GMT</pubDate>
    <dc:creator>Akos Somorjai</dc:creator>
    <dc:date>2017-06-09T03:02:03Z</dc:date>
    <item>
      <title>Adding an Element question</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-an-Element-question/m-p/289446#M5235</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hey, It's your new favourite newbie again &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;I have another question: Let's say that I created a new composite and I want programatically to draw 1m of it at the center of the screen. Is this possible, because I can't find anything similar in the Element_test example add-on?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Julian&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:06:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-an-Element-question/m-p/289446#M5235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T13:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an Element question</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-an-Element-question/m-p/289447#M5236</link>
      <description>&lt;BLOCKQUOTE&gt;jcimentarov wrote:&lt;BR /&gt;Hey, It's your new favourite newbie again &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
I have another question: Let's say that I created a new composite and I want programatically to draw 1m of it at the center of the screen. Is this possible, because I can't find anything similar in the Element_test example add-on?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
Julian&lt;/BLOCKQUOTE&gt;

Welcome, fellow newbie developer &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
The composite in itself is an attribute, so you cannot draw it directly to the floor plan, it has to be assigned to some building element. So: create a 1m wall which refers to that composite (set the 'composite' data member in API_WallType to the attribute index of the newly created composite attribute), and you'll see what you want.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Fri, 09 Jun 2017 03:02:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-an-Element-question/m-p/289447#M5236</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2017-06-09T03:02:03Z</dc:date>
    </item>
  </channel>
</rss>

