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 23

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

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-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de