GDL
About building parametric objects with GDL.
SOLVED!

How to get value of sea level in GDL?

LeeJaeYoung
Virtuoso

How to get value of sea level in GDL?
1. Builtin.General_ElevationToSeaLevel (introduced in ARCHICAD 25) Should I use this?
(How should I use it?)
2. SEALEVEL - GLOB_HSTORY_ELEV = SLevel
I need to find the sealevel, but I can't.

AC27 on window 11
12 REPLIES 12
 
n = REQUEST ("Property_Value_Of_Parent", "Builtin.General_ElevationToSeaLevel", type, dim1, dim2, propertyValue)
text2 0,0, propertyValue

 

Property values can be read only in label / marker objects.

 

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest

LeeJaeYoung_1-1702083232944.png

 

LeeJaeYoung_0-1702083137418.png

 

"REFERENCE_LEVEL_DATA" doesn't work in a label.

Is there a reason why you say it can't be done?
Are there cases where it doesn't work?

AC27 on window 11
Peter Baksa
Graphisoft
Graphisoft

Sorry, my mistake, I thought they are relative to the object's height, but no, they are just the pure settings.

 

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest