<?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 Set Working Unit Preferences using API in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Set-Working-Unit-Preferences-using-API/m-p/373208#M732</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently working on an Add-on using the C++ API and I think I found a missing API function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can read the preferences for the working units (length unit etc.) using the&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;APIEnv_GetPreferencesID&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;function, just like in the corresponding example in the documentation: &lt;A href="https://archicadapi.graphisoft.com/documentation/apienv_getpreferencesid" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/apienv_getpreferencesid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Writing my modifications back, however, does not work, as the corresponding API function&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;APIEnv_SetPreferencesID&lt;/LI-CODE&gt;&lt;P&gt;does not exist. (Other people seem to have been having similar issues: &lt;A href="https://community.graphisoft.com/t5/Developer-forum/A-few-things-api-wish/m-p/17211" target="_blank"&gt;https://community.graphisoft.com/t5/Developer-forum/A-few-things-api-wish/m-p/17211&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I just miss this function, or is there another way to change those preferences?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your time and help!&lt;BR /&gt;Best&lt;BR /&gt;Paul&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 21:31:51 GMT</pubDate>
    <dc:creator>PaulDebus</dc:creator>
    <dc:date>2023-03-14T21:31:51Z</dc:date>
    <item>
      <title>Set Working Unit Preferences using API</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Set-Working-Unit-Preferences-using-API/m-p/373208#M732</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently working on an Add-on using the C++ API and I think I found a missing API function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can read the preferences for the working units (length unit etc.) using the&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;APIEnv_GetPreferencesID&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;function, just like in the corresponding example in the documentation: &lt;A href="https://archicadapi.graphisoft.com/documentation/apienv_getpreferencesid" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/apienv_getpreferencesid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Writing my modifications back, however, does not work, as the corresponding API function&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;APIEnv_SetPreferencesID&lt;/LI-CODE&gt;&lt;P&gt;does not exist. (Other people seem to have been having similar issues: &lt;A href="https://community.graphisoft.com/t5/Developer-forum/A-few-things-api-wish/m-p/17211" target="_blank"&gt;https://community.graphisoft.com/t5/Developer-forum/A-few-things-api-wish/m-p/17211&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I just miss this function, or is there another way to change those preferences?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your time and help!&lt;BR /&gt;Best&lt;BR /&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 21:31:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Set-Working-Unit-Preferences-using-API/m-p/373208#M732</guid>
      <dc:creator>PaulDebus</dc:creator>
      <dc:date>2023-03-14T21:31:51Z</dc:date>
    </item>
  </channel>
</rss>

