Std DlgMacroRecord

Description
The Start Macro recording function initiates a recording session of a macro. This means it will record all operation the user makes in the 3D view. Once the user is finished with the sequence of action, the Stop Macro Recording functions ends the macro recording session. This is a powerful technique to record repetitive sequences of actions (in to Python code that can be saved in a FreeCAD Macro file ), that can be executed at a later time or even transferred to another computer running FreeCAD.

Usage

 * 1) The Macro Record function is accessible via several ways:
 * 2) * The button in the macro toolbar Macros_toolbar.jpg
 * 3) * The menu ,
 * 4) Result: A dialog box will appear querying the user for the following information
 * [[Image:Menu_Std_DlgMacroRecord_it.png‎|Macro recording]]
 * Macro name: Enter the name of the new macro.
 * Macro path: Path macro library. To change the path, click.
 * : Record the macro (starts recording all actions in the 3D view).
 * Note: The button in the macros toolbar Macros_toolbar.jpg will turn green Std MacroStopRecord.svg.
 * : Stop recording the macro.
 * : Cancels and closes the window.
 * 1) Once completed, click  to stop recording the macro.

Executing the Macro

 * 1) The macro can be executed several ways:
 * 2) * Through the menu
 * 3) * Pressing the button in the macro toolbar
 * 4) Choose the macro
 * 5) Press

Example

 * 1) Press the [File:Std DlgMacroRecord.svg|16px]] button
 * 2) Enter a name for the macro and press
 * 3) Open a document
 * 4) Create an [[Image:Part_Box.svg|24px]] Cube
 * 5) Change the color of the box
 * 6) Press on Std MacroStopRecord.svg to stop the macro recording

Result: The macro is available in your macros directory. Execute the macro to recreate the steps you just recorded.