cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.

Zone area in GDL

danielcastelli
Participant

Hi there,

 

I'm creating a label to use in mass plans, and I need to get the zone area but can't find a way to do it.

 

For GLOB_ELEM_TYPE = 9 (fills) I used FILL_SURF and it worked perfectly.

 

When I go GLOB_ELEM_TYPE = 11 (zones) I find no equivalent.

ROOM_AREA does not work, and I couldn't use any requests to get the data.

 

Any insights on how to do this?

2 REPLIES 2
runxel
Hero

Look into the label for zones (I know, the GS objects might be quite daunting).

Keywords: "Builtin.Zone_MeasuredArea" and "request ("Property_Value_Of_Parent",...)".

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | 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»

For anyone else who find this forum, just want to let everyone know that @runxel 's comment works.

To further clarify, the script should look something like below;

n = REQUEST ('Property_Value_Of_Parent','Builtin.Zone_MeasuredArea', type, dim1, dim2,temp_calcarea)
n = REQUEST ('Property_Value_Of_Parent','Builtin.Zone_NetArea', type, dim1, dim2,temp_grossarea)
 
!temp_calcarea  = ROOM_CALC_AREA 
!temp_grossarea = ROOM_AREA