On Page 613 of the GDL Reference Guide (AC21), it talks about Project Info Autotexts.
I think you can script a line of code in the GDL Object where it compares the value of one of those Project Info Autotexts to a specific text and generates the contents of the GDL Object based on the result of the comparison.
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