How to Format Default Number Property in OpenPlant PID CONNECT Edition



Applies To 
Product(s):OpenPlant PID CONNECT Edition update 9
Version(s):

10.09.00.74

Environment: Windows 10 (64-bit)
Area: Placement
Subarea: Number Format
Original Author:Deepak Singh, Bentley Product Advantage Group

In OpenPlant PID CONNECT Edition, requirement is to format Number property so that desired number format can be set by default.

Background

In OpenPlant PID CONNECT Edition, upon placing components like Equipment, Valves, Pipeline etc, it shows number property in four digits as shown below.

In this wiki article, we will explore the changes that are required to achieve desired result.

Steps to Accomplish

  1. Launch Bentley Class Editor.
  2. Load OpenPlant_PID.01.08.ecschema.xml
  3. Supplement it with OpenPlant_PID_Supplemental_Design.01.08.ecschema.xml
  4. Once loaded, navigate/go to DEVICE Switch to Properties tab and search for NUMBER property as shown below.



  5. Scroll down and notice that NUMBER property has Property Custom Attribute applied on it. To Property Custom Attribute we have Format String with {0:D4} as shown below.



    Here 0 states number will start with zero and D4 states four digits. Let’s assume our requirement is to have for three digits then make changes as {0:D3}. Refer image as shown below.



  6. Save all the schema changes. Load OpenPlant PID CONNECT and place equipment to verify the result.



See Also

communities.bentley.com/.../how-to-format-default-number-property-in-openplant-modeler-connect-edition