Recovering Drawings - Intergraph Smart P&ID - Help - Intergraph

SmartPlant P&ID Drawing Manager Help

Language
English
Product
Intergraph Smart P&ID
Search by Category
Help
SmartPlant Foundation / SDx Version
Smart P&ID Version
7.1 (2014 R1)
Smart Engineering Manager Version
7.2 (2014 R2)
Smart P&ID Web API Version
(none)

The following areas require special consideration with regard to saving new drawing versions and how retrieving a drawing effects the actions that can occur in the Plant between saving a version and retrieving it. These actions have serious implications when recovering (using the Fetch Deleted Drawing command) a drawing. In all drawing recovery activities, a log file is created in which you can review notes on any recovery activity that you are undertaking.

Multiple Representations

After a drawing is recovered, there are situations where multiple representations of piping and equipment items can spontaneously occur. For example, you place a piece of equipment on drawing A and then you save a version of drawing A. After creating a version of drawing A, you move the equipment from drawing A to the Plant Stockpile and then to drawing B. When drawing A is retrieved, the following message is added to the log file:

Item (item tag ItemTag, internal ID SP_ID) is being restored as a multiple representation because another representation of the same item was found in drawing <Drawing Name>.

Encountering this situation does not cause the retrieval to fail; the retrieval process continues as normal.

If an equipment item already exists as a multiple representation in another drawing, the following message is added to the log file:

Restoring multi representation item (item tag ItemTag, internal ID SP_ID).

Encountering this situation does not cause the retrieval to fail; the retrieval process continues as normal.

If other valid stockpile items are moved from drawing A to drawing B, the following message is added to the log file:

Error ! Item (item tag ItemTag, internal ID SP_ID) has been moved to drawing <Drawing Name>.

To resolve this conflict, you must either delete the indicated item or restore the indicated drawing first. If you delete the item, then the item can either be deleted to the Plant Stockpile or deleted from the model. This error message is created for each moved item, and the retrieval process quits without restoring the archive.

Off-Page Connectors (OPCs)

If you save a new version of a drawing that includes an OPC, and its mate is deleted from the database afterward, both OPCs are restored to the drawing or drawing stockpile, as appropriate, when the drawing is retrieved.

For example, an OPC is placed on a drawing A, its mate is placed on drawing B, and both drawings saved in versions. When drawing A is retrieved, the OPC is restored to drawing A, and the mate is placed in the Plant Stockpile. The mated OPC has the same item tag as the OPC restored to drawing A. Once drawing B is retrieved, the OPC mate of the OPC in drawing A is placed in drawing B and removed from the Plant Stockpile.

Pipe and Signal Lines

If all the line runs belonging to a line are deleted from the model after a drawing version is saved, the line is restored back to the database after the drawing is recovered.

To restore a deleted line, Drawing Manager searches the database for a line that has the same key property values as the line that is being restored. If such a line is found, it is used as the line for the restored runs. If a suitable line is not found one is created for the restored runs.

Plant Group Joins

Plant Group Joins, which relate items in plant groups, are restored from a version only if the plant group, such as the unit or area, exist in the current database.

For example, a piece of equipment belongs to a plant group and a drawing version is saved. If the plant group is deleted and then the drawing is recovered, the equipment is restored, but because the plant group does not exist, the Plant Group Join is not restored.

If the plant item group is found in the archived drawing, but the Plant Group Join does not exist in the current database, Drawing Manager restores the Plant Group Join.

Plant Item Groups

Plant Item Groups placed in the drawing stockpile are considered part of the drawing; therefore, Drawing Manager restores them to the drawing stockpile when the drawing is recovered.

Plant Item Groups that are moved to the Plant Stockpile after a drawing version has been saved are restored back to the drawing stockpile when the drawing is recovered. The software searches for the corresponding Plant Item Group in the saved stockpiles, and if it is not found there, searches in the active database for the same.

Plant Item Group Joins

A Plant Item Group Join is a relationship created when a plant item, such as an instrument or a piece of equipment, is linked to a Plant Item Group, such as an instrument loop, a package, or the like. Plant Item Group Joins are saved as part of the drawing version.

During a drawing recovery, if a Plant Item Group Join exists in the saved drawing version, the software searches for the corresponding Plant Item Group in the archived stockpiles. If the corresponding Plant Item Group is not found in those stockpiles, the database is also searched.

If the Plant Item Group is found in the saved version, and the Plant Item Group Join is not found in the database, then the Plant Item Group Join is restored. If the Plant Item Group is not found in the saved stockpiles, the Plant Item Group and the Plant Item Group Join are restored to the Plant Stockpile. If the Plant Item Group exists in the current drawing stockpile, Drawing Manager updates the database to reflect the archived Plant Item Group Join.

For example: An instrument is associated with a Loop, LP1, in the drawing stockpile and a version is saved. Afterward, a new Loop, LP2, is placed in the drawing stockpile and the instrument is associated with LP2. When the drawing is restored, the Plant Item Group Join indicates a relationship between the instrument and LP1. If LP1 has since been deleted from the drawing stockpile, it is restored to the drawing stockpile. If LP2 exists in the current Plant Stockpile at the time of drawing recovery, LP2 is left as is. However, if LP2 is in the drawing stockpile, Loop LP2 is deleted from the database along with any other corresponding representations and histories of Loop LP2.

Miscellaneous

If a drawing is deleted after a version is saved and a new drawing is created using the same name and drawing number as the deleted drawing, retrieval of the deleted drawing fails. Changing drawing properties, such as name, number, and so forth, after saving a version of a drawing results in the original values being restored when the drawing is recovered. If this situation occurs, the following message is added to the log file:

Warning! Drawing <Drawing Name1> has been renamed to new drawing name2.

Drawing Manager changes the drawing back to its original name, drawing name1, in the database. The original .pid file pathname\drawing name1 is also replaced. You must delete the .pid file for pathname\<Drawing Name2>.

  • You must have either site administrator or modify privileges to save versions or recover drawings.

  • You cannot restore hierarchy items by using drawing recovery. For example, if a unit is deleted, an archived drawing belonging to that unit can never be retrieved.