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 to set a key for the Data IO add-on.
I had previously used the plan name request to construct the key, but that technique is no longer possible.
From our tests, a macro call can be included in the MASTER_GDL code without raising a syntax error, but the macro is not executed when called. It seems that the MASTER_GDL is run before the general library parts are loaded/linked in memory.
If it is not possible to call a macro from a MASTER_GDL.gdl text file, can a MASTER_GDL text file call a deterministic function in an add-on?
*PS Making the ‘Project Info’ parameters accessible as GDL Globals would be a great GDL feature. 😀
this document says that MASTER_GDL is executed after loading the library.
It says it can include GDL extension-specific commands. I tried with the DateTime add-on, that works. Macro calls are not listed though.
Library Platform, Software Engineer GRAPHISOFT SE