Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AutoPLANT | OpenPlant | PlantWise
  • Product Communities
  • More
AutoPLANT | OpenPlant | PlantWise
AutoPLANT | OpenPlant | PlantWise Wiki How to Modify Default Value for Device Type Code to a Specific Component Class
    • Sign in
    • -AutoPLANT | Bentley Raceway and Cable Management | OpenPlant | PlantWise 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
        • +OpenPlant Isometrics Manager v8i
        • +OpenPlant Project Administrator v8i
        • -OpenPlant PID v8i
          • +Application Solutions - OPPID
          • +Class Editor - OpenPlant PID
          • -Customization - OpenPlant PID
            • +Customize Tag or Annotation
            • +How do Modify the Component Flow Arrow?
            • How To Add & Write New Pipeline Size in OpenPlant PID
            • How to Add Custom Border in OpenPlant PID
            • How to Add Unit Abbreviations in DGN Reports and in the Databse
            • How to Add Units of Measurement on Property in OpenPlant PID
            • How to add “DN” prefix to valve size annotation in OpenPlant PID CONNECT Edition.
            • How to Add/Remove Tools in Main Task of OpenPlant PID
            • How to Assign Color by Service to the Pipeline
            • How to Assign Color to Equipment, Nozzle & Instrument by Service.
            • How to Break Multiple Properties on Spec Break
            • How to by pass the default line break and have a pipeline place on top of equipment.
            • How to Calculate and Customize the PID Text Style Size for Components
            • How to Change Pipeline Color and Line Weight in OpenPlant PID
            • How to change the Date format for properties in OpenPlant PID CONNECT Edition.
            • How to Change the Order of Properties in Element Info and Component Dialog
            • How to Change the Priority of Pipe run Breaks
            • How to Configure OpenPlant PID to Show Imperial & Metric sizes in the Same Project
            • How To Create a Capsule Symbol for Instrument Winterization
            • How to create a pick list on EC Property using External Datasource definition
            • How to Create Battery Limit Symbol with Mirroring Capability in OpenPlant PID
            • How to Create Custom Icon in OPPID
            • How to Create Custom Instrument and Custom Property Annotation.
            • How to Create Custom Spec Break with Extended Leader Line in OpenPlant PID
            • How to create Custom Valve Tag annotation which contains Custom Property that has a Drop-down option
            • How to Create Drop Down list on EC Property in OpenPlant PID
            • How to Create Multi-line Style Pipeline with Different Line Weights
            • How to customize Border Attribute Fonts?
            • How to Format number property on Equipment and Pipelines in OpenPlant PID
            • How to get Association Property of One Project to Another Project
            • How to Get Drop Down List in Number Property of Instrument
            • How to get Line Tag Info for PRV in Data Manager
            • How to Hide Unused Properties on EC Class
            • How to Implement a Secondary Instrument Database Table
            • How to Make a Valve Replaceable in OpenPlant PID
            • How to Make Off-Page Connector Rotatable to Place in Vertical Direction
            • How to make Page Connector Orientable
            • How to Make Pressure Reducing Valve Orient to Bigger Size
            • How to Make Revision Property Allow Alpha-Numeric Characters
            • How to Mirror or Rotate a Custom Equipment or Component while Placement
            • How to Modify Default Value for Device Type Code to a Specific Component Class
            • How to modify Specialty item
            • How to place pipeline Tag to pipe run automatically in OpenPlant PID CONNECT Edition.
            • How to Populate Component Class Name in Element information for OpenPlant PID
            • How to Propagate Property Value From Pipe Run to Pipeline to Update Pipeline Tag and Annotation
            • How to Pull Properties from Pipe Run to Annotate on Off-Page Connectors
            • How to Resize the Control Valve Actuators in OpenPlant PID
            • How to Set Any Component to Repeat the Insertion After Placement
            • How to Set Same Level to Major & Minor Pipeline but Different Line weight
            • How to Turn of PID Document Settings Dialog at OpenPlant PID Starting
            • How To Use Page Connectors to Show Information Between Two DGNs
            • Open Plant PID Grid and lock settings
            • OPPID: How do I Add a Custom Logo to a Border?
            • Placing Custom Component Leaves Gap in Component and Pipe Run
            • To Exclude Pipe Run using Line List in Data Manager for OPPID
          • +Database - Plant Project
          • +Properties - OpenPlant PID
          • +Release Notes - OpenPlant PID
          • +Training - OpenPlant PID
          • +White Papers/Guidelines - OPPID
        • +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
      • +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
    • How to Associate the Specification Based on Service in OpenPlant Modeler Connect

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

    How to Modify Default Value for Device Type Code to a Specific Component Class

     

    Applies To 
    Product(s): OpenPlant PID
    Version(s): 08.11.11.43 (SS6)
    Environment:  Windows 7/8.1/10 (64 bit)
    Area:  Customization
    Subarea: 
    Original Author: Faisal Khan, Bentley Product Advantage Group

    To Assign Device Type Code to a Specific Component Class in OpenPlant PID

    Background

    If user wants to change Device Type Code for a specific component class in OpenPlant PID, then it is possible by defining Device Type Code “Property Custom Attributes” Default Value for specific component class in OpenPlant_PID.01.07 schema.

    Steps to Accomplish

    1. Launch Bentley Class Editor.

    2. Go to File menu option and select Open



    3. Open “OpenPlant_PID.01.07.ecschema.xml” schema from C:\ProgramData\Bentley\OpenPlantPID (SS6)\WorkSpace\Projects\[Project Name]\Dataset\schemas



    4. Select “OpenPlant.01.07.ecschema.xml” schema in “Locate a missing reference OpenPlant.01.07 for schema OpenPlant_PID.01.07” dialog from “C:\ProgramData\Bentley\OpenPlantPID (SS6)\WorkSpace\OPPID\schemas” and Open



    5. Once loaded, Right mouse click on OpenPlant PID in Class editor and select “Supplement Schema”



    6. Select “Add” from “Specify Supplemental Schemas” dialog



    7. Open “OpenPlant_PID_Supplemental_Imperial.01.07.ecschema.xml” from “C:\ProgramData\Bentley\OpenPlantPID (SS6)\WorkSpace\Projects\[Project Name]\Dataset\schemas”



    8. After adding supplemental schema, click “OK” to “Specify Supplemental Schemas” dialog.



    9. It will supplement the schema. Once it got supplemented, schema will be shown as OpenPlant PID [Supplemented] in Class Editor



    10. Press “Find Class” icon in Class Editor, write “Valve” in “Search For” field in “Find Class” Dialog and press Search Button



    11. Double click on searched class name “VALVE” or select “VALVE” and select Go to button



    12. Expand “Valve” node and select the component class for which you want to change Device Type code for example select Gate Valve from “Valve—Inline Valve”



    13. Go to Properties tab in right side pane and search “Device Type Code” property and select “Override” to allow changes to be done


      (NOTE: If "Override" button is grayed out then click "Custom Attributes..")



    14. Change “Default Value” in “Property Custom Attribute” from “HV” to required one say “TEST”
      (If Adding Custom Attribute then only add Default value and set IsGraphical to "True")



    15. Save changes and close class editor



    16. Launch OpenPlant PID and open model in same project in which changes are made

    17. Place a gate vale and verify that “Device Type Code” updated to new one i.e. “TEST”



    18. Place some other valve and verify that Device Type Code is “HV”

    See Also

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/22031.how-to-create-a-pick-list-on-ec-property-using-external-datasource-definition

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/5375

    See Video

    • OpenPlant PID
    • OPPID
    • 08.11.11.87
    • Device Type Code
    • Customization
    • Share
    • History
    • More
    • Cancel
    • Faisal Khan Created by Bentley Colleague Faisal Khan
    • When: Tue, Aug 2 2016 12:19 PM
    • Jaya Tiwari Last revision by Jaya Tiwari
    • When: Thu, Jun 28 2018 9:30 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

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