Define and Use Filters with a Macro - Intergraph Smart Instrumentation - Training - Intergraph Process, Power & Marine Documentation

Intergraph Smart Instrumentation Tutorial

PPMProductFamily
Engineering and Schematics
PPMProduct
Intergraph Smart Instrumentation
PPMCategory
Training
Version_SPI_custom
2018 (12.0)

You can use filters with macros to show attributes for specific items. You can attach a filter when creating your macro, or define a filter and attach it to an existing macro. In this example you will define a filter that shows only the manufacturer and model of DP Transmitter.

  1. Generate a drawing for loop 101-F-100.

  2. Click Actions > Item > Define Filter.

    You can also access this command by clicking Define Filter () on the Actions toolbar.

  3. Switch to Smart Instrumentation to view the Define Filter for Item dialog box, and do the following:

    1. From the Filter for list, select Instrument.

    2. From the Filter list, select DP Transmitter.

      Click Browse to search for a filter or create a new filter name.

  4. Click Edit, and then do the following:

    1. Click Add.

    2. From the Property list, select Instrument Type Desc.

    3. From the Operator list, select the operator equals (=).

    4. From the Value list, select D/P Type Flow Transmitter.

      The dialog box should appear as shown:

  5. Click Apply, and then click OK.

  6. On the generated drawing, click tag 101-FT-100.

  7. Do one of the following:

    • Click Actions > Macro > Properties.

    • Click Edit Macro Properties () on the Actions toolbar.

  8. On the Macro Properties dialog box, from the Filter list, select DP Transmitter.

  9. Select the Use filter check box.

    The dialog box should appear as shown:

  10. Click OK.

  11. Click the macro label MFR for tag 101-FT-100, and then do one of the following:

    • Click Actions > Macro > Properties.

    • Click on the Actions toolbar.

  12. On the Macro Properties dialog box, select the Use filter check box to activate the filter.

  13. Click OK.

  14. Repeat the procedure for the macro value Rosemount, and for the macro label MDL and its value for tag 101-FY-100.

    The filter hides the labels and values for those tags that are not DP Transmitters, as shown:

  15. On the main toolbar, click Save Custom Changes ().

  16. On the Save Custom Changes dialog box, click OK.