Create a User-Defined Macro Function - Intergraph Smart Instrumentation - Help

Intergraph Smart Instrumentation Help

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

Each user-defined macro function includes a set of selected standard functions. Use the following procedure to create user-defined macro functions at the database level.

  1. Depending which module you have open, do one of the following:

    • In the Loop Drawings module, click Tables > User Defined Macro Functions.

    • In the Hook-Ups module click Tools > User Defined Macros Functions.

  2. On the User-Defined Macro Functions dialog, select New to open the User- Defined Macro Function Properties dialog.

  3. Type a name and macro function abbreviation for the new macro function, and, if needed, a description.

    If you want to use macro function abbreviations in loop block macros, make sure the macro function abbreviation is different from an instrument type abbreviation, which is a required segment in the loop macro function string. For details about loop blocks and loop block macro structure, see Loop Blocks.

  4. To superpose a standard function, do the following:

    1. Select Insert to open the Standard Macro Functions dialog.

    2. Select a standard function and select OK.

    3. If you selected a standard function that can accept parameters, specify appropriate values in the fields. For details, see Standard Functions.

    SHARED Tip The user-defined macro function operates in the macro string according to the order of the standard functions superposition. Use Move Up and Move Down to change the order of the standard functions.

  5. Select OK to confirm your changes and close the User-Defined Macro Function Properties dialog.

  6. Select Set macro function as default to apply the specified macro function to all existing macros.

    OR

    Clear Set macro function as default to be able to associate the specified macro function with a specific macro.