To Modify Pipeline Tag Name in OpenPlant Modeler


Applies To 
Product(s):OpenPlant Modeler
Version(s):08.11.09.XXX (SS5) | 08.11.11.XXX (SS6)
Environment: Windows 7/8.1/10 (64 bit)
Area: Properties
Subarea: -
Original Author:Rahul Kumar, Bentley Product Advantage  Group

Overview

To Modify Pipeline Tag Name as per project tagging nomenclature in OpenPlant Modeler. 

Problem Description

User requirement was to modify the Pipeline tag Name as per project requirement. By default OpenPlant Modeler pipeline tag contains UNIT-SERVICE-NUMBER-SPEC

          

          

New Pipeline tags was required to have the nomenclature as UNIT-SERVICE-SPEC-NUMBER. Below steps illustrates on modifying tagging for a pipeline in OpenPlant Modeler.  

Steps to Resolve

  1. In Class editor, open ‘OpenPlant.01.07.ecschema.xml’ schema. User can get this primary schema at workspace level. See below default path. 
    C:\ProgramData\Bentley\OpenPlantModelerV8i\WorkSpace\OPModeler\schemas

  2. Supplement it with OpenPlant_Supplemental_Tagging.01.07.ecschema, which is present at project level.
    Above schema can be found by navigating below project path: 

    %ProjectRoot%\ DataSet\Schemas.

  3. Locate the PIPING_NETWORK_SYSTEM class. 
  4. Check NAME property and see Calculated ECProperty specification custom attribute, where the expression has been defined for pipeline tag.



  5. Rename the order of properties as desired, say this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this. SPECIFICATION & "-" &  this.NUMBER.
  6. Also change the Parse regular Expression, as this will enable user to edit the tag fields. See image below after modification.

    ^[?\w]*-[?\w]*-(?<SPECIFICATION>[?\w]*)-(?<NUMBER>.*)|(?<NUMBER>.*)



  7. Save & Close schema.
  8. Launch OpenPlant Modeler and verify results. 



  9. Similarly user may define several tagging rules as per project requirement by changing or adding different set or properties. 

Adding a New Property to Pipeline Tag

Sometimes it may require to add a new Property in addition to Existing pipeline tag, which contains UNIT-SERVICE-DWGNAME-NUMBER-SPECUser need to create a new property "DWGNAME" and need to assign it under category "Tag Information". See below steps to achieve it. 

  1. Repeat Step 1-3, as mentioned in above section for opening schema. 
  2. Create a new property "DWGNAME". 





  3. Add "Category" custom attribute to it. One easiest way is to copy it from existing property where it has defined. For example check "NUMBER" property. Copy the custom attribute from it. See image below. 



  4. User should ensure the location of custom attribute as mentioned in below image.



  5. Paste it to new property "DWGNAME" created. See image below. 



  6. Save & Close Schema. 
  7. Also Set the tag on NAME class as mentioned in above section under steps 5-7. See image below.



  8. Launch OpenPlant Modeler and Verify Results. See image below. 

See Also

communities.bentley.com/.../16936.properties-openplant-modeler

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!