<?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 Substitute for name_of_fill request in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Substitute-for-name-of-fill-request/m-p/256639#M6170</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi dear Forumgoers,&lt;BR /&gt;
&lt;BR /&gt;
I'm in process of updating our company's library to archicad 20. Our "old" door objects had parameters for the finish layers on the wall on both sides of the door, obtained through a request (name_of_fill) line from the wall composite in the door parameter script. These parameters are then used for scheduling. &lt;BR /&gt;
&lt;BR /&gt;
Since the name_of_fill request has been deprecated in AC20 this part of the object doesn't work anymore. &lt;BR /&gt;
&lt;BR /&gt;
For simple walls I have the following code which does the job:&lt;BR /&gt;
&lt;BR /&gt;
	IF WALL_SKINS_NUMBER &amp;lt;1  THEN&lt;BR /&gt;
&lt;BR /&gt;
		parameters door_surf_mat_a = WALL_BMAT_NAME &lt;BR /&gt;
                parameters door_surf_mat_b = door_surf_mat_a&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
but for composites I am stumped. &lt;BR /&gt;
I have tried &lt;BR /&gt;
&lt;BR /&gt;
WALL_SKINS_PARAMS[1]&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt; for i from 1 to WALL_SKINS_NUMBERS; &lt;BR /&gt;
&lt;BR /&gt;
which returns the fill´s  index number, but I don´t know how to request the name of the fill from its index number. &lt;BR /&gt;
&lt;BR /&gt;
I have tried WALL_BMAT_NAMES as well but apparently it only works in the 2D script. Which would probably be enough if I were programming a label but as said above this is for scheduling purposes.  &lt;BR /&gt;
&lt;BR /&gt;
Can anybody suggest an alternative? I'm looking for a way to return the value of either the fill or the building material of the 1st and the last layer of the composite material the door is set in. &lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance!&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 08:02:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-24T08:02:20Z</dc:date>
    <item>
      <title>Substitute for name_of_fill request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Substitute-for-name-of-fill-request/m-p/256639#M6170</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi dear Forumgoers,&lt;BR /&gt;
&lt;BR /&gt;
I'm in process of updating our company's library to archicad 20. Our "old" door objects had parameters for the finish layers on the wall on both sides of the door, obtained through a request (name_of_fill) line from the wall composite in the door parameter script. These parameters are then used for scheduling. &lt;BR /&gt;
&lt;BR /&gt;
Since the name_of_fill request has been deprecated in AC20 this part of the object doesn't work anymore. &lt;BR /&gt;
&lt;BR /&gt;
For simple walls I have the following code which does the job:&lt;BR /&gt;
&lt;BR /&gt;
	IF WALL_SKINS_NUMBER &amp;lt;1  THEN&lt;BR /&gt;
&lt;BR /&gt;
		parameters door_surf_mat_a = WALL_BMAT_NAME &lt;BR /&gt;
                parameters door_surf_mat_b = door_surf_mat_a&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
but for composites I am stumped. &lt;BR /&gt;
I have tried &lt;BR /&gt;
&lt;BR /&gt;
WALL_SKINS_PARAMS[1]&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt; for i from 1 to WALL_SKINS_NUMBERS; &lt;BR /&gt;
&lt;BR /&gt;
which returns the fill´s  index number, but I don´t know how to request the name of the fill from its index number. &lt;BR /&gt;
&lt;BR /&gt;
I have tried WALL_BMAT_NAMES as well but apparently it only works in the 2D script. Which would probably be enough if I were programming a label but as said above this is for scheduling purposes.  &lt;BR /&gt;
&lt;BR /&gt;
Can anybody suggest an alternative? I'm looking for a way to return the value of either the fill or the building material of the 1st and the last layer of the composite material the door is set in. &lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance!&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 08:02:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Substitute-for-name-of-fill-request/m-p/256639#M6170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T08:02:20Z</dc:date>
    </item>
  </channel>
</rss>

