<?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: Building material texture GDL in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Building-material-texture-GDL/m-p/651809#M7444</link>
    <description>&lt;P&gt;Never mind,&amp;nbsp;&lt;SPAN&gt;_surface&lt;/SPAN&gt;&lt;SPAN&gt;_index is what I need to use.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 07:53:01 GMT</pubDate>
    <dc:creator>Richard Allili</dc:creator>
    <dc:date>2025-02-14T07:53:01Z</dc:date>
    <item>
      <title>Building material texture GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Building-material-texture-GDL/m-p/651772#M7443</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would be very pleased if someone could help me out.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;I&lt;/SPAN&gt;&lt;SPAN&gt;'m trying to take out the texture of a building material and use it for one surface for a CSLAB&lt;/SPAN&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;SPAN&gt;. In 2D I managed to take the fill and apply to it&lt;/SPAN&gt;&lt;SPAN&gt;, but for 3D I cannot do this&lt;/SPAN&gt;&lt;SPAN&gt;. I found out that the &lt;/SPAN&gt;&lt;SPAN&gt;_texture I got is a string&lt;/SPAN&gt;&lt;SPAN&gt;, but it doesn&lt;/SPAN&gt;&lt;SPAN&gt;'t applies to it&lt;/SPAN&gt;&lt;SPAN&gt;. I tried to get it&lt;/SPAN&gt;&lt;SPAN&gt;'s index with IND&lt;/SPAN&gt;&lt;SPAN&gt;(TEXTURE&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;_texture&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;, but the error msg appears that AC cannot find the texture&lt;/SPAN&gt;&lt;SPAN&gt;, which is odd&lt;/SPAN&gt;&lt;SPAN&gt;, cause the REQUEST founds it&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt; Here is the code&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;2D&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_fill = ""
_surface_index = ""
n = REQUEST{2} ("Building_Material_info", my_custom_material, "gs_bmat_surface", _surface_index)
n = REQUEST{2} ("Material_info", _surface_index, "gs_mat_fill_ind", _fill)
fill _fill&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;3D&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_texture = ""
_surface_index = ""
n = REQUEST{2} ("Building_Material_info", my_custom_material, "gs_bmat_surface", _surface_index)
n = REQUEST{2} ("Material_info", _surface_index, "gs_mat_texture", _texture)
! IND(TEXTURE, texture) ! Not working, AC cannot find this

CSLAB _texture, 0, 0, points, -0.2, get(nsp)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 18 Feb 2025 02:16:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Building-material-texture-GDL/m-p/651772#M7443</guid>
      <dc:creator>Richard Allili</dc:creator>
      <dc:date>2025-02-18T02:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Building material texture GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Building-material-texture-GDL/m-p/651809#M7444</link>
      <description>&lt;P&gt;Never mind,&amp;nbsp;&lt;SPAN&gt;_surface&lt;/SPAN&gt;&lt;SPAN&gt;_index is what I need to use.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 07:53:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Building-material-texture-GDL/m-p/651809#M7444</guid>
      <dc:creator>Richard Allili</dc:creator>
      <dc:date>2025-02-14T07:53:01Z</dc:date>
    </item>
  </channel>
</rss>

