Smart Instrumentation Macro Structure - Intergraph Smart Instrumentation - Help

Intergraph Smart Instrumentation Help

Language
English
Product
Intergraph Smart Instrumentation
Search by Category
Help
Smart Instrumentation Version
13.1

You select the Smart Instrumentation macros that you want the software to recognize in hook-up drawings or in loop drawings by defining custom macro names on the Macro Definitions dialog box for the appropriate drawing type. To see the entire list of Smart Instrumentation macros, you can generate a macro report in the Loop Drawings module. See Generate a Macro Report.

Certain Smart Instrumentation macros that include a group level have the following structure:

[Macro_name.x]

The letter 'x' designates the group level. The group level depends on the number of macros in a group. The software creates a group when several macros of the same macro type are associated with a tag number. For example, when associating several tag categories with a tag number, the system combines all the TAG_CAT macros into a TAG_CAT.x group so that you set a separate level for each macro: TAG_CAT.1, TAG_CAT.2, TAG_CAT.3, and so forth.

For CAD drawings only, if required, you can associate each macro with a macro function, which determines how the software performs string manipulation on the target data. For example, a macro function can retrieve the entire target data string or just part of the data string and display it on the generated drawing. Associating a macro function with a macro is optional. See Working with User-Defined Macro Functions.

The structure of a macro including a user-defined macro function is as follows:

[Macro_name.F1]

where F1 is the macro function abbreviation. If you set a macro function as a default, the software automatically adds the abbreviation of the function to the macro in the actual CAD drawings (SmartSketch, AutoCAD and MicroStation). If you do not set a macro function as default, you need to add the macro function abbreviation manually on the drawing. Your user defined macro names must be unique, do not copy or use existing macro names as this results in the macros failing to display correctly.

  • The separator in a macro string is a period (.), therefore within a macro name segment, periods are not allowed.

  • Some of the wiring macros have a different structure. See Wiring Module Macros - Conventions).