Delete Orphan Model Items - Intergraph Smart P&ID - 11 - Help - Intergraph

Intergraph Smart P&ID Help

Language
English
Product
Intergraph Smart P&ID
Search by Category
Help
Smart P&ID Version
11
Smart Engineering Manager Version
12
SmartSketch Version
11

Verify that the plant user has full permissions to the tables, T_Representation and T_ModelItem. For information on setting table permissions, refer to your database documentation. It is important that you perform the steps in the sequence that they are presented. The buttons on the utility are arranged appropriately.

  1. Open a drawing, and select Tools > Custom Commands to open the Custom Commands dialog.

  2. Browse the drawing software program directory and open DelOrpModItems.dll. You can find this macro in the ..\SmartPlant\P&ID Workstation\bin folder.

  3. On the Clean Data Dialog, select Model Items.

  4. On the Delete Orphan Model Items Dialog, choose the model item type from the Item Type Names list.

  5. In the list view, select the model orphan items to delete and select Delete. You can also select Delete All to select and delete all the items in the list view.

  6. Select Close.

  7. On the Clean Data Dialog, select OPCs.

  8. On the Repair OPCs Dialog choose either repairable or non-repairable from the OPC Type list. Repairable OPC pairs retain one link out of two between the mates. Non-repairable OPC pairs retain neither link.

  9. Choose the OPC pair that you are interested in from the OPC list, and select Fix if it is a repairable pair or Delete if it is non-repairable.

  10. Select Close.

  11. On the Clean Data Dialog, select Gaps to find and repair gaps that do not have the correct representation in the database. Follow the prompts on message boxes if you see any.

  12. Select Close to return to the design software.

  • The Delete Orphan Model Item Utility must be run from within the drawing environment.

  • Log messages generated when orphaned records are deleted from the plant database are written to the DBCleanup.txt file in the directory assigned to the Temp environment variable.

  • Log messages are placed in SPDelOrpModItems.log file in the directory assigned to the Temp environment variable. The log file contains information about deleted items including the item type and SP_ID.