How to Cascade Properties from Pipeline to Associated Supports


Applies To
Product(s):OpenPlant Modeler
Version(s):08.11.09.XXX (SS5)
Environment: Windows 7/8.1/10 (64 bit)
Area: Component
Subarea:
Original Author:Harpreet Singh, Bentley Product Advantage Group

Background

This article will explain how can we pull the information from properties on the pipeline class using GetRelatedInstance expression to show up on SUPPORT class. In this article, NOMINAL_DESIGN_TEMPERATURE property on PIPING_NETWORK_SYSTEM class is taken as an example. 

Steps to Accomplish

  1. Launch class editor and load OpenPlant_3D schema.
  2. Right click on OpenPlant_3D schema and select Supplement Schema option.
  3. Add OpenPlant_3D_Supplemental_Modeling schema and click OK.
  4. Go to DEVICE class and add new property NOMINAL_DESIGN_TEMPERATURE.

  5. Add Calculated ECProperty Specification custom attribute and key-in below expression.

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

  6. Now locate SUPPORT class and add a new property DESIGN_TEMP.

  7. Add Calculated ECProperty Specification custom attribute and key-in below expression.

    this.GetRelatedInstance("DEVICE_HAS_SUPPORT:1:PIPING_COMPONENT").NOMINAL_DESIGN_TEMPERATURE

  8. Save the changes in schema.

Verify the Result

  1. Launch OpenPlant Modeler.
  2. Create a new pipeline and assign a value to Nominal Design Temperature property.



  3. Place a pipe component in the model.
  4. Check the property on pipe in element info dialog.

  5. Place support location on the pipe.




    Note: While placing the support component, you will see failure value in the Design Temperature property in the placement dialog. This is because the component hasn't been placed yet and the relationship has not established with PIPE.

  6. Once the support is placed on the pipe, open the element info dialog to check the value.

See Also

communities.bentley.com/.../component---openplant-modeler

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!