SolidWorks Electrical has a time saving functionality called "Macros". With macros you can re-use your existing electrical drawing across your various projects.
Let's take a detailed look at creating macros in SolidWorks Electrical.
Creating Macros in SolidWorks Electrical
To create a Macro, open the drawing which contains the elements you want to store in the library. In the side panel activate the Macros Tab. In the graphics zone, select the entities which you want to save and Drag and drop them into one of the sections of the palette. In this case we would create a macro and drop it under Motor Command.
This macro is automatically added to the macros library and will thus be available for insertion into other projects.
In the side panel, when you right click, a pull-down menu allows you to have access to the macro palettes parameters.
Add macros: Lets you select a macro stored in the library and add it to the list of macros in the palettes.
Edit this macro: Opens the macro in the graphical interface for modification. The macro is viewed as a project. It appears in the “Documents” tab in the side panel.
Delete this macro: Delete’s the selected macro from the palette (it is not deleted from the library).
New group: Creates a new macro group.
Group properties: Accesses the selected group’s properties.
Delete group: Deletes the selected group
Activate group: Activates the group with is selected from the contextual menu.
Macros are grouped together within the Macros manager and are thus available for use by all projects. The macros have filtering criteria allowing classification. It can be accessed from Library > Macros manager as shown below.
Open the drawing in which you want to insert the macro and "Drag and Drop" the macro from the side panel into the graphic zone. When the macro is inserted, the marks management dialog box opens, allowing you to either calculate new marks or keep the existing marks.
As shown below the marks have been incremented with the inclusion of manufacturer part information. There is also new cross reference table added for new contactor coil. Since its power contacts are not yet used, they are displayed blue in the table.