scripting autotext
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-08-01 10:41 PM
2014-08-01
10:41 PM
Thanks for any help.
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-08-02 05:42 PM
2014-08-02
05:42 PM
I don't think that Project Info field were ever intended for such a purpose. Those are Project level data which are usually displayed on Layouts. You want to display room-specific information in schedules.
In GDL you can read from and write to TXT (and I think also XML) files. Maybe you should store those value in such a file and all your object would read from there. So then you would only need to change it in the file and update the objects to read the new value. I think this could work.
In GDL you can read from and write to TXT (and I think also XML) files. Maybe you should store those value in such a file and all your object would read from there. So then you would only need to change it in the file and update the objects to read the new value. I think this could work.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-08-04 04:30 PM
2014-08-04
04:30 PM
If you create a new library part and drag a text element with the autotext inside it into the 2d script, you will get a funky autotext value such as
However, if it is just a finish from a predefined set of values, you might just want to consider using the parameter script to define a range of values that you could pick from the object parameter dialog and use in schedules.
For example:
And yes, I'm sure this could also be scripted into a zone stamp.
<autotext-B4A088D7-5B40-4D6D-BCFD-2D7F726D37E1>this will work. Beyond the first 3 custom text entries the numbering seems a bit different.
However, if it is just a finish from a predefined set of values, you might just want to consider using the parameter script to define a range of values that you could pick from the object parameter dialog and use in schedules.
For example:
values "paintfinish" "white","blue","red"For your created custom parameter called paintfinish you will now have a pulldown list of white, blue and red. Make sure the parameter is of the "text" type.
And yes, I'm sure this could also be scripted into a zone stamp.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-07 02:58 AM
2019-11-07
02:58 AM
@Erwin
Thank you
Thank you
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
