7.9. Defining macrodefinitions<br>

## 7.9. Defining macrodefinitions

Macros (macrodefinitions) perform the same functions as the specification of components for the “Miscellaneous fittings” field. They, however, facilitate that operation, as they constitute predefined sets of often-used components. As the program automatically sizes couplings and pipe fittings on the basis of graphical information provided by the drawing, the use of macros is recommended in specific cases only (e.g. when there are sets of components that cannot be automatically identified in the drawing).

Macros are defined in a special window in a similar manner to the specification of miscellaneous fittings (see section 4.9.4).

To define a new macro or to edit an existing macro select the “Options / Macros” menu (Ctrl+M).

Upon opening the “Macros” field a list of available macros is displayed. After selecting a macro in the list you can modify it by removing or inserting components by means of arrows.

The buttons in the upper part of the window enable editing macro name, deleting and creating new macros. After creating a new macro, a new window opens where you enter the name of the macro. Then you can assign to the macro a catalogue loaded into the project. A list of existing macros is displayed at the bottom of the window. Upon confirming and clicking OK the new macro becomes the currently edited macro.

! Valves must be displayed in the drawing and they cannot be inserted by means of macros.