BIM Coordinator Program (INT) April 22, 2024

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

About building parametric objects with GDL.

Labeling a Hard-coded Property

I would like to have a simple label which calls out a specific hard-coded property. Not a general properties label. For example, we have a property under General called Remarks. Seems like this should be the code, but it does not work:
DIM _propertyValues[][]
rrr = REQUEST("Property_Value_Of_Parent", "Remarks", type, dim1, dim2, _propertyValues)
_str = 'blank' ! default
IF rrr > 0 THEN
	_str = _propertyValues[1][1]

TEXT2 0, 0, _str
This gives the default text, showing the request did not work.

What I am I missing?
James Murray

Archicad 25 • Rill Architects • macOS •
Podolsky wrote:

Endif not needed before next i

True. As long you like oneliner IFs.
I don't.

But that was not the missing piece anyway 🙂
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!