How to Include End Condition in OOTB Valve Reports through Reporting Designer in OpenPlant Modeler



Applies To 
Product(s):OpenPlant Modeler
Version(s):

CONNECT Edition 10.09.00.74 (Update 9)

Environment: Windows 8.1/10 (64-bit)
Area: Schema
Subarea: Report
Original Author:Aishwarya Kulkarni, Bentley Product Advantage Group


Background

In OpenPlant Modeler, the requirement is to fetch the end preparation of valve in the report. This wiki article explains the procedure for it.

Steps to Accomplish

     

  1. Launch Bentley Class Editor. 

  2. For the desired workset location, select 01.08schema & click on Open to load the schema. Supplement the loaded schema with Supplemental schemas.

    Refer the attached Wiki link to know, How to Load & Supplement Schema in Bentley Class Editor

    Click Here(attach link)

  3.  Navigate to PIPING COMPONENT class, switch Property Tab. Refer below image


  4. Click on Add > New to create a new property. Refer image below.



  5. Enter property details for the newly created property as shown below.



  6. Right-click on newly created property here END_CONDITION & select Custom Attributes > Add/Remove to add custom attribute as shown below.



  7. Search for Calculated ECProperty Specificationcustom attribute & using down arrow add this custom attribute. Ensure to change schema location for this applied custom attribute as shown below.



  8.  Enter details for applied Calculated ECProperty Specification custom attribute as shown below

    ECExpression: this.GetRelatedInstance("PIPING_COMPONENT_HAS_PORT:0:PORT").END_PREPARATION


  9. Add Category Custom Attributes and enter the details as shown below



  10. Save all the changes & verify the result in OpenPlant Modeler. 



  11. Now, it is showing the end condition of the valve.



  12. Since the Report needs to be fetched from OpenPlant Modeler CE, so kindly go to OPPA CE.



  13.  Select the required Workspace→Workset →Select application OpenPlant Modeler OpenPlant Modeler CE →Reporting Designer.



  14. Navigate the piping folder and click on the valve list.




  15. Insert a column to the page header at right side of the report as shown



  16. Double click on the newly added column & change the name to End Condition as shown



  17.  Right top corner of its table. Select Data Binding to END_CONDITION (Valve) from Size(Valve). As shown below 



  18. Click on Save for all the changes done and go to OPM CE.



  19.  From Piping > Tools, open the reports & generate the Valve report again through an External report.



  20. Attached below is the snap for the report

           Observe that it can be seen that End Condition getting reflected in Valve report as well.

See Also 

communities.bentley.com/.../how-to-modify-add-validation-state-to-components-in-openplant-pid-connect