
| Applies To | | |
| |
| |
| Product(s): | OpenPlant Modeler | |
| Version(s): | 08.11.09.XXX & Higher | |
| Environment: | Windows 7/8 (64 bit) | |
| Area: | Properties | |
| Subarea: | | |
| Original Author: | Harpreet Singh, Bentley Product Advantage Group | |
Background
This article will explain how can we add DN as a prefix with Nominal Diameter so that it list out the diameters as DN25, DN50, DN100 and so on. However, there is no direct way to list out the diameters in the NOMINAL_DIAMETER property but yes as a workaround we need to create another property and add a new field in the pipe spec which will have the diameters with DN.
Steps to Accomplish
A. Changes Required in Spec
- Open the Spec file in MS-Access.
- Open the Pipe table and add a new field PIPE_SIZE.
- Add the corresponding MAIN_SIZE values to PIPE_SIZE table with DN prefix as shown below:

- Save the changes in spec file and close it.
B. Changes Required in Schema
- Launch Class Editor and load OpenPlant_3D schema.
- Supplement it with OpenPlant_3D_Supplemental_Modeling schema.
- Go to Piping_Component class and add a new property "PIPE_SIZE".

- Select NOMINAL_DIAMETER property on the same class and click on Custom Attributes button.

- Select the Copy option from the list.

- Select both custom attributes and click down button and then Copy.

- Now select PIPE_SIZE property, click Custom Attribute and select Paste option.

- Both custom attributes will be added to PIPE_SIZE property and now we need to update the values.
Change the Box Order and Input method fields in Standard Preferences attribute as highlighted:

Change the Property Name field to PIPE_SIZE in OpenPlant_Physical_Catalogue_Property_Map attribute.

- Go to NOMINAL_DIAMETER property and update the following fields:
Change the Input method and add the string QUERY PIPE_SIZE = '[PIPE_SIZE]'

- Save the changes in schema.
Verify the Result
- Launch OPM and open a new Model.
- Create a new pipeline.
- In standard preferences, Select the Pipe Size from the PIPE_SIZE property.

- Based on the pipe size, Nominal Diameter will automatically get updated.
See Also
communities.bentley.com/.../21950.how-to-add-inch-sign-with-nominal-diameter-in-pipeline-tag
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!