<?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 access light intensity parameter? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229814#M2806</link>
    <description>Ok, now I see, this parameter is somehow linked with GDL object and for general light, it's clamped from 0..200.&lt;BR /&gt;
So the better question, perhaps, is maybe how to access those GDL params??  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_question.gif" style="display : inline;" /&gt;</description>
    <pubDate>Fri, 20 Mar 2020 13:02:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-20T13:02:13Z</dc:date>
    <item>
      <title>How to access light intensity parameter?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229813#M2805</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello everybody!&lt;BR /&gt;&lt;BR /&gt;Seems like I need to update additional parameters that are not part of the lamp structure. &lt;BR /&gt;Let's say I need to update light Intensity. We have &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_LampType::lightColor -&amp;gt; API_RGBColor but I can't find intensity there. &lt;BR /&gt;It's not a light related parameter? If not, how am I supposed to access that particular parameter?&lt;BR /&gt;&lt;IMG src="https://i.imgur.com/i73iHht.png" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" border="0" /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 10:36:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229813#M2805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T10:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to access light intensity parameter?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229814#M2806</link>
      <description>Ok, now I see, this parameter is somehow linked with GDL object and for general light, it's clamped from 0..200.&lt;BR /&gt;
So the better question, perhaps, is maybe how to access those GDL params??  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_question.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 20 Mar 2020 13:02:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229814#M2806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-20T13:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to access light intensity parameter?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229815#M2807</link>
      <description>Object parameters are stored in a separate memo structure. This allows you to avoid loading all the parameter data if you don't need it (for efficiency).&lt;BR /&gt;
&lt;BR /&gt;
You can access this data directly using &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_GetMemo&lt;E&gt;&lt;/E&gt; to fill 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_ElementMemo&lt;E&gt;&lt;/E&gt; structure, but this is fairly complex for parameter access.&lt;BR /&gt;
&lt;BR /&gt;
I think the best approach in your case is to use &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIAny_GetActParametersID&lt;E&gt;&lt;/E&gt;. The documentation for &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIAny_OpenParametersID&lt;E&gt;&lt;/E&gt; has some example code using this method that I think you will find useful.</description>
      <pubDate>Sat, 21 Mar 2020 10:03:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229815#M2807</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2020-03-21T10:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to access light intensity parameter?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229816#M2808</link>
      <description>Thanks, Ralph. I'll take a look!</description>
      <pubDate>Mon, 23 Mar 2020 13:47:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-access-light-intensity-parameter/m-p/229816#M2808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-23T13:47:18Z</dc:date>
    </item>
  </channel>
</rss>

