Fix Orphaned Symbols Using the OrphanGraphics Macro - Intergraph Smart P&ID - Help - Intergraph

Intergraph Smart P&ID Utilities Help (2019)

PPMProduct
Intergraph Smart P&ID
aSubProduct
Smart P&ID Utilities
PPMCategory_custom
Help
Version_SPPID_custom
9 (2019)
Version_SPEM_custom
10 (2019)

This option applies to orphaned symbols in a drawing that is not in a re-create state.

  1. Open a drawing in Smart P&ID.

  2. Click Tools > Custom Commands.

  3. On the Custom Command dialog box, browse to ..\SmartPlant\P&ID Workstation\bin and double-click OrphanGraphics.dll.

    As an alternative to using this command, you can band aid symbols in a drawing using a custom validation with the BeforeDocumentClose event.

  4. Close and then re-open the drawing.

    The orphaned symbols are now band-aided in the drawing.

  5. Create a new version of the drawing.

  6. Open the drawing.

  7. Force a re-creation of the drawing.

  8. Display the SmartPlantPID.log file.

    The log file reports on orphaned symbols by means of statements similar to the following:

    OrphanGraphics has detected a problem: PipeRun with SP_ID = FF038B6467F8429588B86A2FE38F5667 is missing from the database (A04501) and has been band aided.

    Using custom validation, you can specify whether the software only reports on missing symbols in the SmartPlantPID.log file or whether they are reported on and band-aided. Two functions exist for handling orphan graphics by means of validation:

    • ReportOrphanGraphics — In the SmartPlantPID.log file, reports that symbols are missing from the database.

    • BandAidOrphanGraphics — In the SmartPlantPID.log file, reports that symbols are missing from the database and have been band-aided.

  9. In order to view the symbols that were band-aided and fixed, do the following:

    1. Open the Version History for the drawing.

    2. Compare the current drawing with the version you created.