Labelling Fill to Read Surface Index
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2022-11-29
03:41 AM
- last edited on
‎2023-07-04
02:14 PM
by
Doreena Deng
Hi everyone,
First of all, big thank you for reading this and helping others in the field.
I am trying to make a label to return information of a fill.
When fill is set to building material FILL_BMAT successfully returns the assigned building material index.
However when fill is set to surface I am having trouble finding the right script to return the assigned surface index.
Can someone help me with this?
Cheers,
James
- Labels:
-
Library (GDL)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-01-10 12:05 PM
Hi,
it is available only as an autotext, not a GDL global variable.
With GDL questions you will get quicker replies in the developer forum.
Software Engineer, Library
Graphisoft SE, Budapest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-02-06 01:30 AM
@Peter Baksa thanks for your response.
I was able to use the Autotext GUID to display the full name of the surface assigned to a fill.
However I have another issue. I have named the surfaces with code and description ie. "[CONC01] Precast Concrete" and used STRSUB to display only the code inside the brackets. It appears this is not possible with Autotext GUID.
Is there a way around this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-02-07 09:41 AM
Archicad's attitude is that decorative 2D elements shouldn't have data assigned to them, so it is not possible from GDL.
Try to use model elements with properties instead. Properties and building material properties are accessible from labels:
Software Engineer, Library
Graphisoft SE, Budapest