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

Dialog Macros - <Project name>

This dialog displays those macros that you manage in macro projects or have inserted into schematic projects.

Note:

The macro boxes have to be inserted as well so that the window and symbol macros inserted in the schematic project can be displayed and updated in the macro navigator. To do so activate the project setting Also insert macro boxes. Alternatively you can individually determine for each macro during the preparation of the macros in the macro project whether the macro box is to be inserted or not. The setting at the macro box via the drop-down list Also insert macro box takes priority over the project setting.

You can edit the properties of the macros via the popup menu.

Overview of the main dialog elements:

In the Tree tab, the macros are displayed in a hierarchical structure. The top hierarchy level is the project. Below it the macros are inserted in hierarchy levels with the respective type of usage.

If the macros to be generated are stored within the set macro directory in subdirectories or if the inserted macros are stored in subdirectories, this directory structure is displayed as the next lower hierarchical level. Macros for which no name is entered in the Macro definition or Macro box tab are sorted into the tree structure level "Without name". In the process a separate tree structure level "Without name" is displayed for pages without macro name in which a macro box additionally does not exist.

Below the macros their representation types and variants are displayed. In the process different icons are used for the various macro types and the same icons as for the page types for the representation types.

The placeholder objects existing in a macro are displayed below the hierarchy level for the respective macro variant.

The icons displayed in the tree view of the macro navigator include the following:

Icon

Meaning

Identifies the project level. This icon is only displayed when several projects are open.

Directory (in accordance with the path specification in the macro name)

"Not specified" or "Subordinate" macros

Defining macros

Referencing macros

Window macro

Symbol macro

Page macro

(e.g. )

  • Window and symbol macros: Representation type of the macro box (in this case for example multi-line)
  • Page macros: Page type of the page

3D macros: layout space

Macro variant

Placeholder object

(An overview on the most important icons for project data can be found in the Icons in the Navigators topic.)

Notes:

The macro type, the macro name, the representation type, the variant, the description and the file name of the macros are displayed by default in the List tab. In a macro project you can edit some of these properties blockwise as in editing in a table. In a schematic project, the property data is only displayed, and you cannot edit it.

Note:

Only one object at a time can be edited in the list of a navigator. For this reason placeholder objects are not available in the list view of the macro navigator.

Filter:

This drop-down list displays all the available filters. A selected filter is automatically activated and is applied to both the tree and the list view. The "- Not activated -" entry deactivates the filter and causes an unfiltered display of the data. Click [...] to open the Filter dialog. Here you can create, edit, delete, copy, export, import, and manage filters.

The popup menu of the Filter drop-down list contains the following entries:

This allows you to toggle rapidly between the unfiltered representation and a representation filtered in accordance with your requirements.

Value: <Property>:

Use this field, via Quick input, to adjust quickly the value of a filter criterion for a defined and activated filter.

Popup menu:

Menu item

Meaning

New (tree only)

This menu item is only available in macro projects. Provides a possibility via a submenu to create a page or a layout space for a new macro or – if a page is already opened – to insert a macro box.

Depending on the selected hierarchy level (directory, other prepared window macro, etc.) certain data are imported for the new prepared macro.

Select all (list only)

Selects all of the entries in the list.

Adjust column width (list only)

Adjusts the width of all table columns so that both the headings and column contents are fully legible.

Delete

Deletes all the selected objects or - in the tree view - all the objects below the selected tree structure level. (Multiple selection of objects or tree structure levels is possible here.)

Generate macros automatically

This menu item is only available in macro projects. Automatically generates macros specifically on the basis of the current selection (for example a single prepared macro).

Update macros

Opens the Update macros dialog with the possibility to change settings for the update. Subsequently the referencing or non-specified macros marked in the project are updated with the data from the associated macro files.

Assign value set

Opens the Select value set - < Placeholder name> dialog, allowing you to assign a value set to the selected placeholder objects.

Select associated objects

Selects all objects belonging to the current placeholder object in the graphical editor.

Go to (graphic)

Shows the selected object in the graphical editor or in the layout space.

Insert into list of search results

Allows all of the selected objects to be inserted into the search results list. With Find > Show results you can show these again at a later date.

List with preselection (tree only)

Reduces the number of elements displayed in order to allow for a faster orientation in the list view. If this option is activated, the list view is called up with an automatic filter (preselection) containing the elements that are currently selected.

Select in tree (list only)

Displays the marked object in the Tree tab.

Configure representation

Opens the Configure representation dialog, where you define which properties are to be displayed in the list and tree view.

Properties

Depending on the selection opens the appropriate property dialog for editing the properties of the macro.

See also