Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Project Info Text in 3D

Lachlan Green
Enthusiast
Well I'm back again with another GDL problem. I'm trying to make a 3D sign that includes the Project & Client Names taken from the project info list. The commands to get the information are easy enough <PROJECTNAME> & <CLIENTNAME>. These work fine with the Text 2 command e.g. TEXT2 x, y, "<PROJECTNAME>"

However in 3D it doesn't work, with the Text, Rich Text, Text Block or Paragraph commands all having the same problem. The quotation marks " " either side make the script write exactly what is between them, <PROJECTNAME>, rather than retrieving the information.

Removing the quotation marks causes an 'Unnecessary Token' error. While removing the arrow brackets causes an error as the script requires a 'string type expression'

Trying to be clever I made a separate variable to equal the project name e.g. project_text = '<PROJECTNAME>' However this encounters the original problem and removing the ' ' brings up an 'Error in Expression'

Does anyone have any idea how to get the Project Name and Client Name text to show up in 3D? I can just make the user input the info but that takes time and can lead to errors.

Thanks
- Lachlan
Lachlan Green | Wilson Architects | BIM Manager, Architect
Started on AC9 | Currently AC27 & AC28 | BIMCloud | GDL
Mac Studio (14,13) M2 Max, 64GB, 1TB SSD | MacOS 14.7
3 REPLIES 3
Frank Beister
Moderator
The autotext is not substituted in GDL environment, but in plain 2D display only. I think there is no direct way.

You could try openLibraryGlobals.gsm, a model view options object, which allows to import a projectinfo file (XML export).

You can request these values in your object by requesting parameter values. You find examples at the end of the project page.

This is only a workaround. I would like to hear, if it worked for you.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Laszlo Nagy
Community Admin
Community Admin
These kinds of info request are usually done in GDL using the REQUEST function, but currently there is no such option for it to ask for Project Info data.
You could make this into a GDL wish.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Anonymous
Not applicable
I want exactly the same. It is strange that this project info is available and usable in a 2D GDL context but not in a 3D GDL context.

I would like to request the development team to look at this. Using the project info in GDL objects is quite common...