<?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: Objects Tree View in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Objects-Tree-View/m-p/395054#M1032</link>
    <description>&lt;P&gt;ifcRelationshipData.containmentTable allows me to get the GUID of all elements, just like in the ifc manager. However, if you look at the ifc object properties in the ifc manager, you can see that there is no Tag field. I think that is why the api functions ACAPI_Element_GetIFCAttributes and ACAPI_Element_GetIFCType return an error BAD_ID for objects that do not have a tag field in ifc attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFC attributes of the wall(have a Tag field):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Toshik_0-1692162969577.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44523iB641E95219CD817D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Toshik_0-1692162969577.png" alt="Toshik_0-1692162969577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFC attributes of the project(does`n t have a tag field):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Toshik_2-1692163041307.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44525i640D8B2E6F98D7DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Toshik_2-1692163041307.png" alt="Toshik_2-1692163041307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Objects of type ifcBuilding , ifcSite, ifcProject in ifc manager have only archicad ifc id - is this a bug? Or is there a way to contact them? As far as I know - archicad ifc id navigation is not possible&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 05:20:21 GMT</pubDate>
    <dc:creator>Toshik</dc:creator>
    <dc:date>2023-08-16T05:20:21Z</dc:date>
    <item>
      <title>Objects Tree View</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Objects-Tree-View/m-p/394703#M1030</link>
      <description>&lt;P&gt;Hi, I'm developing an add-on for archicad and I'm having a problem. I need to get a tree of all objects in the drawing, for example, how it looks in the ifc project manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do the following:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 508px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44418iFA67DFF232DC5420/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1)&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;API_IFCTranslatorIdentifier ifcTranslator = helperFunction::GetExportTranslator();&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;2)&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;if (ifcTranslator.innerReference != nullptr)
    ACAPI_Goodies(APIAny_GetIFCRelationshipDataID, &amp;amp;ifcTranslator, &amp;amp;ifcRelationshipData);&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;3)&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt; I build a tree of objects from ifcRelationshipData.containmentTable&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works correctly, but when I try to get the object name by guid from ifcRelationshipData.containmentTable - in most cases I don’t receive an answer, and in the case of getting ifc properties by the same guid - I never receive an answer at all, please tell me how can I do it?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 06:58:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Objects-Tree-View/m-p/394703#M1030</guid>
      <dc:creator>Toshik</dc:creator>
      <dc:date>2023-08-10T06:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Objects Tree View</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Objects-Tree-View/m-p/395050#M1031</link>
      <description>&lt;P&gt;w&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 11:01:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Objects-Tree-View/m-p/395050#M1031</guid>
      <dc:creator>Toshik</dc:creator>
      <dc:date>2023-08-16T11:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Objects Tree View</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Objects-Tree-View/m-p/395054#M1032</link>
      <description>&lt;P&gt;ifcRelationshipData.containmentTable allows me to get the GUID of all elements, just like in the ifc manager. However, if you look at the ifc object properties in the ifc manager, you can see that there is no Tag field. I think that is why the api functions ACAPI_Element_GetIFCAttributes and ACAPI_Element_GetIFCType return an error BAD_ID for objects that do not have a tag field in ifc attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFC attributes of the wall(have a Tag field):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Toshik_0-1692162969577.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44523iB641E95219CD817D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Toshik_0-1692162969577.png" alt="Toshik_0-1692162969577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFC attributes of the project(does`n t have a tag field):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Toshik_2-1692163041307.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44525i640D8B2E6F98D7DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Toshik_2-1692163041307.png" alt="Toshik_2-1692163041307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Objects of type ifcBuilding , ifcSite, ifcProject in ifc manager have only archicad ifc id - is this a bug? Or is there a way to contact them? As far as I know - archicad ifc id navigation is not possible&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 05:20:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Objects-Tree-View/m-p/395054#M1032</guid>
      <dc:creator>Toshik</dc:creator>
      <dc:date>2023-08-16T05:20:21Z</dc:date>
    </item>
  </channel>
</rss>

