<?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 Sun Guid? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242948#M3838</link>
    <description>My intention was to get the Sun for the Corona render element. I've got it covered now, thanks anyway!</description>
    <pubDate>Fri, 26 Jul 2019 10:37:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-26T10:37:49Z</dc:date>
    <item>
      <title>How to get Sun Guid?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242944#M3834</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi. I'm trying to figure out how do I get the guid of the sun ( if this is even possible ? ). All that I've found is API_SunInfo which is not helpful for me, the 2nd approach is returning empty GS::Array.&lt;BR /&gt;Thanks for your assistance.&lt;BR /&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;API_SunInfo sunInfo = {};
GSErrCode err2 = ACAPI_Environment( APIEnv_GetSunSetsID, &amp;amp;sunInfo, nullptr, nullptr );
&lt;/PRE&gt;
My another try using elem list
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;GS::Array&amp;lt;API_Guid&amp;gt; elemList;
GSErrCode err = ACAPI_Element_GetElemList( API_SkylightID, &amp;amp;elemList, APIFilt_None, APIVarId_Skylight, APINULLGuid );
&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Oct 2022 11:22:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242944#M3834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-05T11:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Sun Guid?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242945#M3835</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
The sun is _not_ an ARCHICAD element, so the first option is the only way to go.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Thu, 25 Jul 2019 12:47:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242945#M3835</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-07-25T12:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Sun Guid?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242946#M3836</link>
      <description>Yes, but it returns just the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_SunInfo&lt;E&gt;&lt;/E&gt;. Also, I can get &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;SunSettings &lt;E&gt;&lt;/E&gt;from the Modeler. But how can I obtain the Sun pointer/reference??</description>
      <pubDate>Fri, 26 Jul 2019 06:08:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242946#M3836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-26T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Sun Guid?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242947#M3837</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
There's no sun object in ARCHICAD, it is a built-in entity. What kind of information would you like to obtain from that?&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Fri, 26 Jul 2019 09:06:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242947#M3837</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-07-26T09:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Sun Guid?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242948#M3838</link>
      <description>My intention was to get the Sun for the Corona render element. I've got it covered now, thanks anyway!</description>
      <pubDate>Fri, 26 Jul 2019 10:37:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-Sun-Guid/m-p/242948#M3838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-26T10:37:49Z</dc:date>
    </item>
  </channel>
</rss>

