Record/Pause Macro
You can record operations performed with the SolidWorks user interface
and replay them with SolidWorks macros. A macro contains the equivalent
calls to the API functions that were made when the operations were performed
with the user interface. A macro can record your mouse clicks, menu choices,
and keystrokes to play back later.
You can create a new
macro without recording one first.
To record a macro:
Click Record\Pause
Macro
on the Macro toolbar, or click Tools,
Macro, Record.
Perform the steps you want to record.
When you are done, click Stop
Macro
on the Macro toolbar, or click Tools,
Macro, Stop.
In the dialog box, type a name for File
name and click Save. (The
.swp extension is automatically
added to the filename.)
To pause while recording a macro:
Click Record\Pause
Macro
or Tools,
Macro, Pause.
Click Record\Pause
Macro
again to continue recording.
Related Topics
Assign a Macro to a Key or Menu
Edit Macro
Run Macro
Stop Macro