<?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 set a material on an object. in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-material-on-an-object/m-p/357711#M1165</link>
    <description>&lt;P&gt;Hi Itono,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes you can read and set the building material of elements with the API. The API DevKit includes and example directory. Check the example "Element_Test" for changing/reading/creation of elements. Specifically in "Element_Test\Src\Element_Modify_ChangeParameters.cpp" there are a few lines where the buildingMaterial of a hatch is changed.&lt;BR /&gt;&lt;BR /&gt;For walls it's very similar to that example. For details check the documentation of the wall element type here: &lt;A href="https://archicadapi.Graphisoft.com/documentation/api_walltype" target="_blank"&gt;https://archicadapi.Graphisoft.com/documentation/api_walltype&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;For doors/windows it's a bit more difficult, since you need to change the corresponding GDL parameters. For an intro to that, check out the example "LibPart_Test".&lt;BR /&gt;&lt;BR /&gt;Hope that gives you a first starting point to look into!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
    <pubDate>Sat, 01 Oct 2022 08:48:36 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2022-10-01T08:48:36Z</dc:date>
    <item>
      <title>How to set a material on an object.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-material-on-an-object/m-p/357445#M1164</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a c++ beginner investigating Archicad APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use Archicad's API to reflect materials on objects (walls and doors) displayed in the project?&lt;/P&gt;&lt;P&gt;If possible, are functions or sample code available in the development kit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;itono,&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 07:25:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-material-on-an-object/m-p/357445#M1164</guid>
      <dc:creator>itono</dc:creator>
      <dc:date>2022-09-29T07:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a material on an object.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-material-on-an-object/m-p/357711#M1165</link>
      <description>&lt;P&gt;Hi Itono,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes you can read and set the building material of elements with the API. The API DevKit includes and example directory. Check the example "Element_Test" for changing/reading/creation of elements. Specifically in "Element_Test\Src\Element_Modify_ChangeParameters.cpp" there are a few lines where the buildingMaterial of a hatch is changed.&lt;BR /&gt;&lt;BR /&gt;For walls it's very similar to that example. For details check the documentation of the wall element type here: &lt;A href="https://archicadapi.Graphisoft.com/documentation/api_walltype" target="_blank"&gt;https://archicadapi.Graphisoft.com/documentation/api_walltype&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;For doors/windows it's a bit more difficult, since you need to change the corresponding GDL parameters. For an intro to that, check out the example "LibPart_Test".&lt;BR /&gt;&lt;BR /&gt;Hope that gives you a first starting point to look into!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 08:48:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-a-material-on-an-object/m-p/357711#M1165</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2022-10-01T08:48:36Z</dc:date>
    </item>
  </channel>
</rss>

