To Cascade Pipeline Property Value to Fasteners


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

08.11.09.XXX (SS5) | 08.11.11.XXX (SS6)

Environment: Windows 7 (64-bit) | Windows 10
Area: Settings/Attributes
Subarea: Customization
Original Author:Deepak Singh, Bentley Product advantage Group

Overview

To cascade pipeline property “NUMBER” value to fastener “bolt & gasket”

Problem Description

In OpenPlant Modeler, user requirement is to show pipeline number property value to gasket & bolt. This can be achieved by propagating number property value from pipeline to piping components & then to gasket & bolt. This article will explain important schema changes to achieve the same for metric project unit, same changes can be done to another desired project unit.

Steps to Resolve

  1. In Bentley Class Editor, open OpenPlant_3D.01.07.
  2. Supplement with OpenPlant_3D_Supplemental_Modeling.01.07. ecschema & OpenPlant_3D_Supplemental_ModelingViews.01.07. ecschema.
    For More information on supplementing schema click here>>>>

  3. Navigate/Search to Piping Component class, switch to Properties tab & search NUMBER property, refer below image.



  4. Right click on NUMBER property & select Custom Attributes > Add/Remove as shown in below image.



  5. Search for Calculated ECProperty Specification custom attribute, add this custom attribute using drop down icon. Change location of this schema to OpenPlant_3D_Supplemental_Modeling.01.07 & click on OK. Refer below image.



  6. Add ECExpression under Calculated ECProperty Specification custom attribute as shown below

    ECExpression: this.GetRelatedInstance("SEGMENT_HAS_PIPING_COMPONENT:1:PIPING_NETWORK_SEGMENT").GetRelatedInstance("PIPELINE_HAS_SEGMENT:1:PIPING_NETWORK_SYSTEM").NUMBER



  7. Navigate to Gasket class, switch to Properties tab & search Number property.



  8. Click on Override to localize this property. Refer below image.



  9. Similarly, add Calculated ECProperty Specification custom attribute to this NUMBER property & enter ECExpression as shown below.

    ECExpression: this.GetRelatedInstance("JOINT_HAS_SEAL:1:JOINT").GetRelatedInstance("PORT_HAS_JOINT:1:PORT").GetRelatedInstance("PIPING_COMPONENT_HAS_PORT:1:PIPING_COMPONENT").NUMBER


  10. Navigate to Bolt class, switch to Properties tab & search for Number property, see image below.



  11. Click on Override to localize this property. Refer below image.



  12. Add Calculated ECProperty Specification custom attribute to this NUMBER property & enter ECExpression as shown below

    EC Expression: this.GetRelatedInstance("JOINT_HAS_FASTENER:1:JOINT").GetRelatedInstance("PORT_HAS_JOINT:1:PORT").GetRelatedInstance("PIPING_COMPONENT_HAS_PORT:1:PIPING_COMPONENT").NUMBER



  13. Save all the changes & verify the result in OpenPlant Modeler. 
  14. Model any arrangement as shown below & inspect Number property information.

    Modeling Arrangement


    Number Property Value


See Also

communities.bentley.com/.../21115.how-to-cascade-properties-from-pipeline-to-associated-supports

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!