<?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  get the two ids of the column element in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/634471#M9858</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I think I can talk about my practical problems from another direction. When I add a column or a beam to a 3D scene, how to directly obtain their geometric information, such as vertices and surfaces?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Oct 2024 03:09:01 GMT</pubDate>
    <dc:creator>WalterWhite</dc:creator>
    <dc:date>2024-10-06T03:09:01Z</dc:date>
    <item>
      <title>Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633474#M9834</link>
      <description>&lt;P&gt;Can't&amp;nbsp; get the two ids of the column element, only the GUID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 08:47:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633474#M9834</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-01T08:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column elemen</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633476#M9835</link>
      <description>&lt;P&gt;What 2 IDs - Element ID and GUID?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where are you trying to get this information?&lt;/P&gt;
&lt;P&gt;Autotext labels, GDL, API (add-ons), schedules?&lt;/P&gt;
&lt;P&gt;Let me know and I will move this post to the appropriate forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 08:35:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633476#M9835</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-10-01T08:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column elemen</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633477#M9836</link>
      <description>&lt;P&gt;C++ API&lt;SPAN&gt;(add-ons)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 08:38:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633477#M9836</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-01T08:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column elemen</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633481#M9841</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Can't&amp;nbsp; get&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Element ID&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 08:48:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633481#M9841</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-01T08:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633484#M9842</link>
      <description>&lt;P&gt;Element ID's are specific properties.&lt;/P&gt;
&lt;P&gt;Try something like this:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;const API_Guid ELEMID_PROP_GUID = APIGuidFromString ("7E221F33-829B-4FBC-A670-E74DABCE6289");

API_Property prop;
GSErrCode err = ACAPI_Element_GetPropertyValue (elementGuid, ELEMID_PROP_GUID, prop);
if (err != NoError) { return err; }

ACAPI_WriteReport("Element ID: " + prop.value.singleVariant.variant.uniStringValue, true);&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Oct 2024 09:06:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633484#M9842</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-10-01T09:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633489#M9844</link>
      <description>&lt;P&gt;Thank you, I will try it, but now there is another problem. When adding a column in the scene, I will get two element, I don't know how to get ID separately.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  ModelerAPI::Model* m_model;
  Int32 nElements = m_model-&amp;gt;GetElementCount();&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2024-10-01_17-21-37.png" style="width: 828px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/77390i39EE6881FC1D1DA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2024-10-01_17-21-37.png" alt="Snipaste_2024-10-01_17-21-37.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 09:24:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633489#M9844</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-01T09:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633499#M9846</link>
      <description>&lt;P&gt;I find that one element id in the column is GUID, what is the relationship between the other element id and Guid?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 10:04:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633499#M9846</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-01T10:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633543#M9848</link>
      <description>&lt;P&gt;I haven't used the ModelerAPI yet, but I don't think it helps you in your case (if I understand correctly what you want to do).&lt;BR /&gt;&lt;BR /&gt;Instead check out these two functions and their examples:&lt;BR /&gt;&lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___element.html#ga365cc4e0f7ecb9bad0ca6d27a2474169" target="_self"&gt;ACAPI_Element_Get&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___element.html#ga1e5c492e5419647568f209003ab0571b" target="_self"&gt;ACAPI_Element_GetElemList&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GUID is a unique identification number for each element. With Element ID I usually refer to the property which is usually something like "COL - 001".&lt;BR /&gt;And on top of that, the Element ID is a built-in property which has it's own GUID. That's also very confusing.&lt;BR /&gt;&lt;BR /&gt;The question really is which information you want exactly. Maybe you can make a screenshot of the information as you see it in the Archicad Window, then we can tell you how to get it with the API.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 14:02:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633543#M9848</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-10-01T14:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633561#M9849</link>
      <description>&lt;P&gt;My ultimate goal is to get the model information for columns, such as Polygon, Vertex. These cannot be obtained directly from the Guid.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 17:05:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633561#M9849</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-01T17:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633562#M9850</link>
      <description>&lt;P&gt;I can only get one Guid for the column through ACAPI_Element_GetElemList.&lt;BR /&gt;With m_model-&amp;gt;GetElementCount(), I find that the column consists of two elements, and then use GetElemGuid() to find that each of them has a different Guid.&lt;BR /&gt;I am currently using notification management ElementEventHandlerProc, when APINotifyElement_New, the column will return one Guid and the other Guid will not return, what is the way to get it?&lt;BR /&gt;I think it might not be an Element ID, but a column with two Guids, judging from the interface GetElemGuid().&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 17:22:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/633562#M9850</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-01T17:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/634328#M9854</link>
      <description>&lt;P&gt;OK I've completely misunderstood you before. Now I don't think you were looking for the Element ID property value. So forget what I said before.&lt;BR /&gt;&lt;BR /&gt;Now to your actual problem: Not sure what the other GUID is for. How many GUIDs do you get when you add no element to the project?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 13:24:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/634328#M9854</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-10-04T13:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/634471#M9858</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I think I can talk about my practical problems from another direction. When I add a column or a beam to a 3D scene, how to directly obtain their geometric information, such as vertices and surfaces?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2024 03:09:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/634471#M9858</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-06T03:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/634779#M9865</link>
      <description>&lt;P&gt;I've used the &lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___model_access.html" target="_blank"&gt;ModelAccess API&lt;/A&gt; before for something similar. It's not very comfortable to use, but worked in my case. Also unfortunately the examples for it are a bit scarce.&lt;BR /&gt;&lt;BR /&gt;I think the ModelerAPI you've used might be the newer iteration of the interface. But I've not used that yet and I'm really not sure about it's application.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 09:38:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/634779#M9865</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-10-08T09:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't  get the two ids of the column element</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/635141#M9877</link>
      <description>&lt;P&gt;Ok, I will find a suitable solution according to the direction you provided. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 07:22:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-two-ids-of-the-column-element/m-p/635141#M9877</guid>
      <dc:creator>WalterWhite</dc:creator>
      <dc:date>2024-10-10T07:22:08Z</dc:date>
    </item>
  </channel>
</rss>

