This functionality is only available for certain module packages. Info / Copyright

Tab Macro box

In this tab you define the macro box properties. In a macro project you use the macro boxes to specify the outline and data of the window and / or symbol macros to be generated.

Note:

Most of the properties of a macro box can only be edited in a macro project. For this to be possible the "Defining" or "Not specified" entry must be set for the Type of usage field.

In a schematic project or if the entry "Referencing" or "Subordinate" is set for the type of usage in a macro project, most of the fields only serve to display the data and cannot be edited by you.

Tip:

If you want to assign a prepared macro box to several macros, use the Macro definition tab. Enter the respective name and the description of the macros to be generated in the lines of this tab. During automatic generation the same content (same macro box) is then stored in several macros.

Overview of the main dialog elements:

Type of usage:

The type of usage serves to differentiate macros and specifies which of the functionalities Generate macros automatically and Update macros can be executed and which not. Select the desired entry from the drop-down list:

In the tree of the macro navigator the prepared macros are grouped into different hierarchy levels depending on the type of usage.

Name:

Enter the name and, if necessary, the path of the macro box here. This name is then used for the file name of the macro to be generated. Without specifying a name you cannot create a macro.

You can use the Insert path variable popup menu item to branch to the dialog Select path variable where you can select one of the available path variables.

Representation type:

The representation type of the macro is used for sorting, i.e., it helps you manage your macros. It has no effect on the functions within the macro, these retain their own respective representation types. This allows all macros belonging to a part to be stored in a single file. Up to 26 representation type variants are possible for a single macro. The representation type is set to default values according to the selected functions or the page type. Select the desired entry from the drop-down list:

Note:

If a function has several representation types, whose common properties contain varying data, the representation type will determine which properties will be considered during reporting. EPLAN uses the specified sequence of the representation types for its global editing and reporting.

Variant:

Use the drop-down list to specify the variant designation for the respective macro to be created. "Variant A" is the default.

Note:

In order to automatically create macro variants from a macro project, you have to first manually create the variants in the project pages. Then give every variant a macro box and assign the same name to all of the macro boxes, each with a different variant designation. After automatically creating the macros you can select from among the different variants when inserting the macros.

Version:

By means of this field you can thus customize your macro versions, but the entry has nothing to do with EPLAN-specific versions.

Source project:

This field is prepopulated with the name of the source project when automatically creating macros from a macro project.

Source / reference:

Here you can specify where the schematic originates (e.g., Siemens catalog).

Description:

The text entered here becomes the description text of the macro automatically generated from the macro project and is displayed in a comments field when the macro is inserted.

Popup menu:

The popup menu provides - depending on the field type (date, integer, multilingual, etc.) - the following menu items:

Manual object assignment:

Normally, all objects located in a macro box belong to one macro.

Select this check box if you would like to add an object outside of the box as well, for example. You then have to select all objects associated with the macro and select the Assign objects to macro box function in the popup menu for that macro box. If the check box is again deselected, the original object assignment in the macro is restored.

See also