Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to Prefix 'DN' with Pipe Size in OPM
    • Sign In
    • -OpenPlant | AutoPLANT Wiki
      • -OpenPlant
        • +CONNECT Services - OpenPlant
        • +Example Configuration - CONNECT Edition
        • +Installations - OpenPlant CONNECT Edition Applications
        • +OpenPlant Download Links & Videos
        • OpenPlant Product Compatibility
        • +OpenPlant Modeler CONNECT
        • +OpenPlant PID CONNECT
        • +OpenPlant Isometrics Manager CONNECT
        • +OpenPlant Orthographics Manager CONNECT
        • +OpenPlant Support Engineering CONNECT
        • +OpenPlant Project Administrator CONNECT
        • +OpenPlant CONNECT Edition-PlantSight Integration
        • -OpenPlant Modeler v8i
          • +Component - OpenPlant Modeler
          • +Drawing Generation- OpenPlant Modeler
          • +Errors, Logs, Messages, Crashes - OpenPlant Modeler
          • +Import/Export- OpenPlant Modeler
          • +Installation - OpenPlant Modeler
          • OpenPlant HVAC-OpenPlant Modeler
          • OpenPlant Modeler [FAQ]
          • +OpenPlant Specification Generator
          • +ProjectWise - OpenPlant Modeler
          • -Properties - OpenPlant Modeler
            • +Fundamentals of External Database Query in OpenPlant Modeler
            • How to Add Component's Facing Property in Element Information dialog
            • How to Add Inch Sign with Nominal Diameter in Pipeline Tag
            • How to Add New/Existing Property to Nozzle Manager Dialog in OpenPlant Modeler
            • How to Add/Remove Properties in Flyover Hints
            • How to Associate the Specification Based on Service
            • How To Change Attributes of Pipe Based on Component State Using Named Expression
            • How to Change the Units of Measurement for ECProperty in OPM
            • How To Create and Populate Service Description Property on Piping Component Element Information
            • How to Exclude Plant Area Property From Consistency Checker
            • How to get Joint Type Information on Gaskets
            • How to Identify Inconsistency of Component Data with Consistency Checker
            • How to Map Spec Field with OpenPlant Modeler Property
            • How to Modify Supports in Bulk in OpenPlant Modeler
            • How to Move Properties Between Categories
            • How to Populate Header Nominal Diameter for Tap Connection in OpenPlant Modeler
            • How to Prefix 'DN' with Pipe Size in OPM
            • How to Set Default Value on EC Property
            • How to Show Nominal Diameter in Three-Digit Format for Support Tag Name
            • How to Update Bolts and Gaskets in OpenPlant Modeler
            • How to Update Pipeline Tag Name or Component Property After any Changes in Schema
            • To Modify Equipment Tag For FreeForm Nozzle in OpenPlant Modeler
            • To Modify Pipeline Tag Name in OpenPlant Modeler
            • To Obtain Arc Length for Pipe Bends in OpenPlant Modeler
          • +Release Notes - OpenPlant Modeler
          • +Schema - OpenPlant Modeler
          • +Settings/Attributes - OpenPlant Modeler
          • +Structural Modeling Components (SMC)- OpenPlant Modeler
          • +Tasks - OpenPlant Modeler
          • +Training - OpenPlant Modeler
        • +OpenPlant Isometrics Manager v8i
        • +OpenPlant Project Administrator v8i
        • +OpenPlant PID v8i
        • +OpenPlant Orthographics Manager v8i
        • +OpenPlant Support Engineering v8i
        • +OpenPlant ModelServer v8i
        • +OpenPlant Reporting v8i
        • How to Connect with Bentley Technical Support Team using Microsoft Teams
        • How to Connect with Bentley Technical Support Team using Microsoft Teams via Browser
        • How to get list of installed applications/programs on Windows Machine using Command Prompt.
        • How to get list of Windows Updates installed on the machine using Command Prompt.
        • How to Package WorkSpace to be Shareable to Users for OpenPlant Projects
        • How to find iModel.dgn file of another domain in PlantSight
      • +Bentley AutoPLANT
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
      • Your Feedback is important to us!

     
     Questions about this article, topic, or product? Click here. 

    How to Prefix 'DN' with Pipe Size in OPM

    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

    1. Open the Spec file in MS-Access.

    2. Open the Pipe table and add a new field PIPE_SIZE.

    3. Add the corresponding MAIN_SIZE values to PIPE_SIZE table with DN prefix as shown below:



    4. Save the changes in spec file and close it.

    B. Changes Required in Schema

    1. Launch Class Editor and load OpenPlant_3D schema.

    2. Supplement it with OpenPlant_3D_Supplemental_Modeling schema.

    3. Go to Piping_Component class and add a new property "PIPE_SIZE".



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



    5. Select the Copy option from the list.



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



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



    8. 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.



    9. Go to NOMINAL_DIAMETER property and update the following fields:

      Change the Input method and add the string QUERY PIPE_SIZE = '[PIPE_SIZE]'



    10. Save the changes in schema.

    Verify the Result

    1. Launch OPM and open a new Model.

    2. Create a new pipeline.

    3. In standard preferences, Select the Pipe Size from the PIPE_SIZE property.



    4. Based on the pipe size, Nominal Diameter will automatically get updated.

         

    See Also

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/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! 

    • OpenPlant Modeler
    • Pipe size
    • OPM
    • 08.11.09.XXX
    • DN
    • 08.11.11.87
    • DIN
    • Nominal Dia
    • prefix
    • Share
    • History
    • More
    • Cancel
    • Harpreet Singh Created by Harpreet Singh
    • When: Mon, Jun 22 2015 11:08 AM
    • Harpreet Singh Last revision by Harpreet Singh
    • When: Thu, Jun 2 2016 4:54 AM
    • Revisions: 5
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies