Std DlgMacroRecord

From FreeCAD Documentation
Revision as of 20:20, 12 February 2020 by Kunda1 (talk | contribs)

Std DlgMacroRecord

Menu location
Macro → Macro recording...
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Execute macro

Description

The Macro recording}} function records a macro. This means it will record all operation the user makes in the 3D view.

It is accessible via Macro → Macro recording, or via Macro recording button in the macro toolbar .

Usage

Start the function with one of these methods before. The following window appears:

Macro recording

  • Macro name: Enter the name of the new macro.
  • Macro path: Path macro library. To change the path, click ... .
  • Record: Record the macro. Starts recording of everything that is done later. The button Stop the macro recording session in the macros toolbar turn green .
  • Stop: Stop recording the macro.
  • Cancel: Cancels and closes the window.

Once completed click Stop the macro recording session to stop recording the macro.

The macro can be called through Macro → Macros..., or with the Execute this macro button in the macro toolbar to be executed or modified as you want

Example

Click the button enter a name for the macro and validate, open a document, create a cube, change the color stop the macro with the button .

The macro is available in your macros directory.