<?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: Proper way of adding penbackground color to attribute in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290510#M5243</link>
    <description>And another question - is it possible to detect if the archicad version is international or german in the add-on?</description>
    <pubDate>Wed, 14 Jun 2017 13:21:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-14T13:21:08Z</dc:date>
    <item>
      <title>[SLVD] Proper way of adding penbackground color to attribute</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290509#M5242</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello again,&lt;BR /&gt;&lt;BR /&gt;The add-on which I am developing needs to work on international and german version of Archicad 20. The add-on creates an buildingmaterial attribute, and then sets cutFillBackgroundPen, cutFillPen through indexes and in the international version of Archicad everything seems fine, but when I create an attribute in the german version those indexes correspond to different colors, because in the german version the attribute is attarched to different penTable.&lt;BR /&gt;&lt;BR /&gt;So whats the sollution here? Should I create a new penTable with my colours, and somehow assign it to the attribute?&lt;BR /&gt;&lt;BR /&gt;Looking forward to your suggestions ! &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt;&lt;BR /&gt;Julian&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:05:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290509#M5242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T13:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way of adding penbackground color to attribute</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290510#M5243</link>
      <description>And another question - is it possible to detect if the archicad version is international or german in the add-on?</description>
      <pubDate>Wed, 14 Jun 2017 13:21:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290510#M5243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-14T13:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way of adding penbackground color to attribute</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290511#M5244</link>
      <description>&lt;BLOCKQUOTE&gt;jcimentarov wrote:&lt;BR /&gt;And another question - is it possible to detect if the archicad version is international or german in the add-on?&lt;/BLOCKQUOTE&gt;
You can determine ARCHICAD's language version from 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;language&lt;E&gt;&lt;/E&gt; member of 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_ServerApplicationInfo&lt;E&gt;&lt;/E&gt; struct, populated by a call to &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_Environment&lt;E&gt;&lt;/E&gt; with 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;APIEnv_ApplicationID&lt;E&gt;&lt;/E&gt; ID.</description>
      <pubDate>Wed, 14 Jun 2017 19:32:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290511#M5244</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2017-06-14T19:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way of adding penbackground color to attribute</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290512#M5245</link>
      <description>Thanks for your help, Ralph! it worked!</description>
      <pubDate>Thu, 15 Jun 2017 09:16:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SLVD-Proper-way-of-adding-penbackground-color-to-attribute/m-p/290512#M5245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-15T09:16:08Z</dc:date>
    </item>
  </channel>
</rss>

