User 20190913 Monday 13th May 2019
How can I "call" a macro from within another macro?
Is there a way to pass down arguments to a called macro?
Jürgen LayoutEditorFull Monday 13th May 2019
the command is ```layout->executeMacro(string filename)```
to call a function with parameter from another macro use the include directive:
```
#include "filename"
//...
// call function from includes macro code:
int result=my_function(a,b,c);
//...
```
Support forums are fading
Support forums are fading because nobody wants to wait days for a reply. AI answers faster and better. LayoutEditor is no different: please use Help → AI Console in the LayoutEditor for all questions. If that is not enough, licensed users still have e-mail support at support@layouteditor.com. This forum remains available here as an archive.