Std DlgMacroRecord: Difference between revisions

From FreeCAD Documentation
mNo edit summary
mNo edit summary
Line 12: Line 12:


<!--T:3-->
<!--T:3-->
This function records a macro, all operations you made in 3D space.
The [[Image:Std_DlgMacroRecord.svg|16px]] Macro recording}} function records a macro. This means it will record all operation the user makes in the [[3D view]].


<!--T:4-->
<!--T:4-->
It is accessible via {{MenuCommand|{{StdMenu|[[Std Macro Menu|Macro]]}} → Macro recording}}, or via {{Button|[[File:Std DlgMacroRecord.png|16px]] Macro recording}} button in the macro toolbar [[File:Macros_toolbar.jpg|96px]].
It is accessible via {{MenuCommand|{{StdMenu|[[Std Macro Menu|Macro]]}} → Macro recording}}, or via {{Button|[[Image:Std_DlgMacroRecord.svg|16px]] Macro recording}} button in the macro toolbar [[File:Macros_toolbar.jpg|96px]].


== Usage == <!--T:5-->
== Usage == <!--T:5-->

Revision as of 20:20, 12 February 2020

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.