Choose your top Archicad wishes!

Read more
GDL
About building parametric objects with GDL.

View ID/Name in a gdl-object

Mats_Knutsson
Advisor
Hi,

I want to create a simplified "stamp" to put on every view that is being exported as dwg.
I'd like this object to read Building name and Date which I've done but I can't figure out how to get the ID and Name of the view from the View Map? Any idea?

Best,
Mats
AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
6 REPLIES 6
Dominic Wyss
Booster
Hey Mats

Have a look at http://gdl.graphisoft.com/reference-guide/drawing-title-attributes

Edit: Make sure you've selected "By View ID" and "By View Name" in your drawing settings.
AC27 CHE - macOS Ventura M1
kuvbur
Enthusiast
You can use a custom linked marker and link to the view. To display the name, use AC_MarkerText_2. In attach - example of custom detail marker

Structural engineer, developer of free addon for sync GDL param and properties

Mats_Knutsson
Advisor
It's a View as a saved View in the View Map...not a Layout or on a layout.
AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
kuvbur
Enthusiast
try detail marker at #323921, that work. It's only way to get view name.

Structural engineer, developer of free addon for sync GDL param and properties

Mats_Knutsson
Advisor
kuvbur wrote:
try detail marker at #323921, that work. It's only way to get view name.
thx. will test if it's a viable solution.
AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
sinceV6
Advocate
Hi.

You need to look into the "HomeDB_info" Request.

Best regards