<?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: How to get list of all elements inside hotlink module? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-list-of-all-elements-inside-hotlink-module/m-p/397665#M8561</link>
    <description>&lt;P&gt;First get the hotlink instances (hotlinks placed on the floor plan) using&amp;nbsp;&lt;STRONG&gt;ACAPI_Element_Get&lt;/STRONG&gt; (type is&amp;nbsp;&lt;EM&gt;API_HotlinkID&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;If you know the Hotlink Node then you can use &lt;STRONG&gt;APIDb_GetHotlinkInstancesID &lt;/STRONG&gt;instead to get the hotlink instances, it gives an array so just compare the floorInd to the specific story.&lt;/P&gt;&lt;P&gt;Take note of its element guid on the element header.&lt;/P&gt;&lt;P data-unlink="true"&gt;Then get the elements you want using&amp;nbsp;&lt;STRONG&gt;ACAPI_Element_Get / &lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;ACAPI_Element_GetElemList &lt;/FONT&gt;&lt;/STRONG&gt;and compare the elements hotlinkGuid to the instances element guid. If hotlinkGuid is APINULLGuid then it means the element is not inside a hotlink module.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;EM&gt;if (elem.header.hotlinkGuid == hotlink_instance.header.guid)&lt;/EM&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 06:32:59 GMT</pubDate>
    <dc:creator>Erenford</dc:creator>
    <dc:date>2023-09-08T06:32:59Z</dc:date>
    <item>
      <title>How to get list of all elements inside hotlink module?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-list-of-all-elements-inside-hotlink-module/m-p/397603#M8547</link>
      <description>&lt;P&gt;Is there anyone could suggest how to get list of all elements inside hotlink module with any API function?.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:50:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-list-of-all-elements-inside-hotlink-module/m-p/397603#M8547</guid>
      <dc:creator>Newbie</dc:creator>
      <dc:date>2024-09-17T10:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of all elements inside hotlink module?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-list-of-all-elements-inside-hotlink-module/m-p/397665#M8561</link>
      <description>&lt;P&gt;First get the hotlink instances (hotlinks placed on the floor plan) using&amp;nbsp;&lt;STRONG&gt;ACAPI_Element_Get&lt;/STRONG&gt; (type is&amp;nbsp;&lt;EM&gt;API_HotlinkID&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;If you know the Hotlink Node then you can use &lt;STRONG&gt;APIDb_GetHotlinkInstancesID &lt;/STRONG&gt;instead to get the hotlink instances, it gives an array so just compare the floorInd to the specific story.&lt;/P&gt;&lt;P&gt;Take note of its element guid on the element header.&lt;/P&gt;&lt;P data-unlink="true"&gt;Then get the elements you want using&amp;nbsp;&lt;STRONG&gt;ACAPI_Element_Get / &lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;ACAPI_Element_GetElemList &lt;/FONT&gt;&lt;/STRONG&gt;and compare the elements hotlinkGuid to the instances element guid. If hotlinkGuid is APINULLGuid then it means the element is not inside a hotlink module.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;EM&gt;if (elem.header.hotlinkGuid == hotlink_instance.header.guid)&lt;/EM&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 06:32:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-list-of-all-elements-inside-hotlink-module/m-p/397665#M8561</guid>
      <dc:creator>Erenford</dc:creator>
      <dc:date>2023-09-08T06:32:59Z</dc:date>
    </item>
  </channel>
</rss>

