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

Accessing Layout Status in GDL

Matthew Johnson
Advocate
With AC18 we now have a few more fields attached to each layout page. If you go to the Autotext entries you can see that each layout has a "Status" and "Status Code". These can be scheduled in the Sheet Index, but...

I can't find a request statement that will let me access the layout status.

What I want to be able to do is to have a stamp as part of my Master Layout that reads the "Status" for each layout (e.g. Information Only, For Tender, For Construction, Preliminary) and stamps each page with a custom format object. This will enable us to have a central control of the issue purpose for each drawing and a linked report showing the status that each document is stamped for.
Matthew Johnson - POWE Architects
AC4.5 --> AC28 & Revit 2016 --> 2023
Asus Zenbook Pro 16x i9-13900H w/ Nvidia RTX 4070 4K dual, Windows 11 64bit + Quest3
I'd rather be sailing.
5 REPLIES 5
Matthew Johnson
Advocate
Also,

Is there any way to request any information about the layout?

e.g. documents scales etc
Matthew Johnson - POWE Architects
AC4.5 --> AC28 & Revit 2016 --> 2023
Asus Zenbook Pro 16x i9-13900H w/ Nvidia RTX 4070 4K dual, Windows 11 64bit + Quest3
I'd rather be sailing.
Via autotext names.

Best Regards,
Piotr
Matthew Johnson
Advocate
Autotext names in GDL can't be used for scripting.

From the GDL Reference Guide:
"It’s not part of GDL itself. ArchiCAD will substitute all references to autotext fields in whatever GDL output it finds them. For example, if you write <PROJECTSTATUS> in the parameter string of a text2 command, ArchiCAD will nicely replace it with the actual value. All this is invisible to GDL – consequently the size and other attributes of the text are not measurable."

I want to be able to use GDL to query the layout information and use that to drive parameter values in my script.
Matthew Johnson - POWE Architects
AC4.5 --> AC28 & Revit 2016 --> 2023
Asus Zenbook Pro 16x i9-13900H w/ Nvidia RTX 4070 4K dual, Windows 11 64bit + Quest3
I'd rather be sailing.
Barry Kelly
Moderator
Yes I would love to be able to read the actual values of autotext and not just the autotext container.
It seems odd that we can use the autotext itself but we can't determine what the actual value of it is to use in other ways.
It would be very handy.

Here is a vote on being able to use Project Info in particular.

http://archicad-talk.graphisoft.com/viewtopic.php?p=229818

There are quite a few post requesting the same.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
You understood me wrong:
the Autotext names can be used in text blocks, but they cannot be accesed by GDL ie transformed read out or something like that.
But if You use the Autotext like a plain text - it will show up
(example: make a text block with any autotext and save it as a gdl object)

Best Regards,
Piotr