<?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: Acapi_get_elemlist sometimes return 0 elements?? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246175#M2915</link>
    <description>Try making the floor plan database active with &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIDb_ChangeCurrentDatabaseID&lt;E&gt;&lt;/E&gt; first, and then try &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_GetElemList&lt;E&gt;&lt;/E&gt;.</description>
    <pubDate>Tue, 19 May 2020 07:39:07 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2020-05-19T07:39:07Z</dc:date>
    <item>
      <title>Acapi_get_elemlist sometimes return 0 elements??</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246172#M2912</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello&lt;BR /&gt;&lt;BR /&gt;I have a really weird bug.&lt;BR /&gt;I am using acapi_element_getelemlist. I am trying to get all the elements that has 3D representation and that are on visible layers.&lt;BR /&gt;So the command is:&lt;BR /&gt;ACAPI_Element_GetElemList(API_ZombieElemID, APIFilt_In3D | API_Filt_OnVisLayer);&lt;BR /&gt;&lt;BR /&gt;Sometimes my elemlist gets 0 items! When of course my scene is full of elements!&lt;BR /&gt;I didn’t yet realize why this is happening but I think it happens when calling this command after the user created a new layout, or calling this command after the file was opened (before doing anything to the scene)&lt;BR /&gt;&lt;BR /&gt;This is really weird.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 09:52:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246172#M2912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T09:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Acapi_get_elemlist sometimes return 0 elements??</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246173#M2913</link>
      <description>What kind of view is active when you call &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_GetElemList&lt;E&gt;&lt;/E&gt;, e.g. floor plan, section, 3D?</description>
      <pubDate>Sun, 17 May 2020 11:06:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246173#M2913</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2020-05-17T11:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Acapi_get_elemlist sometimes return 0 elements??</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246174#M2914</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
What kind of view is active when you call &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_GetElemList&lt;E&gt;&lt;/E&gt;, e.g. floor plan, section, 3D?
&lt;/BLOCKQUOTE&gt;

Hmm, on most tests I was on layout view.</description>
      <pubDate>Tue, 19 May 2020 06:35:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246174#M2914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T06:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Acapi_get_elemlist sometimes return 0 elements??</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246175#M2915</link>
      <description>Try making the floor plan database active with &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIDb_ChangeCurrentDatabaseID&lt;E&gt;&lt;/E&gt; first, and then try &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_GetElemList&lt;E&gt;&lt;/E&gt;.</description>
      <pubDate>Tue, 19 May 2020 07:39:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246175#M2915</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2020-05-19T07:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Acapi_get_elemlist sometimes return 0 elements??</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246176#M2916</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
Try making the floor plan database active with &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIDb_ChangeCurrentDatabaseID&lt;E&gt;&lt;/E&gt; first, and then try &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_GetElemList&lt;E&gt;&lt;/E&gt;.
&lt;/BLOCKQUOTE&gt;
Thanks. It’s weird that this function works just in this type of active dB..&lt;BR /&gt;
At least that solves it &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 26 May 2020 10:51:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Acapi-get-elemlist-sometimes-return-0-elements/m-p/246176#M2916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-26T10:51:28Z</dc:date>
    </item>
  </channel>
</rss>

