cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

GDL
About building parametric objects with GDL.

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

LeeJaeYoung
Virtuoso

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

AC27 on window 11
4 REPLIES 4
Jochen Suehlo
Advisor

What do you mean with „from title“.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

LeeJaeYoung_1-1700829002503.png

 

LeeJaeYoung_0-1700828794807.png

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
MF BIM
Booster

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 : https://help.graphisoft.com/ac/26/int/index.htm#t=_AC26_Help%2F050_ViewsVB%2F050_ViewsVB-112.htm

https://mfbim.fr | https://youtube.com/@mfbim
AC21 FRA 3005 - AC24 FRA 7600 - AC26 FRA 4027 | MacBook M1 Pro
yongler
Enthusiast

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.  

 

HOMEDB_INFO
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.

 

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!