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.

I'm trying to get the GLOB_STRUCTURE_DISPLAY value from title. What should I do?


I'm trying to get the GLOB_STRUCTURE_DISPLAY value from title. What should I do?

AC27 on window 11
Joachim Suehlo

What do you mean with „from title“.

Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation:




S is a structural drawing.
A is an architectural drawing.
I'm trying to read this function to distinguish it.




Is there a function at the top that can be read even once?
Number 1 is the drawing number entered into this layout.
In Revit it is sorted automatically.

AC27 on window 11

Hello @LeeJaeYoung ,


GLOB_STRUCTURE_DISPLAY isn't what you're looking for. This is a global variable that hold the info on how the model is currently displayed, it is linked with this option : |
AC21 FRA 3005 - AC24 FRA 7600 - AC26 FRA 4027 | MacBook M1 Pro

From your picture, it seems that you want to obtain the name of the drawing or layout.

SO, you can take a look here to see if there is anything you want.  


n = REQUEST("HOMEDB_INFO", "", homeDBIntId, homeDBUserId, homeDBName, homeContext)
Returns in the given variables the internal ID (integer), the user ID and name (strings) of the home database (where the library part containing
this request was placed).
homeContext: the contents of homeDBIntId, homeDBUserId, homeDBName depend on the home database
1: placed on the floor plan: the story internal ID, index as a string and name
2: placed on a section: the section internal ID, reference ID and name
3: placed on a detail: the detail internal ID, reference ID and name
4: placed on a master layout: the layout internal ID, empty string and name
5: placed on a layout: the layout internal ID, number and name
For labels the returned data refers to the labeled element. The collected data can be used to uniquely identify elements in different Archicad
databases of a plan file. Causes warning if used in parameter script.


Learn and get certified!

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!