PDA

View Full Version : Truly Renaming a Document



infilcolee
03-29-2011, 06:43 AM
I have just created a P&ID and found out that the document name needs to be changed. I have found that it is not as simple as just renaming the document in Document Manager. I am worried that if I physically rename the DWG file than it will mess with connections to the database. Is there a complete and full-proof way of renaming a drawing in your project?

tkmashl
03-29-2011, 06:51 AM
Relationship Manager

infilcolee
03-29-2011, 07:24 AM
Are you referring to Project Administrator or Document Manager? I know how to rename the document in Document Manager, but you have to update the record somewhere else.

I renamed the document in Document Manager, but when I went to create a new drawing with the previously used drawing name is gave me a message that there is still a record of it in REGAPP.

PeterJ
03-29-2011, 07:24 AM
1
Rename the physical document
2
Go into the database (Open projdata.mdb or adp with MSACCESS), locate DOC_REG table, find the record for your document and adjust content of DOC_FNAME.

Done! The database links will not be affected since they depend on the DOC_ID value which stays the same.

tkmashl
03-29-2011, 07:43 AM
If you are using 8.6 it is called" Project Object Maintenance Tool"

XM and up it is called Relationship Manager.

it will be in the "project tools" folder under Bentley.

Peter's way is faster =).

TKM

infilcolee
03-29-2011, 08:18 AM
Got it. Thank You Guys

PartRidge
03-31-2011, 01:11 PM
Or if you want to make it fully functional in Document Manager/Vision you can make some minor updates to the RebisDict table in the Schema.mdb and Document Manager/Vision will then ask you for confirmation of renaming the network file DWG(Document Filename). Which still does not affect any of the link records.

Document Manager has 2 displays of the document name, one is the virtual name(Document Manager Properties tab Property Document Name) and the other is the physical dwg name(Document Manager Properties tab Property Document Filename).

Locate your project Schema.mdb located in the projdata folder of your project. Open the Schema.mdb, then open the RebisDict(RebisDictionary) table. Locate the records in VIEW_NAME Column with a value of "AT_DWG_NAME" and then specifically the record with a FIELD_NAME Column value of DOC_FNAME. Scroll over until you find the FUN_ACCESS and LEV_ACCESS columns and change the value from "0000" to "FFFF". Restart Document Manager. Now anytime you need to rename the dwg portion double-click the Document Filename value field in the Properties tab and change it to the new name. It should then pop up a confirmation dialog saying it is going to change the filename on the network. Acknowledge ok and done.