Hello,
I'm writing my first macro and it is turning out to be quite long: pretty comprehensive GUI dialog, multiple python classes etc.
Is it possible to split code for a macro across multiple files? e.g. one .FCMacro file and then some other auxiliary .py files?
If it is possible, is it recommended? And are there any best practices for this?
Thanks,
Vectronic
OS: Mac OS X
Version: 0.17.13017 (Git)
Split a long macro into multiple files?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Split a long macro into multiple files?
The macro workfeatures is a nice example of module launched by macro. It is in the macros recipies
Re: Split a long macro into multiple files?
Excellent - thanks!
Exactly what I was looking for!
Thanks,
Vectronic
Exactly what I was looking for!
Thanks,
Vectronic