Call macro from MASTER_GDL and return values
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-25 09:10 AM
2019-11-25
09:10 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-27 01:53 AM
2019-11-27
01:53 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-27 02:12 AM
2019-11-27
02:12 AM
Nick wrote:You could try asking over on the GDL Center forum.
Can anyone from Graphisoft comment on calling a macro from a MASTER_GDL file?
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
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-27 12:55 PM
2019-11-27
12:55 PM
Thanks Barry
