TREAD_BMATS is not working?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-10 05:11 PM
2020-03-10
05:11 PM
I've been trying to figure out how to work with this "tread_bmats" for days now.
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.
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
https://www.indigofigs.com
https://www.facebook.com/indigofigs
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-11 08:53 AM
2020-03-11
08:53 AM
It is for the whole stairs...
You should rather read "structureBMat" parameter of a selected tread by Request
http://gdl.graphisoft.com/reference-guide/request-options#REQUESTOptions_section
Piotr
You should rather read "structureBMat" parameter of a selected tread by Request
n = REQUEST ("ASSOCLP_PARVALUE", expr, name_or_index, type, flags, dim1, dim2, p_values)ref:
Piotr
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-11 04:21 PM
2020-03-11
04:21 PM
Thank you, Piotr. I've already implemented the request options since it's the only way I know that can get the info out.
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.
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.
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
Maybe I should stay off "trade_bmats" for now.
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.
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.
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
if glob_elem_type = 21 then ! Stairs text2, 0, 0, "stairs" text2 0, 1, tread_bmats[1] else text2 0, 0, "not stairs" endifWith 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.
Maybe I should stay off "trade_bmats" for now.
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
https://www.indigofigs.com
https://www.facebook.com/indigofigs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-12 04:36 AM
2020-03-12
04:36 AM
I would try reading this parameter...
First I would add it to a label plainly as it is as array/matrix of course
then I would place a label and check what is it's content.
Piotr
First I would add it to a label plainly as it is as array/matrix of course
then I would place a label and check what is it's content.
Piotr
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-15 03:21 PM
2020-03-15
03:21 PM
Sorry for the late reply, Piotr. I've tried and failed miserably.
If you or anybody has successfully used the "TREAD_BMATS" and willing to share the how-to, it'd be great and really appreciated!
If you or anybody has successfully used the "TREAD_BMATS" and willing to share the how-to, it'd be great and really appreciated!
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
https://www.indigofigs.com
https://www.facebook.com/indigofigs

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-16 10:54 PM
2020-03-16
10:54 PM
Hi,
Thank you for sharing the experience and I am sorry about the experience!
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.
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?
https://helpcenter.graphisoft.com/knowledgebase/64553/
Thank you very much for your help!
I wish you all a great day, and take care!
Best regards,
Minh
Thank you for sharing the experience and I am sorry about the experience!
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.
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?
Thank you very much for your help!
I wish you all a great day, and take care!
Best regards,
Minh
Minh Nguyen
Technical Support Engineer
GRAPHISOFT
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-18 05:04 AM
2020-03-18
05:04 AM
Thank you, mnguyen. I was told that local dealer is notified.
I'd be off work for few weeks due to the current situation. Stay safe, everyone.
I'd be off work for few weeks due to the current situation. Stay safe, everyone.
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
https://www.indigofigs.com
https://www.facebook.com/indigofigs

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-19 03:02 PM
2020-03-19
03:02 PM
Hi,
Thank you for the feedback. Let me know if the local support manages to solve the case with you!
Have a nice day, and stay safe!
Best regards,
Minh
Thank you for the feedback. Let me know if the local support manages to solve the case with you!
Have a nice day, and stay safe!
Best regards,
Minh
Minh Nguyen
Technical Support Engineer
GRAPHISOFT