OK,
I have been working on a small project for a couple of months and have had no problems. I have a single Plant 3D model that is being used to visually represent the piping changes to an existing facility, so the piping is minor. There is only one Plant 3D model and one P&ID drawing in the project.
Here is what happened: I was exporting a view of the model to a PDF file. During the export, it crashed and created a recover drawing (plantmodel_recover.dwg). I shut down and restarted, opened the recover file, went through the recovery process, then did a "save as" to update the drawing in the project.
I have done this before with no trouble, but maybe the is the wrong procedure. The problem now is that Plant thinks this new drawing is a P&ID, has moved it to the P&ID category and will not let me move it back, delete and link to, or any other combination to add it to the correct category in the project. Thus, I can't work on the piping items because it doesn't allow editing of piping items in a non-piping drawing.
If anyone has thoughts, I am open!! I am happy to clarify if I confused anyone.
Thanks,
Stephan
Save as is definitely the wrong way to go.
1. Remove the drawing from the project (renamed it to drawing_old.dwg or something).
2. Rename the backup or temp save drawing and put it in the project folder.
3. Use Copy Drawing to project to bring in the backup.
Otherwise the information doesn't always point to the right objects.
OK,
I tried this and it reminded me of why I did the method above. Originally, I recovered the file and tried to "link to drawing" and got this error. Today, I followed your procedure line by line and got this error:
"Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I am on a corporate server, so I sincerely doubt I have corrupt memory.
Stephan
Due the way the drawing records have been handled, the error is probably from old records being in the database.
Run AUDITPROJECT, PLANTAUDIT, and then try the procedure from before.
OK,
I tried the two commands with a P&ID drawing open, then tried to copy the model drawing file to the project, no luck (same error).
I then opend the recovered drawing, got a warning that it was a plant drawing, but not part of the current project and tried the two commands again. This is what happened:
Command: auditproject
Command: Beginning audit of project 'Rock River'
... Auditing project part 'PnId'
... Checking drawing Q:\22\90136\Rock River\PID DWG\PID Sheets.dwg
... Checking database record 1 of 258. Checking database record 50 of 258. Checking database record 100 of 258. Checking database record 150 of 258. Checking database record 200 of 258. Checking database record 250 of 258. Checking database record 258 of 258. Checking acquisition properties in 'EngineeringItems' table
... Checking acquisition properties in 'NonEngineeringItems' table
... Checking acquisition properties in 'PipeLineGroup' table
... Checking acquisition properties in 'SignalLineGroup' table
... 258 database records audited.
There are no errors found.
Auditing project part 'Piping'
... Project has unsaved data.
Please save or discard your work and run AUDITPROJECT again.
Auditing project part 'Iso'
... 0 database records audited.
There are no errors found.
Auditing project part 'Ortho'
... 0 database records audited.
There are no errors found.
Auditing project part 'Misc'
... 0 database records audited.
There are no errors found.
Command: plantaudit
Command: The auditing process is starting. The audit process was aborted due to the following error: eCannotBeErasedByCaller
So, should I run the audit commands with no drawings open and if so, how do I do that?
Thanks,
Stephan
Run the commands after opening a new drawing (or template). You don't have to be in a project drawing. As long as you have a project current (and you do most of the time), Plant will run the commands in that project.
Way to go Dave!!
I opened a new drawing (temp.dwg) under "Plant 3D Drawings" category in the project manager, then I ran the two audit commands. I then did "copy drawing to project" for the model that I had trouble with and BOOM! All is well.
Thanks very much Dave.
Stephan
Glad to help!
Please mark my post as the answer if it answers your question. Marking answers helps other find solutions faster. Thanks!