How to Create Validation State for Component in OpenPlant PID CONNECT



Applies To 
Product(s):OpenPlant PID CONNECT Edition
Version(s):

10.07.00.32

Environment: Windows 8.1/10 (64-bit)
Area: Customization
Subarea: Component Validation State
Original Author:Deepak Singh,Bentley Product Advantage Group

In OpenPlant PID CONNECT Edition, requirement is to create a validation state list in OpenPlant PID CONNECT

Background

In OpenPlant PID CONNECT Edition, requirement is to create a drop-down list as validation state list. Based on selected validation state desired placed component should pick the respective template symbology against validation state. Below wiki article explains the procedure to achieve such requirement.

To achieve this requirement, we will

  1. Create desired Level & Element Template in OpenPlant PID CONNECT
  2. Schema changes using Bentley Class Editor

Steps to Accomplish

  1. Launch OpenPlant PID CONNECT Edition with desired workset.
  2. Open PIDProjectTemplates.dgnlib of desired workset from below mentioned location.



  3. From workflows, select Admin as shown below.



  4. From Primary group pane, select Level Manager as shown below.



  5. From Level Manager Dialog, click on Levels > New to define a new level.



  6. Define desired name & symbology for levels, refer image below.



  7. Once done with desired level name & symbology, close the level manager.
  8. From Collections group pane, click on Element Templates as shown below.



  9. In Element Template dialog, create a New Template Group & name as States. Also, define New Template for create template group as shown below.



  10. Once done, close OpenPlant PID CONNECT Edition.
  11. Launch Bentley Class Editor & open 01.08 schema of your workset.
  12. Supplement OpenPlant PID schema with OpenPlant_PID_Supplemental_Design from workset schema location.
  13. Navigate to DEVICE class. Right click and select Add/Remove Custom Attributes.



  14. Add Value Property Template Attribute.




  15. Add element as in the Custom Attribute and modify it as shown below.



  16. Switch to Properties tab as shown below.



  17. Add a new property as COMP_STATE & enter details as shown below.



  18. Right click on created property & select Custom Attribute to add custom attributes, refer image below.



  19. Select Add/Remove to select the custom attributes from the list.
  20. From Add/Remove Custom Attributes dialog, select below mentioned custom attributes from the Available Custom Attribute

    Category
    Extend Type
    Property Custom Attributes
    Standard Action Values

  21. Using drop icon, move this custom attribute under Applied Custom Attributes section. Ensure to change the schema location. Refer sequential steps as shown below.



  22. Enter details for applied custom attributes as shown below.

    Property Custom Attributes


    Standard Action Values

    Display String : Original
    Value : 0
    Key-in : pid component assigntemplate



    Please note: To get the Value Action Map list, right click on Value Action Map & select Add Elements

    ExtendType

    Name : StandardActionValue



    Category


    Value Keyin Attribute



  23. Save all the schema changes.
  24. Load OpenPlant PID CONNECT Edition, open a drawing file & perform Properties for any component.
  25. Change the validation state from drop down & notice the symbology change for the component.

See Also

communities.bentley.com/.../how-to-create-a-spec-driven-custom-valve-in-openplant-pid-connect

Still a Problem?

If above problem still persists, then please create a Service Request and contact the Bentley Product Advantage group.  Please include a list of all relevant details to get in depth analysis for a solution or workaround.