There are a few ways you could do this.. The easiest would be to simply open the models and load piping, equipment etc. It will recall the project it was created in and load it (as long as you have added the project root to the user's machine). The name of the project will appear on the top of the AutoCAD window. See teh attached image projname for an example. Another way would be to query the XDATA of the models. When you load a model with the AutoPLANT profile active, you can type the following at the command line: (at_dwgdata_getfldlist "AT_REBIS_APP" "AT_REBIS_APP_D B") This should return all the XDATA of the model to the command line. It will look like this, with the highlighted portion being the project name: (("AT_REBIS_APP_DB_PROJECTID" "0001") ("AT_REBIS_APP_DB_PROJECTROOT" "C:\\BRUnited\3D_Model ing\\BentleyDB\\") ("AT_REBIS_APP_DB_PROJECTNAME" "00044143000") ("AT_REBIS_APP_DB_FORMAT" 2) ("AT_REBIS_APP_DB_VERSION" "8.11.0000") ("AT_REBIS_APP_DB_NAME" "C:\\Windows\\system32\\Drawing1.MDB"))
↧