License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

GDL
About building parametric objects with GDL.

View ID/Name in a gdl-object

Mats_Knutsson
Mentor
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
Advocate
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

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

Mats_Knutsson
Mentor
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
Advocate
try detail marker at #323921, that work. It's only way to get view name.

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

Mats_Knutsson
Mentor
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