Macros manager

SOLIDWORKS Electrical has a library allowing you to store parts of schemes, called Macros.

Macros are grouped together within the Macros manager and are thus available for use by all projects. The macros have filtering criteria allowing classification.

 

Menu: Libraries > Macros manager

 

The macros manager dialog box opens. It allows you to add, edit or delete macros.

 

The left-hand side of the manager has two tabs.

Classification

This tab displays the macro classification in a tree.

The left side of the dialog box shows the macro classifications, the right shows the macros in the currently selected classification.

Display sub-classes content: When the box is checked, it displays all the macros contained in the sub-class of the selected classification.

Filters

This tab allows you to filter the macros list. All filtering criteria are the same as those present in the macro properties.

The right side of the dialog box displays the macros corresponding to the selected criteria.

Remove filters: Click this button to remove all filter criteria.

 

New class: Creates a new Macro classification group.

Delete: Deletes the selected Macro.

Properties: Opens the dialog box of the Macro properties.

Open: The macros are viewed as projects. When you click the Open icon, the macro is automatically added to the dockable panel in the Documents tab. It is preceded by a star to avoid confusing it with a project. Double-clicking on the drawing shows the macro, allowing you to open it in the graphical interface.

Preview: Opens the Macro in a preview dialog box. This interface does not allow modifications.

Cut: Places a copy of the selected Macro on the SOLIDWORKS Electrical clipboard and deletes the original.

Copy: Places a copy of the selected Macro on the SOLIDWORKS Electrical clipboard and keeps the original. The Copy command can be used also to copy the selected element list to another application such as Excel (List mode only).

Paste: Pastes the Macro present on the SOLIDWORKS Electrical clipboard. A new Macro is created.

Select all: Allows you to select all the Macros displayed in the right-hand side of the manager.

List mode: Displays Macros in the form of list (Name, Description, classification). In this mode, you can copy the list of the selected elements to another application, such as Excel.

Thumbnail mode: Displays Macros in the form of thumbnail previews.

Configuration: Allows you to manage the display settings for items in the dialog box.

Archive: Select the elements you want to archive and click the Archive icon. A dialog box to save the file opens allowing you to save the archived file.

Unarchive: A file selection dialog box opens where a TEWZIP file can be selected for unarchiving. The update data wizard will open automatically. Refer to the Archive / Unarchive chapter for more information.

 

To add a macro, see the Create macro chapter.


Related topics:

 

Macro properties

Manage Macros

Graphical commands