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.