Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

GDL
About building parametric objects with GDL.
SOLVED!

Sea Level in Elevation and Section

GDL Enthusiast
Advocate

Hi,

 

I am hoping to reference the Sea Level height of the project in the elevation and section views. I have tried and searched without success. The best I have is 

ObjectHt = int(SYMB_POS_Y*1000)

 

This returns the height of the object in the Y-axis relative to project zero. Is there any way to find the Sea level, 1st or 2nd Reference levels in elevation and section views?

 

Many thanks, Matt

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Lingwisyer
Guru

Could you REQUEST ( "REFERENCE_LEVEL_DATA", "",  name1, elev1, name2, elev2, name3, elev3, name4, elev4 )? 4 should be sea level.

 

Do note that the value is in meters and is the distance below Project Zero to Sea Level hence would typically be negative. So for your sea_level_height, you would minus elev4 * 1000

 

 

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

View solution in original post

2 REPLIES 2
Solution
Lingwisyer
Guru

Could you REQUEST ( "REFERENCE_LEVEL_DATA", "",  name1, elev1, name2, elev2, name3, elev3, name4, elev4 )? 4 should be sea level.

 

Do note that the value is in meters and is the distance below Project Zero to Sea Level hence would typically be negative. So for your sea_level_height, you would minus elev4 * 1000

 

 

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
GDL Enthusiast
Advocate

Hi Ling,

 

Thank you for your response, it prompted me to look at that script and I realised I had used SYMB_POS_Z. I would have given up, but thanks to you it is solved, so appreciated! Wishing you all the best, Matt

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!