Macro Management

SOLIDWORKS Electrical has a library where you can store parts of schemes, called Macros.

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

To access the Macro management, click Menu > Libraries > Macro management .

In the Macro management dialog box you can add, edit, or delete macros.

Classification

This tab displays the macro classification in a tree. The left side of the dialog box shows the macro classes. The right shows the macros in the selected class.

Filters

This tab filters 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.

Click Remove Filter to remove all the filter criteria.

Icon/ Options Description
Open The macros are viewed as electrical projects. When you click the Open icon, the macro is automatically added to the dockable panel in the Pages tab. It is preceded by a specific icon to avoid confusing it with an electrical project. The macro is automatically opened in the graphical interface.
Delete Deletes the selected Macros.
Properties Opens the Properties dialog box of the selected macro. If you select several macros, the Properties dialog box displays only the common properties. For more information, see Macro Properties.
Cut Places a copy of the selected macros on the SOLIDWORKS Electrical clipboard.

You can also use the shortcut: [Ctrl] + [X].

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

You can also use the shortcut: [Ctrl] + [C].

Paste Pastes the macro present in the SOLIDWORKS Electrical clipboard.

You can also use the shortcut: [Ctrl] + [V].

Select all Selects all the macros displayed on the right-hand side of the Macro management.
List mode Displays Macros in the form of a 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 Manages the display settings for items in the dialog box. For more information, see Configuring Columns.
Archive Select the elements that 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.
Classification management Allows you to manage the different classes in which the macros are stored.
Display subclasses content Displays all the objects contained in the subclass of the selected class.
Keep the dialog opened The dialog box does not close when you open an object.