BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
1 REPLY 1
runxel
Legend

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 | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»
Learn and get certified!