BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Call macro from MASTER_GDL and return values

Anonymous
Not applicable
Is it possible to call a macro from a MASTER_GDL.gdl text file?

I’d like to return a string variable from a macro into a MASTER_GDL script. The string variable sets a database key.

I had previously used the plan name request, but that is not possible in 22 & 23.

From what I have tested, a macro call can be included in the MASTER_GDL code without raising an error, but the macro will not be run. Has anyone had any success with it?

*PS Making the project info parameters accessible as GDL Globals would be a great GDL feature.
3 REPLIES 3
Anonymous
Not applicable
Can anyone from Graphisoft comment on calling a macro from a MASTER_GDL file?

It looks like the MASTER_GDL cannot call a 'macro' in the loaded library, because the MASTER_GDL parts are run before the other library parts are 'loaded'/'made accessible' by the 'list' functionality.
Barry Kelly
Moderator
Nick wrote:
Can anyone from Graphisoft comment on calling a macro from a MASTER_GDL file?
You could try asking over on the GDL Center forum.
GS seems to respond to GDL problems more there than here.

http://gdl.graphisoft.com/forums

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
Thanks Barry
Learn and get certified!