<?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: Custom materials usage and import in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574554#M8837</link>
    <description>&lt;P&gt;No out of the box solution, but you may check these example add-ons in the Development Kit:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the &lt;STRONG&gt;LibPart_Test&lt;/STRONG&gt; example add-on there is an example for retrieving the physical location of the embedded library. You just need to copy your texture file into this location. A library reload may be needed.&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;Attribute_Test&lt;/STRONG&gt; example you can find codes to create attributes. There is no example for creating surfaces, but it's very similar to other attributes.&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;Element_Test&lt;/STRONG&gt; example there are a lot of codes as an example for modifying elements.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 08 Nov 2023 06:33:19 GMT</pubDate>
    <dc:creator>Viktor Kovacs</dc:creator>
    <dc:date>2023-11-08T06:33:19Z</dc:date>
    <item>
      <title>Custom materials usage and import</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574403#M8828</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we import a custom material /texture for walls and use the custom material through Add-On code? Is it possible to simply provide the URL of the texture?&lt;/P&gt;&lt;P&gt;Update -&amp;gt; Have added a screen shot of the custom image import for materials that I mentioned above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kency_0-1699357394889.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48560i9F63E86AEBC036C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kency_0-1699357394889.png" alt="kency_0-1699357394889.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kency_1-1699357419678.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48561i6FCDD2CE2CFF14BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kency_1-1699357419678.png" alt="kency_1-1699357419678.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Kency&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 11:20:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574403#M8828</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-09-17T11:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom materials usage and import</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574504#M8833</link>
      <description>&lt;P&gt;You can do it with the API, but you need to implement a couple of steps to achieve the final result:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Move the texture file to the embedded library (url reference doesn't work).&lt;/LI&gt;
&lt;LI&gt;Create a Surface attribute that references the texture file from the embedded library.&lt;/LI&gt;
&lt;LI&gt;Apply the created Surface attribute on the corresponding parameter of the wall.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 07 Nov 2023 19:10:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574504#M8833</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2023-11-07T19:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom materials usage and import</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574551#M8835</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12765"&gt;@Viktor Kovacs&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;1. Is there any folder within the downloaded ArchiCAD application? Or the only way to import is through the ArchiCAD UI?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 and 3. Any example that you know of is available for the same in the DevKit?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 04:41:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574551#M8835</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2023-11-08T04:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom materials usage and import</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574554#M8837</link>
      <description>&lt;P&gt;No out of the box solution, but you may check these example add-ons in the Development Kit:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the &lt;STRONG&gt;LibPart_Test&lt;/STRONG&gt; example add-on there is an example for retrieving the physical location of the embedded library. You just need to copy your texture file into this location. A library reload may be needed.&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;Attribute_Test&lt;/STRONG&gt; example you can find codes to create attributes. There is no example for creating surfaces, but it's very similar to other attributes.&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG&gt;Element_Test&lt;/STRONG&gt; example there are a lot of codes as an example for modifying elements.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 08 Nov 2023 06:33:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-materials-usage-and-import/m-p/574554#M8837</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2023-11-08T06:33:19Z</dc:date>
    </item>
  </channel>
</rss>

