<?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: Retrieve all object inside the zone in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Retrieve-all-object-inside-the-zone/m-p/272657#M5125</link>
    <description>&lt;BLOCKQUOTE&gt;easry wrote:&lt;BR /&gt;Is there any way to retrieve all objects inside the zone? thanks.&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
Hi, &lt;BR /&gt;
 &lt;BR /&gt;
There's a function called ACAPI_Element_GetRelations(), pass the zone's GUID in the first parameter, API_ObjectID in the second, and a pointer to an API_RoomRelation structure in the third -- this struct will be filled in with the containment information. &lt;BR /&gt;
 &lt;BR /&gt;
Cheers, Akos</description>
    <pubDate>Sat, 08 Apr 2017 07:27:51 GMT</pubDate>
    <dc:creator>Akos Somorjai</dc:creator>
    <dc:date>2017-04-08T07:27:51Z</dc:date>
    <item>
      <title>Retrieve all object inside the zone</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Retrieve-all-object-inside-the-zone/m-p/272655#M5123</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Is there any way to retrieve all objects inside the zone? thanks.&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Jul 2023 18:54:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Retrieve-all-object-inside-the-zone/m-p/272655#M5123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-12T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all object inside the zone</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Retrieve-all-object-inside-the-zone/m-p/272656#M5124</link>
      <description>What I would do is use the coordinates of the zone and plug it in on with ACAPI_Selection_SetMarquee. Then call ACAPI_Selection_Get to get all elements then filter them by type.</description>
      <pubDate>Thu, 30 Mar 2017 06:16:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Retrieve-all-object-inside-the-zone/m-p/272656#M5124</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2017-03-30T06:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all object inside the zone</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Retrieve-all-object-inside-the-zone/m-p/272657#M5125</link>
      <description>&lt;BLOCKQUOTE&gt;easry wrote:&lt;BR /&gt;Is there any way to retrieve all objects inside the zone? thanks.&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
Hi, &lt;BR /&gt;
 &lt;BR /&gt;
There's a function called ACAPI_Element_GetRelations(), pass the zone's GUID in the first parameter, API_ObjectID in the second, and a pointer to an API_RoomRelation structure in the third -- this struct will be filled in with the containment information. &lt;BR /&gt;
 &lt;BR /&gt;
Cheers, Akos</description>
      <pubDate>Sat, 08 Apr 2017 07:27:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Retrieve-all-object-inside-the-zone/m-p/272657#M5125</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2017-04-08T07:27:51Z</dc:date>
    </item>
  </channel>
</rss>

