How to Create Custom Pipeline Break based on Service Change in OPPID



Applies To 
Product(s):OpenPlant PID CONNECT Edition 
Version(s):10.11.00.213
Environment: Windows 11 (64-bit)
Area: Customization
Subarea:  
Original Author:Sameer Bagwan, Bentley Global Technical Support


Background

The purpose of this document is to provide instructions on how to create a break in a pipeline as per the deference in the Services.

Steps to Accomplish

  1. Load the Bentley Class Editor.
  2. From within the class editor load the Open OpenPlant_PID.01.08.ecschema.xml
  3. Supplement the schema with OpenPlant_PID_Supplemental_Design.01.08.ecschema.xml
  4. Expand the tree in the left-hand pane and pick the LISTS
  5. Right click on LISTS and from the context menu select Add Derived Class.
  6. Add three new class
    SERVICE_BREAK_MEARGE_RUN_PROPERTY_LIST
    SERVICE_BREAK_SPLIT_RUN_PROPERTY_LIST

    SERVICE_BREAK_SPLIT_RUN_PROPERTY_LIST
  7. Also add a String List custom attribute to all the three classes. Set the Location of the custom attribute to the OpenPlant_PID_Supplemental_Design.01.08.ecschema.xml schema.

  8. To add String list right click on the Class and Select Add/Remove under Custom Attributes option.

  9. Modify the Class fields as shown in the below images.




  10. And DATA_CHANGE_LIST_CONTAINER in BaseClasses.



    Right click on the Class and select Base Classes. Under Base Classes menu select DATA_CHANGE_LIST_CONTAINER. Click ok.

     Do the above steps for all the three Classes which were created in the earlier steps.

  11. Adding a class under Piping Property Break
  12. Search for Piping Property Break> right click> Add Derived


  13. Modify the fields as shown below.


  14. Add PIPING_SPECIFICATION_BREAK as base class. Follow the steps mentioned in step no 10.

  15. Add Custom Attribute by right click on Piping Service Break, under custom attribute click on add/remove option. Set the Location of the custom attribute to the OpenPlant_PID_Supplemental_Design.01.08.ecschema.xml schema.


  16. Modify the fields as shown below.
    Note: In this example already available cell Spec_Break is used, if new cell is created replace the cell name accordingly.


  17. Save the changes.
  18. Continuing on the PIPING_SERVICE _BREAK class, switch to the Properties tab.

  19. Locate the LEFT_DISPLAY_TEXT property and pick the Override.

  20. Add an Annotation Custom Attributes custom attribute and fill it in as shown below. This will control the location, orientation and text style used when the MULTIPLE_TEXT_EXPRESSION value is placed on the left-hand side of the break cell.

  21. Repeat this process for the RIGHT_DISPLAY_TEXT See below for the settings for this property.

  22. Next locate the MIRROR_ENABLED_LOCAL_X property and pick the Override.

  23. Modify the Property Custom Attributes custom attribute on the property and set the Default Value to True.

  24. Save the schema.
  25. Continuing in the Bentley Class Editor and the supplemented OpenPlant_PID schema, locate the PIPING_NETWORK_SYSTEM
  26. Switch to the Properties And select Service Property.
  27. Add a Category and a Notify Related Component of Property Value Change custom attribute. Set the Notify Related Component… custom attribute location to the OpenPlant_PID_Supplemental_Design.01.08.ecschema.xml  Fill them in as shown below.

  28. Save all and launch OPPID, run the key in to “pid insert OpenPlant_PID PIPING_SERVICE_BREAK” to use the Service Break tool.
  29. Check on Create new pipeline option.


    Note: Service break will only work if while placing Service Break ,Create new pipeline is checked on.

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.