How to Add custom attribute on a double type property in OpenPlant PID CONNECT Edition



Applies To 
Product(s):OpenPlant PID CE
Version(s):

Update 9

Environment: Windows 10 (64 bit)
Area: Schema Customization
Subarea: Property Customization
Original Author:Jayu Bhosale, Bentley Product Advantage Group


Background

In OpenPlant PID CE, placing pipeline with a defined Design Size values doesn’t cascade its value to the Nominal Diameter property.

Steps to Accomplish

  1. Launch Bentley Class Editor V8i

     

  2. Open “OpenPlant.01.08.ecschema.xml. ec schema from workset location”

  3. Supplement “OpenPlant.01.08.ecschema.xml with “OpenPlant_Supplemental_Tagging.01.08.ecschema.xml & OpenPlant_Supplemental_View.01.08.ecschema.xml



    a. From Find class tool search for PIPING_NETWORK_SYSTEM, refer image as shown below



    b. Switch to Properties Tab > search for NOMINAL_DIAMETER > Right click > Custom Attributes > copy (Category)



    c. Search for DESIGN_SIZE > Right click > Custom Attributes > paste (Category)





  4. Open “OpenPlant_PID.01.08. ec schema from workset location” 



  5. Supplement “OpenPlant_PID.01.08.ecschema” with OpenPlant_PID_Supplemental_Design.01.08.ecschema


  6.  From Find class tool search for PIPELINE, refer image as shown below



  7. Go to Pipeline class and switch to Properties tab.



  8. From Properties tab search for NOMINAL_DIAMETER and click on Override to localize the property.

  9. For NOMINAL_DIAMTER property, add Property Custom Attributes from Add/Remove list and fill the details as shown.
    Refer image as shown below.



    a. Property Custom Attributes



  10. From Properties tab search for DESIGN_SIZE and add String List Custom Attributes as shown below.



    a. Right click on Items and select Add element as shown below.



    b. Enter details as NOMINAL_DIAMETER



  11. Save All schema changes.



  12. Launch OpenPlant PID CE U9 and verify the result.



See Also

communities.bentley.com/.../how-to-add-a-derived-class-using-openplant-project-administrator

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!