How to Upgrade PID Models to Latest Version Using Batch Process


Applies To
Product(s):OpenPlant PID V8i
Version(s):08.11.11.XXX(SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: OPPID - Document setup
Subarea: Upgrading
Original Author:Kestutis Mitkus, Bentley Product Advantage Group

All older version models opened in latest SS6 OpenPlant PID application should be upgraded and by default it will always ask for upgrade. There are situations when users are upgrading their projects and because of big count of models such model upgrading procedure might take some time. We have a solution to upgrade all required models in one go with special Batch upgrade procedure. Below are detail steps of how to achieve this requirement.

Preparation

If you would like to have original models not changed, copy them out from PW or from project location to any folder on the machine or just paste them to your SS6 Project.

We will use standard OPPID_Metric project and in order to avoid file copy or Renamed dialog 



we should edit project’s *.pcf file by adding below variable:

_BMF_FILECONFLICT_BATCHREPLY=1

Make sure project has not ben associated with Plant project otherwise Batch process will be disturbed with other dialog, which will inform about different project association with models.

But if all models previously were assigned with Plant project, then you should add SAMPLE_METRIC project ID and Root folder path:

Batch Procedure

  1. Load OPPID, select OPPID Metric project and open one SS5 model from folder where they were copied

    If model previously was associated with some Plant Project, then on first opening it will recognize that project is associated with different Plant project. In order to not break our Batch procedure with all models we should select No to stay with original Plant Project.



  2. Then it will suggest upgrading



  3. After upgrading it will ask about was this file moved/renamed or copied
    Moved/renamed won’t change GUIDs when Copied will create new GUIDs and will change them all.



  4. After model is opened we need to open Key-In dialog, write pid logmode batch and then hit enter.
    NOTE: This is mandatory requirement for Batch process!!!



  5. Then select Utilities>Batch Process…



  6. Select to Create New Command file and It will be opened for editing.



    NOTE: If there is requirement to publish I-models then In this Batch file you can add command publishdgn publish force, which will force i-model publishing right after upgrading it.



  7. Select Edit>Add Files and select all not upgraded files from all required locations.



    Select all models in the list and change Initial Model selection to Default Model Only and hit Apply to Selection


  8. Then File>Process… and accept with processing. It will start upgrading models one by one without any issues


Batch process video:

Comments or Corrections?

Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!