not talking about python code in the doc.obj, just a filepath and an exec action on that obj.
not sure how a filepath in the document is a security risk more than it is to start a macro from the regular ways
the macro itself is either there or not, and that has to be cared for by individual user.
[Feature idea] Dynamical design
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: [Feature idea] Dynamical design
I can understand bambuko's request. A simple usecase would be for me to include my temp directory in the list of macro locations. I have my permanently installed macros of course in a different place, but I would like to execute other macros as well, e.g. from the forum, without the need to either store them in my macro directory - including a possible name clash - or changing my macro path to the temp directory.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.