Showing results for 
Search instead for 
Did you mean: 
Showing results for 
Search instead for 
Did you mean: 
Developer forum

How can I retrieve projects' current issue & not using Layout_Revision_History ?

Nader Belal
Hi there,

Is there a way that I can retrieve Project's current Issue without using or referring to Layout_Revision_History ?

Any possible method is welcomed.

1. I have tried to use GLOB_ISSUE_SCHEME,but I have failed.
2. Some may propose CURRENTISSUEID / CURRENTISSUEDESCRIPTION and family, but they are Autotexts, and what I need is their values to use in my script.
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.

The GDL reference guide (PDF) has the following advice...
It’s not part of GDL itself. ARCHICAD will substitute all references to autotext fields in whatever GDL output it finds them. For example, if you write <PROJECTSTATUS> in the parameter string of a text2 command, ARCHICAD will nicely replace it with the actual value. All this is invisible to GDL – consequently the size and other attributes of the text are not measurable.
This suggest to me that if you have a hidden string Parameter you could predefine it with <CURRENTISSUEID> and then reference that parameter in your scripts. It's a while since I did any serious GDL so it's just a suggestion that I haven't actually tried.
Apple iMac macOS Monterey / AC26UKI (most recent builds)

Barry Kelly
I have moved this topic to the new 'GDL Scripting/Library Part Development' section of the forum which is for posts regarding GDL scripting.
The original 'Libraries/Library Parts' section is now just for the use of libraries and objects.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

What's the issue with using Layout_Revision_History?

AC22-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | R5 2600 | 16GB | GTX1660

Help Those Help You - Add a Signature
Creating a Thread

Nader Belal
Thank you and sorry for the inconvenience.

You were right in the reference but not in assumption, as I have found out by trials in past library parts and the one I have in hands, that GDL will not retrieve the values held with Autotext, and that ArchiCAD is the one who will automatically place it's values after the execution of the GDL.

1. ArchiCAD opens GDL.
2. Library part will put Autotext as it is (ie: "<... something ...>") were it's called.
3. ArchiCAD sees Autotext, and change it with its value (ie: no more "<... something ...>", but the value of something).

Ok, I have an ArchiCAD subset of drawings and their ISSUE/REVISION/CHANGE printed out on the drawing schedule, what I need is either:
1. Indicate what was the last change that was suffered by this subset.
2. Indicate project current issue data.

All without using the resource of adding a change to the layout.

The last procedure I tried to use in psuedo-code was like this:
1. if LAYOUT_REVISION_HISTORY has any rows, continue
2. Hatch Column index = 1
3 For _i = 1 to LAYOUT_REVISION_HISTORY array length
3.1 Compare LAYOUT_REVISION_HISTORY ID to autotext "<CURRENTISSUEID>" value, then if true do something.

But it failed
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.

Peter Baksa

any autotext in GDL doesn't have a value, it's just a string "<...>".

Isn't the current issue always the last issue?
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!