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 In Bentley Class Editor , open OpenPlant_3D.01.07 . Supplement with OpenPlant_3D_Supplemental_Modeling.01.07. ecschema & OpenPlant_3D_Supplemental_ModelingViews.01.07. ecschema. For More information on supplementing schema click here>>>> Navigate/Search to Piping Component class, switch to Properties tab & search NUMBER property, refer below image. Right click on NUMBER property & select Custom Attributes > Add/Remove as shown in below image. 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. 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 Navigate to Gasket class, switch to Properties tab & search Number property. Click on Override to localize this property. Refer below image. 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 Navigate to Bolt class, switch to Properties tab & search for Number property, see image below. Click on Override to localize this property. Refer below image. 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 Save all the changes & verify the result in OpenPlant Modeler. Model any arrangement as shown below & inspect Number property information. Modeling Arrangement Number Property Value See Also 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!
↧