Want to record macros for add-on workbenches

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
brahndin
Posts: 1
Joined: Mon Mar 20, 2017 9:53 pm

Want to record macros for add-on workbenches

Post by brahndin »

Hi all,
I wanted to learn how to record macros for the workbench Assembly2.
When I do commands, the macro records it, however what it records won't do anything when the macro is run. So these lines of codes aren't the correct ones and I don't know which ones are. I have done a lot of research and testing but I am stuck.

Best I learned how to do is get the python file "importPart.py" edited so that it outputs whatever I want in the shell/macro. But I don't know what needs to be recorded.

If you could help me out I would be tremendously grateful.
Thanks! :D
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Want to record macros for add-on workbenches

Post by jmaustpc »

Your first post, welcome to FreeCAD.
brahndin wrote:I wanted to learn how to record macros for the workbench Assembly2.
I don't know the answer but it's very likely that your FreeCAD version data is relavent. The forum rules link at the top of the help forum will show you how to do this properly, so that all the data is shown, please don't say something lame like "I am using the latest" etc.
Post Reply