<?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: General Light Source Problem in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/General-Light-Source-Problem/m-p/234821#M2536</link>
    <description>Add: my obtain way about baseElemId
&lt;PRE&gt;ModelerAPI::BaseElemId baseElemId;
			GS::NonInterruptibleProcessControl processControl;
			elem.GetBaseElemId(&amp;amp;baseElemId,
				processControl,
				ModelerAPI::Element::EdgeColorInBaseElemId::NotIncluded,
				ModelerAPI::Element::PolygonAndFaceTextureMappingInBaseElemId::NotIncluded,
				ModelerAPI::Element::BodyTextureMappingInBaseElemId::NotIncluded,
				ModelerAPI::Element::EliminationInfoInBaseElemId::NotIncluded);
			ULong u = baseElemId.operator GS::HashValue().hashValue;&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Jan 2021 05:09:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-07T05:09:17Z</dc:date>
    <item>
      <title>General Light Source Problem</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/General-Light-Source-Problem/m-p/234820#M2535</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello everyone:&lt;BR /&gt;I find that there are 7 types about General Light Sources in Archicad Library. But by light.type() in ModelerAPI, they only have 2 types: point light and spot light. I want to create a mapping table in my codes so that they have 3 types. So I want to know whether General Light Source has fixed value to represent it. &lt;BR /&gt;For General Light Sources, I try to use baseElemId to represent them. But I find that baseElemId may change when I reload them. baseElemId only is used to determine which lights in Archicad are in the same category. So I want to know whether General Light Sources have corresponding fixed values to represent them.
&lt;PRE&gt;ULong u = baseElemId.operator GS::HashValue().hashValue;&lt;/PRE&gt;
&lt;BR /&gt;Thank you.&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:35:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/General-Light-Source-Problem/m-p/234820#M2535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-14T11:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: General Light Source Problem</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/General-Light-Source-Problem/m-p/234821#M2536</link>
      <description>Add: my obtain way about baseElemId
&lt;PRE&gt;ModelerAPI::BaseElemId baseElemId;
			GS::NonInterruptibleProcessControl processControl;
			elem.GetBaseElemId(&amp;amp;baseElemId,
				processControl,
				ModelerAPI::Element::EdgeColorInBaseElemId::NotIncluded,
				ModelerAPI::Element::PolygonAndFaceTextureMappingInBaseElemId::NotIncluded,
				ModelerAPI::Element::BodyTextureMappingInBaseElemId::NotIncluded,
				ModelerAPI::Element::EliminationInfoInBaseElemId::NotIncluded);
			ULong u = baseElemId.operator GS::HashValue().hashValue;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jan 2021 05:09:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/General-Light-Source-Problem/m-p/234821#M2536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-07T05:09:17Z</dc:date>
    </item>
  </channel>
</rss>

