How to Get Inside Diameter Calculated in OpenPlant Modeler


Applies To
Product(s):OpenPlant Modeler
Version(s):08.11.09.XXX (SS5) | 08.11.11.XX (SS6)
Environment:Windows 7/8.1/10 (64 bit)
Area:Component
Subarea:Data
Original Author:Harpreet Singh, Bentley Product Advantage Group

Background

In default configuration of OpenPlant Modeler, Inside Diameter of pipe is not populated as shown below.

Steps to Accomplish

  1. Launch class editor and load OpenPlant_Catalogue.01.07 schema. This schema is located in C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\OPModeler\schemas folder.

  2. Go to AP_3D_PIPE class as shown below.



  3. Switch to properties tab and add new property.



  4. Name the property PIPE_OD_M and change the property Type Name to "double" as shown below.



  5. Add another property WALL_THICKNESS_1 and change the TypeName to "double".



  6. Save the changes in the schema and load OpenPlant_3D schema from your project schemas. This schema is generally located in C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\Projects\%Project_Name%\Dataset\schemas folder.

  7. Go to PIPE class and switch to properties tab.




  8. Locate INSIDE_DIAMETER property and click OVERRIDE button.



  9. Add custom attribute "OpenPlant_Physical_Catalogue_Property_Map" on this property.



  10. Right click on EC Expression field and select "Add Element" option.



  11. Add below expression in EC Expression field.

    COMPONENT_TABLE.PIPE_OD_M - (COMPONENT_TABLE.WALL_THICKNESS_1 * 2)



  12. Similarly, override OUTSIDE_DIAMETER property.



  13. Add "OpenPlant_Physical_Catalogue_Property_Map" custom attribute and add PIPE_OD_M in Property Name field.



  14. Save the changes and verify the result by placing a new pipe in the model.

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!