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

GDL Paragraph with Parameters

Anonymous
Not applicable
I am trying to insert parameters in a paragraph in my 2D GDL script.
Whenever I change from normal text to a parameter, all the font settings change. See below bold the field that I have changed to a parameter (therefore removing the quotation marks "")
Is this a problem that has been fixed in later versions. I currently need to use ArchiCAD 12, but I have not found this in ArchiCAD 15

define style{2} "AC_STYLE_1" "ISOCPEUR WESTERN", 3, 1
set style "AC_STYLE_1"

paragraph "AC_PRG_4" 2, 0, 0, 0, 1.3
pen 4
set style "AC_STYLE_1"
Room_name
endparagraph
textblock "AC_TEXTBLOCK_4" 30, 8, 0, 1, 1, 1,
"AC_PRG_4"
richtext2 176.0180238087, -42.09148641132, "AC_TEXTBLOCK_4"
2 REPLIES 2
Barry Kelly
Moderator
Try "" + Room_name

The double, empty quotes will trick it into thinking it is a string.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Excellent!
Thank you very much

Start a new conversation!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!