GDL
About building parametric objects with GDL.

String width when using autotext

JGoode
Advocate

Hello,

 

I'm trying to get the width of a string so that I can put a background behind the text, but the string is made up of a combination of autotext and standard text. The string width seems to calculate by using "<PROJECTNUMBER>" instead of what the project number actually is.

Is there any way to get around this or fix it?

 

Thanks

ArchiCAD 23

Windows 10
4 REPLIES 4
Joachim Suehlo
Advisor

You cannot do any GDL Operations with Autotext except of TEXT2

Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de
Erwin Edel
Rockstar

This should be possible, probably not through autotext, but with parameters.

 

We have some door/window markers from our local reseller that offer the option of putting a fill behind text and that text is directly pulled from the door/window, like Element ID, width, etc

Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Lingwisyer
Guru

Have a look through the Requests. Can't many of the autotext values can be requested and hence and asigned to a parameter which can then be measured?

 

Ling.

 

Looking around, it would seem that project info is exempt from this...

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
Erwin Edel
Rockstar

If you're trying to make a simple title block to put on layouts, we just draw these on worksheets, save those as views and put the views on master layouts. Autotext works fine this way and you can just use the text tool.

Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5