Std: Execuția Macrocomenzilor
Jump to navigation
Jump to search
Outdated translations are marked like this.
Menu location |
---|
Macros → Execute macro |
Workbenches |
All |
Default shortcut |
CTRL+F6 |
Introduced in version |
- |
See also |
Execute Direct |
Descriere
Această funcție execută macroul selectat sau activ în editor. Este accesibil pe calea Macro → Execute macro, sau via butonul Execute macro în bara de instrumente macro
.
The Execute macro dialog box
Utilizare
Când tastați în Macros..., butonul
Execute macro își schimbă cularea în verde
. Click pe acest buton pentru a rula macrocomanda.
Options
User macros
- The User macros tab lists the macros available in the User macros location.
- Click a macro to select it.
- The name of the selected macro will appear in the Macro name box.
System macros
- The System macros tab is not used at this time.
User macros location
- Press the ... button to change the user macros location.
- Browse to a different folder and select it.
Execute
- To execute a macro do one of the following:
- Select the macro in the list and press the Execute button.
- Double-click the macro in the list.
- The dialog box closes.
- The macro is executed.
Close
- Press Esc or the Close button to close the dialog box.
Create
- Press the Create button to create a new macro file.
- Enter a name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
- Both dialog boxes close.
- The new file is opened in the Macro editor.
Delete
- Select the macro you want to delete in the list.
- Press the Delete button.
- Press the Yes button in the confirmation dialog box that pops up.
Edit
- Select the macro you want to edit in the list.
- Press the Edit button.
- The dialog box closes.
- The selected file is opened in the Macro editor.
Rename
- Select the macro you want to rename in the list.
- Press the Rename button.
- Enter a new name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
Duplicate
- Select the macro you want to duplicate in the list.
- Press the Duplicate button.
- Enter a new name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
Toolbar
- Select the macro you want to add to a custom toolbar in the list.
- Press the Toolbar button.
- Two 'walkthrough' dialogs will guide you through the required steps. See Interface Customization for more information.
Addons
- Press the Addons... button to start the Addon manager.
Notes
- To learn more about macros see the Macros page.
Preferences
- The user macros location can also be changed in the preferences: Edit → Preferences... → General → Macro → Macro path. See Preferences Editor.
User documentation

- Installation: Windows, Linux, Mac; Getting started
- Basics: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Workbenches: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting