Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenPlant | AutoPLANT
  • Product Communities
  • More
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to Populate Header Nominal Diameter for Tap Connection in OpenPlant Modeler
    • 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.
      • +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 Populate Header Nominal Diameter for Tap Connection in OpenPlant Modeler

      Applies To 
       
      Product(s): OpenPlant Modeler
      Version(s): 08.11.11.87
      Environment:  Windows 8.1/ 10
      Area:  Properties
      Subarea:  Tap Connection- Header Size
      Original Author: Rahul Kumar, Bentley Product Advantage  Group
       

    To populate Header Size on Tap Connection Class to show in Item Browser. 

    Background

    Tap Connection Class does not contain Header Size information to which size it is getting connected to. Below steps explains the step to incorporate to deliver the information. User need to create a new property and add an expression to generate data. Since TAP_CONNECTION class does have a relationship class as PIPING_COMPONENT_HAS_TAP_CONNECTION which will easily provide the information by defining it on custom attribute. See below. 

    Steps to Accomplish

    1. In Class editor, open "OpenPlant_3D.01.07.ecschema.xml".

    2. Locate the TAP_CONNECTION class.

    3. On Properties Tab, create a new property. See below steps.

      1. To Create a new property, Click on Add-> New. See image below.



      2. Assign a Name, say HEADER_SIZE & in DisplayLabel field type as “Header Nominal Diameter” like shown in below image.



    4. Add Custom Attribute “Calculated ECProperty Specification” on new property HEADER_SIZE, and assign the location like shown in image below.

      1. To Assign Custom Attribute, click on “Custom Attribute”->Add/Remove option. See image below.



      2. From Add/Remove Custom Attributes dialog, search for “Calculated ECProperty Specification” custom Attribute (CA). Click on desired one & pull it down from down button displayed in middle. Check Location correctly & Click on OK. See image with steps described below.



    5. Define expression to below CA and add other fields like shown in below image.  
      this.GetRelatedInstance("PIPING_COMPONENT_HAS_TAP_CONNECTION:1:PIPING_COMPONENT").NOMINAL_DIAMETER



    6. Save & Close schema.

    7. Launch OpenPlant Modeler & verify results. Notice both header & tap size information. 




    To Change Display Name for Tap Connection By Size

    Background

    Tap Connection Class currently display as TAP_CONNECTION which does not gives clear picture what sizes till it gets modeled. Further user need to expand the tree and check the sizes in property dialog box which is an additional job for the modeler. A quick case would be to define the expression on its class to get the desired results. One example ( To display as Tap DN100xDN50 ) has been shown below to resolve such issue. See below steps to accomplish. 

    Steps to Accomplish

    1. In Class editor, open "OpenPlant_3D.01.07.ecschema.xml".

    2. Locate the TAP_CONNECTION class.

    3. On Properties Tab, go to NAME property. 

    4. Check Custom Attribute “Calculated ECProperty Specification” on it. See image below for default expression. 



    5. Change the expression as mentioned below.

      "Tap" & "DN" & this.GetRelatedInstance("PIPING_COMPONENT_HAS_TAP_CONNECTION:1:PIPING_COMPONENT").NOMINAL_DIAMETER & "x" & "DN" & this.NOMINAL_DIAMETER



      Note - Copy above mentioned expression to notepad and then paste it to expression. Alternatively you can type it to avoid any errors.

    6. Save & Close schema.

    7. Launch OpenPlant Modeler & verify results. Notice tap size information for each Tap present in Model.

    See Also http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/16936.properties-openplant-modeler

    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
    • OPM
    • 08.11.11.87
    • Header Size
    • nominal diameter
    • Tap connection
    • schema
    • Share
    • History
    • More
    • Cancel
    • Rahul Kumar Created by Bentley Colleague Rahul Kumar
    • When: Thu, Jun 2 2016 3:59 AM
    • Rahul Kumar Last revision by Bentley Colleague Rahul Kumar
    • When: Thu, Jun 2 2016 6:21 AM
    • Revisions: 3
    • 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

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