![]() We will focus on this latter because main instructions (they are quite easy to spot because they start at the full beginning of the line) are actually the ones that 'execute' the macro. information ( None, "MyTitle", "MyText" ) # Main instruction section MyMsgBox ()Īll macros will generally present a similar structure with first import section, then definition section and finally main instruction section. QMessageBox ): def _init_ ( self ): super ( MyMsgBox, self ). # Import section # from PySide import QtGui # Definition section (classes, functions. Generally, it will happen that a macro isn't directly compatible with a startup launch and shall be fine-tunedĬonsider the below macro that you downloaded from somewhere and is stored in your 'Macro' folder with name 'MySuperMacro.FCMacro': This is rather appropriate for macros that add features, improve the UI. This shouldn't be done for macros dealing with part modeling.You can locate them at Start up and Configuration → User related information ) are referred to, they are located in your user FreeCAD folder. You probably need some Python and coding notions to follow this procedure. ![]() You should only run macro that you trust and that you previously tested Automatically running macro at startup can be considered a security risk.This documentation will explain how to set up a macro to automatically run at FreeCAD startup.īefore starting, following things shall be considered:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |