Product(s): OpenPlant PowerPID V8i
Version(s): SELECTseries 3+
Description: OpenPLANT P&ID's are overwritting data in other drawings. OpenPLANT P&ID's are not gettig wrote to the Doc_Reg table. Tags are not getting written or are overwritten in the TAG_REG and INSTR tables.
Cause: All drawings have the same GUID. This is because the seed.dgn file was opened in OpenPLANT P&ID and was assigned a GUID itself and P&ID items. This corrupted the seed file and all new drawings will have the same GUID from the seed.
Solution: Regenerate new GUID per drawing.
***BEFORE ATTEMPTING THIS IT IS ALWAYS BEST TO BACKUP YOUR PROJECT P&ID’S AND DATA***
Repairing the drawings
Follow the steps below for each drawing:
1. Open each drawing (make sure it does not sync to database on open).
2. From the key-in (Utilities > Key-in…) run the following Key-in commands.
a.pid plantproject disassociate
b.pid model regenguid
c.Exit drawing
3. Reopen each drawing.
4. Connect to database.(File > Uncheck Offline)
5. Open the Drawing Settings. (Settings > Drawing…)
a. Make sure that there is a new GUID.
6. Sync to the database
7. Check the database and make now that this drawing is in the database.
Please note:
If prompted to move or copy the drawing. You can select the COPY option. The COPY option will basically run the same Key-In functions and regenerate the drawing a new GUID. You could skip step 2. If the COPY option appears and you choose it simply start with Step 3 in the steps above.
You will need to go through each drawing and perform the Key-Ins and the steps. This will repair each drawing and resolve the updating problems in the database. All drawings will appear in the Doc_Reg table. All Tag_No’s will be corrected in the TAG_REG and INSTR tables.
Just for information purposes:
What causes the problem with the GUID? How to replicate the problem.
This is caused by a seed file that was opened in OpenPLANT P&ID and was assigned P&ID components and a GUID.
1. To duplicate this copy the seed file and rename to SeedTest.dgn
2. Open SeedTest.dgn
3. This opens the seed file and makes it an OPPID drawing.
4. Rename SeedTest.dgn to seed.dgn
a.Any drawings created now uses the invalid seed file.
b.Make sure to backup of your original seed.dgn
5. Create two drawings that use seed file that was opened as an OPPID dgn
a.St1.dgn and st2.dgn
b.Place a pump in each
c.Sync to database
6. Both have the same GUID
a.{DB3C802E-0AD5-4785-A2BD-258CC9F0FA21}
b.This can be check by going to the Drawing settings
7. When you open either drawing and sync
a.The doc_reg, Tag_Reg, Instr table entries gets overwritten.
b.The equipment records get overwritten (Tag_reg,key_link,eqp_lnk,equip).
Why do they get overwritten?
Because they have the same GUID.