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

Autotext in GDL

Wokka
Contributor
Ok, here's a quicky that I should know but don't.
How do I insert auto-text into a simple object that (say) gives me the layout number it's placed in.
Basically I want the object to give me the layouts number plus 1...

Cheers
Warwick Lloyd-Martin
3 D E N V I R O N M E N T
http://www.3de.com.au
Windows 11 Pro 64bit
ArchiCad 4.55>27 AUS
Lumion 12.5/2023
D5 Render
2 REPLIES 2
Anonymous
Not applicable
Hello,
How do I insert auto-text into a simple object that (say) gives me the layout number it's placed in.
You can use for example;

text2 0, 0, "<LAYOUTNUMBER>"
or
text2 0, 0, "<LAYOUTID>"


Basically I want the object to give me the layouts number plus 1...
I am afraid that the autotext is 'dummy', so you can only show the value of it but you can't use the value for any calculations or so.

Regards, Juha
Wokka
Contributor
Thanks for that!
Pity about the 'dumminess'

Cheers
Warwick Lloyd-Martin
3 D E N V I R O N M E N T
http://www.3de.com.au
Windows 11 Pro 64bit
ArchiCad 4.55>27 AUS
Lumion 12.5/2023
D5 Render