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…

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

Populate a Text parameter with DIM

JGoode
Expert
Hello,

Is it possible to populate a text parameter with values from DIM ...[ ]?

Thanks
ArchiCAD 27

Windows 10
3 REPLIES 3
Jochen Suehlo
Moderator
Yes, why not. Could you please specify your question?
Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
JGoode
Expert
I'd like to populate it with an autotext array
ArchiCAD 27

Windows 10
Jochen Suehlo
Moderator
If you mean ArchiCAD autotext: you cannot do any GDL-operation with autotext. You can only use autotext as variable value, parameter value and e.g. in a TEXT2 command as the text value.
But you can use the autotext values in arrays as well, e.g.
DIM q[]
q[1] = "<Landkreis>"
TEXT2 0, -3, q[1]
Autotext must be in angle brackets and quotation marks if variable.
Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de