Support Forum

Making a macro invoke another macro

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); //... ```