cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

GDL
About building parametric objects with GDL.

GDL: Stair Dimensions

Lingwisyer
Guru

How do you go about pulling the Riser Height and the Tread Depth of a stair?

 

I had thought that STAIR_STRUCTURE_GEOMETRY[1][COORD_Z] was giving me the height, but this only seems to be the case when the Flight Start Support Connection is set to Horizontal... COORD_X seems to give me half the width all the time, not that that is relevant to me. Have no clue what COORD_Y is refering to...

 

All of the tread and riser variables appear to require a selection in order to return a non-zero answer...

 

_cutPolyVertAttr[iVert][DRAWPOLY_COORD_X] & _cutPolyVertAttr[iVert][DRAWPOLY_COORD_Y] look light they could be somehow used since they are used to cut the structure but I have not been able to figure out how they work either...

 

 

Ling.

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
1 REPLY 1
runxel
Hero

There is the global RISER_HEIGHT.

The depth of a tread is not uniform, that's why its stored in STAIR_TREAD_GEOMETRY[n][3].
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text

My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»