This dialog allows you to create or modify user-defined macro definitions, for use with hook-up or loop drawings. Also, you can assign a function to a macro if required.
Select item type
Allows you to select the item type to which the macro belongs, such as Panel, Cable, or Document. The available item types differ according to whether you are defining macros for loop drawings or hook-ups.
Select item relation
For certain item types, there may be several possible relations to a particular parent
item, for example, in a loop drawing macro, a terminal strip may be connected to a
rack directly or via a hierarchy such as:
Rack > Slot > Wiring Equipment > Terminal Strip.
To choose an item without a relation to any other item, select the value None. For items without relations, this is the only available value in this field.
Select item property
Allows you to select the required property of the item according to the selected item type and relation. The available item types differ according to whether you are defining macros for loop drawings or hook-ups.
Find macro definition
These options allow you to find a specific macro definition in the Macro definition details data window.
Select a column heading
Select the required column heading from the list. This list contains the column headings that appear in the Macro definition properties data window.
Type a value
According to the column heading you selected, type a string that represents all or part of a value that appears in the data window column.
Macro definition details
Displays all the macro definitions according to the item property that you selected. If you selected the Show all macro definitions check box, the software displays all macro definitions that exist in your domain (or in the project, if the domain type is owner operator) that apply to the drawing type (loop drawings or hook-ups). After selecting a macro definition, you can modify its properties or delete the definition. For details on macros available in the software, see Smart Instrumentation Macro Structure.
Macro Name
Enter a unique name for the macro in this field in order for the software to recognize the macro string where it appears in drawing blocks or enhanced reports. For macros that come from shipped data, this field contains a default value that you may modify but are not allowed to delete.
Description
Enter a description for the macro as needed.
Function
Allows you to select from a list of the available functions for assignment to the macro. You can define functions on the User-Defined Macro Functions dialog.
Show all macro definitions
Select to display in the data window all macro definitions that exist in your domain for the current drawing type (loop drawings or hook-ups). Note that if you select this option, it may take some time for the software to display all the macros.
New
Adds a new row in the data window for the current item property where you want to make more than one macro definition for that property.
Delete
Deletes a selected macro definition from the domain (or from the project, if the domain type is Owner operator). Note that this operation does not delete the macro itself from the Smart Instrumentation database, but only the macro definition properties.