How To Populate Number Property on Pipe Segment


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

Background

While creating PIPELINE in OpenPlant Modeler we input number in the NUMBER property in Tag Information


but that number property is not visible on the segments. NUMBER property shows null value under General Info in Element Info dialog.

Steps to Accomplish

Modification required in Schema

  1. Load OpenPlant_3D.01.07 schema in class editor and supplement with OpenPlant_3D_Supplemental_Modeling.01.07 schema.
  2. Go to NUMBER property of PIPE class and add Calculated EC property Specification custom attribute and add the following EC expression in it.

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


  3. Save the changes and test.

Verify Results

  1. Launch OpenPlant Modeler.
  2. Create New Pipeline, input number in the NUMBER property in Tag Information and place a pipe segment.

  3. Check the Number Property under General Info category in Element Information dialog.

See Also

communities.bentley.com/.../16936.properties-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!