Under schematic macros we understand 2D macros which can be placed as window and/or symbol macros for the configuration of schematics, for example on schematic pages.
You do not require multiple parts with different schematic macros in EPLAN so that you can consider different standards and company standards during this configuration. Instead you can store multiple specific schematic macros for standards and/or company standards in the parts management at a part. To this purpose the following properties are available in the Properties tab in the hierarchy level Data:
- Schematic macro: GB/CCC (ID 22873)
- Schematic macro: GOST (ID 22874)
- Schematic macro: IEC (ID 22870)
- Schematic macro: NFPA inch (ID 22872)
- Schematic macro: NFPA mm (ID 22871)
- Schematic macros for company standard (ID 22882)
The project-specific settings in the group box Preferred standards for inserting schematic macros are used to specify which company standard or which standard is considered when inserting macro or devices via the Insert center. If a schematic macro is stored in the parts management at a part for the same standard or the same company standard, this macro is used.
This applies for all actions where macros and devices are inserted (for example via the Insert center) or devices are placed (for example from a navigator). An exception is the placement of mechanical devices in the 2D panel layout and 3D mounting layout. The settings specified here are not considered in this case.
Sequence when inserting macros
The following sequence applies for the insertion of macros for the mentioned actions:
- Schematic macro for company standard
- Schematic macro for standard
- Schematic macro
This means that during the insertion of macros the schematic macro is used for the company standard by preference. If no company standard is set or no schematic macro is available for the company standard, the macro of the preferred standard is used. If no standard is selected or if no corresponding schematic macro is available, the macro entered in the Schematic macro (ID 22145) property is used.
Filtering the Insert center according to standard-specific macros
If a company standard or a standard is set in the group box Preferred standards for inserting schematic macros, all schematic macros which correspond to the company standard or standard are displayed in the Insert center. In addition, the schematic macros that neither have a company standard nor a standard are also shown.
If no company standard or no standard is specified in this group box, all schematic macros are displayed in the Insert center.
An activated filter is displayed in the title bar of the Insert center through a percentage sign "%" (e.g. %IEC).
The respective standard must be saved at the macro so that filtering is possible. The project-specific settings in the group box Standard for generating schematic macros are used to specify which company standard or which standard is to be saved at the respective schematic macro during automatic generation of schematic macros in the macro project.
Properties at the macro box
The setting for the company standard or for the standard in the group box Standard for generating schematic macros is saved at the macro boxes of all generated schematic macros when generating schematic macros. The corresponding value is transferred into the properties Macro: Company standard or Macro: Standard.
These properties provide the possibility in the schematic project to identify schematic macros with standards or company standards in the macro navigator, in the Insert center and in the graphical editor.
To this purpose the properties can, for example, be shown as additional columns in the macro navigator and in the Insert center or in the property arrangements of macro boxes to show the standard saved at the macro box in the graphical editor.
Note:
In a macro project these properties are empty or the entry "No standard" is displayed since the properties are not saved until the macros at the macro box are generated.
See also
Tab Properties (Hierarchy level "Data" (for parts))