TREAD_BMATS is not working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-03-11 08:53 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-03-11 04:21 PM
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.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-03-12 04:36 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-03-15 03:21 PM
If you or anybody has successfully used the "TREAD_BMATS" and willing to share the how-to, it'd be great and really appreciated!
https://www.indigofigs.com
https://www.facebook.com/indigofigs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-03-16 10:54 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-03-18 05:04 AM
I'd be off work for few weeks due to the current situation. Stay safe, everyone.
https://www.indigofigs.com
https://www.facebook.com/indigofigs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-03-19 03:02 PM
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