<?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: TREAD_BMATS is not working? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226738#M1445</link>
    <description>I would try reading this parameter...&lt;BR /&gt;
First I would add it to a label plainly as it is as array/matrix of course&lt;BR /&gt;
&lt;BR /&gt;
then I would place a label and check what is it's content.&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
    <pubDate>Thu, 12 Mar 2020 03:36:27 GMT</pubDate>
    <dc:creator>Piotr Dobrowolski</dc:creator>
    <dc:date>2020-03-12T03:36:27Z</dc:date>
    <item>
      <title>TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226735#M1442</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I've been trying to figure out how to work with this "tread_bmats" for days now.&lt;BR /&gt;
&lt;BR /&gt;
ArchiCad crashes with a label subtype with only "text2 0, 0, tread_bmats[1]" in the 2D script, when tab-selected any tread of AC's stair.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Mar 2020 16:11:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226735#M1442</guid>
      <dc:creator>Palawat</dc:creator>
      <dc:date>2020-03-10T16:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226736#M1443</link>
      <description>It is for the whole stairs...&lt;BR /&gt;
&lt;BR /&gt;
You should rather read "structureBMat" parameter of a selected tread by Request &lt;BR /&gt;

&lt;PRE&gt;n = REQUEST ("ASSOCLP_PARVALUE", expr, name_or_index, type, flags, dim1, dim2, p_values)&lt;/PRE&gt;

ref: &lt;A href="http://gdl.graphisoft.com/reference-guide/request-options#REQUESTOptions_section" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/reference-gui ... ns_section"&gt;http://gdl.graphisoft.com/reference-guide/request-options#REQUESTOptions_section&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
      <pubDate>Wed, 11 Mar 2020 07:53:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226736#M1443</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2020-03-11T07:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226737#M1444</link>
      <description>Thank you, Piotr. I've already implemented the request options since it's the only way I know that can get the info out.&lt;BR /&gt;
&lt;BR /&gt;
Back to TREAD_BMATS, from the ref. guide (please see the attachment)  there's a part with "... of selected (current) tread ..." that throw me off. It kinda suggests that you can apply the label with specific tread (tab-select). Maybe it's just a typo, a copy and paste mistake in the ref. guide.&lt;BR /&gt;
&lt;BR /&gt;
Even with the stair selected (not tread), text2, 0, 0, tread_bmats[1] doesn't crashed but gives off 0 (zero) which I don't think it's correct.&lt;BR /&gt;
&lt;BR /&gt;
It's even more ... I would say "surprised" ... that ArchiCad also crashed when the label is applied to a tread with nothing but the following code in 2D&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if glob_elem_type = 21 then     ! Stairs
     text2, 0, 0, "stairs"
     text2 0, 1, tread_bmats[1]
else
     text2 0, 0, "not stairs"
endif
&lt;/PRE&gt;

With this "if-then", the "tread_bmats" shouldn't even run when a tread is selected because glob_elem_type for tread is 22. But ArchiCad crashes anyway.&lt;BR /&gt;
&lt;BR /&gt;
Maybe I should stay off "trade_bmats" for now.</description>
      <pubDate>Wed, 11 Mar 2020 15:21:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226737#M1444</guid>
      <dc:creator>Palawat</dc:creator>
      <dc:date>2020-03-11T15:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226738#M1445</link>
      <description>I would try reading this parameter...&lt;BR /&gt;
First I would add it to a label plainly as it is as array/matrix of course&lt;BR /&gt;
&lt;BR /&gt;
then I would place a label and check what is it's content.&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
      <pubDate>Thu, 12 Mar 2020 03:36:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226738#M1445</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2020-03-12T03:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226739#M1446</link>
      <description>Sorry for the late reply, Piotr. I've tried and failed miserably.&lt;BR /&gt;
&lt;BR /&gt;
If you or anybody  has successfully used the "TREAD_BMATS" and willing to share the how-to,  it'd be great and really appreciated!</description>
      <pubDate>Sun, 15 Mar 2020 14:21:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226739#M1446</guid>
      <dc:creator>Palawat</dc:creator>
      <dc:date>2020-03-15T14:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226740#M1447</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for sharing the experience and I am sorry about the experience!&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, I'm not an expert in GDL, therefore I cannot tell what is causing the issue. I will have our Technical Support team take a look at this.&lt;BR /&gt;
&lt;BR /&gt;
You mentioned that ARCHICAD crashes when labeling any tread using this. I'm wondering if you can forward to us one of the Bug ID generated by the Bug Reporter?&lt;BR /&gt;
&lt;A href="https://helpcenter.graphisoft.com/knowledgebase/64553/" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="https://helpcenter.graphisoft.com/knowledgebase/64553/" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;https://helpcenter.graphisoft.com/knowledgebase/64553/&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;https://helpcenter.graphisoft.com/knowledgebase/64553/&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much for your help!&lt;BR /&gt;
&lt;BR /&gt;
I wish you all a great day, and take care!&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Minh</description>
      <pubDate>Mon, 16 Mar 2020 21:54:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226740#M1447</guid>
      <dc:creator>Minh Nguyen</dc:creator>
      <dc:date>2020-03-16T21:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226741#M1448</link>
      <description>Thank you, mnguyen. I was told that local dealer is notified.&lt;BR /&gt;
&lt;BR /&gt;
I'd be off work for few weeks due to the current situation. Stay safe, everyone.</description>
      <pubDate>Wed, 18 Mar 2020 04:04:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226741#M1448</guid>
      <dc:creator>Palawat</dc:creator>
      <dc:date>2020-03-18T04:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: TREAD_BMATS is not working?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226742#M1449</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for the feedback. Let me know if the local support manages to solve the case with you!&lt;BR /&gt;
&lt;BR /&gt;
Have a nice day, and stay safe!&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Minh</description>
      <pubDate>Thu, 19 Mar 2020 14:02:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TREAD-BMATS-is-not-working/m-p/226742#M1449</guid>
      <dc:creator>Minh Nguyen</dc:creator>
      <dc:date>2020-03-19T14:02:01Z</dc:date>
    </item>
  </channel>
</rss>

