Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki To Modify Default Outside Diameter Value for End Types 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
            • Error in Spec Gen does not load EC Class Name when Catalog is loaded
            • Field Reference Description in OpenPlant Modeler
            • Gaskets Not Converted from PSDS Spec to OpenPlant Modeler Spec
            • How to Convert AutoPLANT PDW Catalog to OpenPlant Modeler Format Using Exchange Option of SpecGen
            • How to Convert PSDS Catalog/Spec to OpenPlant Format
            • How to Correct Spec Changes Using Spec Validation Tool
            • How to Create New Spec in OpenPlant Specification Generator
            • How to Delete-Modify Sections in Specification Generator
            • How To Filter data with Multiple Selection in Specification Generator
            • How to Fix Unit Conversion Issue in OpenPlant Specification Generator
            • How to Include Branch Code Inside Branch Table For Specification Generator in OpenPlant Modeler
            • How to Modify Static Text of Custom Description in OpenPlant Specification Generator
            • +How to Use AutoPlant Catalogs to Create OpenPlant Spec using SpecGen
            • Lap Joint Stub End Not Converted from PSDS Spec to OpenPlant Modeler Spec
            • Olet Section Doesn't Show All Sizes From Catalog in Specification Generator
            • OpenPlant End Condition Long Descriptions
            • To Add Custom Description in a Field to Populate in OpenPlant Modeler
            • To Add EC_CLASS_NAME for Component Table in Catalog Editor
            • To Add LookUp Value in Spec Grid during Placement of Component in OpenPlant Modeler
            • To Add Support Class Property to be Read by Specification in OpenPlant Modeler
            • To Convert Nozzle Data from PSDS to OpenPlant Modeler Spec
            • To Create Missing FLOW_METER Class data in OpenPlant Modeler
            • To Create Missing SIGHT_GLASS Class data in OpenPlant Modeler
            • To Define Default Value of Branch Code for Piping Component
            • To Fix Multiple Duplicate Records Showing in Catalog Editor Interface
            • To Import Access Specification Reports in Excel
            • To Modify Default Outside Diameter Value for End Types in OpenPlant Modeler
            • To Pick Reduced Half Coupling under Branch Table Automatically in OpenPlant Modeler
            • Use Of Reinforced Branch Connection Types Using Branch Table
          • +ProjectWise - OpenPlant Modeler
          • +Properties - 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. 

    To Modify Default Outside Diameter Value for End Types 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:  OpenPlant Specification Generator
    Subarea:  -
    Original Author: Rahul Kumar, Bentley Product Advantage Group

    Overview

    To customize default OD value for End types and based on size in OpenPlant Modeler.

    Problem Description

    User requirement was to modify the OD for various End Types. Currently during spec creation, user wanted to set the OD for end types such as Socket End, as per catalog, used for project standard value. By default it has been set for 1.2 X OD of MAIN_PORT, RUN_PORT, BRANCH_PORT etc. User can modify the value from 1.2 to other multiple factor as per requirement. A schema modification has been required under PORT class where user can alter the calculated EC expression. Below settings has been described to change the value for a Socket end type from 1.2 to 2.0

    Steps to Resolve

    1. Class editor, Open ‘OpenPlant_3D.01.06.ecschema.xml’ and supplement it with ‘OpenPlant_3D_Supplemental_Modeling.01.06.ecschema.xml’ schema.

      Above schema can be found by navigating below project path :
      C:\ProgramData\Bentley\OpenPlantModelerV8i\WorkSpace\Projects\ OPModeler_Metric\DataSet\Schemas

    2. Locate the FLUID_PORT class.

    3. From Properties Tab, check property OUTSIDE_DIAMETER_OF_SOCKET_END.

    4. Check custom attribute OpenPlant_Physical_Port_Property_Map. See image below.



    5. Change the factor from 1.2 to 2 as shown in below image.



    6. Save & Close Schema.

    7. Launch OpenPlant Modeler, Place a socket end type component and verify results.

    8. See below image for end type SWF for a Ball valve before and after changes. 

      Before modification with factor 1.2


      After modification with factor 2.0


    9. Above explanation will set the value as common for all sizes.

    10. To set different value as per size, user need to update the custom attribute with below EC expression. Below expression has been considered to set the default value as 1.5 X OD for size <= DN40 and 2.0 X pipe OD for size >= DN50

      IIF(THIS.END_PREPARATION = "SOCKET_WELD_FEMALE" and THIS.OUTSIDE_DIAMETER <= 48.3, THIS.OUTSIDE_DIAMETER * 1.5, IIF(THIS.END_PREPARATION = "SOCKET_WELD_FEMALE" and THIS.OUTSIDE_DIAMETER >= 60.3, THIS.OUTSIDE_DIAMETER * 2.0, 0))

      Note – Copy above expression and paste it to notepad and then use the expression to input in schema. Otherwise double quotes might create problem.

    11. Save & Close schema and verify results. See below image.



    12. Similarly user can set and define the OD for multiple sizes with respect to standard catalogs. 

    See Also

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/13028.openplant-specification-generator

    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!

    • Outside Diameter
    • specification generator
    • Threaded
    • END Types
    • 08.11.09.XXX
    • SW
    • OD
    • schema
    • Share
    • History
    • More
    • Cancel
    • Rahul Kumar Created by Bentley Colleague Rahul Kumar
    • When: Fri, Sep 25 2015 9:59 AM
    • Rahul Kumar Last revision by Bentley Colleague Rahul Kumar
    • When: Mon, Nov 7 2016 3:37 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