
|
|
|
|
|
|
|
Applies To
|
|
|
|
|
Product(s):
|
OpenPlant Modeler
|
|
|
|
Version(s):
|
Connect Edition & 2024
|
|
|
|
Environment:
|
Windows 11 (64 bit)
|
|
|
|
Area:
|
Modelling
|
|
|
|
Subarea:
|
Schema Customization
|
|
|
|
Original Author:
|
Sameer Pantawane, Bentley Global Technical Support Group
|
|
| |
|
|
|
|
Overview
In certain projects, it may be necessary to identify the line number associated with a piping component. This can be achieved by modifying the schema accordingly.
Steps to Accomplish
- In the schema editor open “OpenPlant_3D.01.08.ecschema.xml” and supplement it with “OpenPlant_3D_Supplemental_Modeling.01.08.ecschema.xml” & “OpenPlant_3D_Supplemental_ModelingViews.01.08.ecschema.xml”.

- Goto piping component class and create a new property here we are creating “Propertytag”
NOTE: Same Property must be added under Instrument Class as well.

- Then add a Calculated EC Property Specification and change its location to OpenPlant_3D_Supplemental_Modeling.01.08.ecschema.xml

- Add the following expression against EC Expression and give a failure value.
this.GetRelatedInstance("SEGMENT_HAS_PIPING_COMPONENT:1:PIPING_NETWORK_SEGMENT").GetRelatedInstance("PIPELINE_HAS_SEGMENT:1:PIPING_NETWORK_SYSTEM").NAME

- Create a new category to view the newly property when we invoke the property dialog in OpenPlant Modeler.
NOTE: Same Category must be added under Instrument Class as well.

- Repeat steps 2 to 5, however the EC Expression for Instrument will be
this.GetRelatedInstance("SEGMENT_HAS_INSTRUMENT:1:PIPING_NETWORK_SEGMENT").GetRelatedInstance("PIPELINE_HAS_SEGMENT:1:PIPING_NETWORK_SYSTEM").NAME

- After making the above changes we can see the pipeline when we open properties for a piping component.

Still a Problem?
If above problem persists, then please create a Case and contact the Bentley Global Technical Support group. Please include a list of all relevant details to get in depth analysis for a solution or workaround.
Comments or Corrections?
Bentley's Global Technical Support group requests that you please confine any comments you have on this Wiki entry to Forum section? section. THANK YOU!