License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
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 | Graphisoft Insider Panelist | 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»