
Applies To | |
Product(s): | OpenPlant Modeler V8i |
Version(s): | 08.11.09.XXX (SS5) | 08.11.11.XXX (SS6) |
Environment: | Windows 7/8.1/10 (64 bit) |
Area: | Settings/Attribute |
Subarea: | - |
Original Author: | Kestutis Mitkus, Bentley Product Advantage Group |
Background
OpenPlant component Level naming rules are controlled trough Named Expressions. By default Pipeline Level name is Service-Pipeline Name, but Pipeline Name by default is already set to use Service in its Name, so then Level names can be edited and duplicating property removed.

User requirement is to have Level Names created same as Pipeline names and to edit any of those pipeline Level naming rules, modification in ‘Named Expression’ is required.
Steps to Accomplish
- Launch Open Plant Modeler.
- Select DGNLIB as files of type to open DGN library files (dgnlib) and open OPmodeler.dgnlib file.

- Under Utility Menu, Select Named expression and select on OP_SYMBOLOGY_PIPING. See image below for reference.

As you can see Expression is creating Pipeline Level name using PIPELINE.SERVICE_NAME and PIPELINE.NAME. To achieve users requirement and have Pipeline Level named same as Pipeline name is, than PIPELINE.SERVICE_NAME variable should be removed from beginning of this Expression.

- Similarly for OP_SYMBOLOGY expression for Centerline and Insulation is required. Below are the Symbology pasted to copy from here and to get it pasted to its respective Expression’s.
OP_SYMBOLOGY_PIPING:
"BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & ":OpenPlant\Piping\" &
OP_SYMBOLOGY_PIPING_CENTERLINE:
"BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & ":OpenPlant\Piping\" &
OP_SYMBOLOGY_PIPING_INSULATION:
"BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & "-Insulation" & ":OpenPlant\Piping\" &
Note: Make sure to copy the strings correctly.
- Save each Expression which turns blue. Save option will get enabled once you modify the Expressions: See below for reference.

- Close Named Expressions dialog and click on save. Switch to working DGN file and place a pipe based on Line Number and verify the results.

- If there is requirement to update the existing components in existing models, then you can check this wiki article and use posted suggestion.
See Also
communities.bentley.com/.../how-to-set-pipeline-color-by-service-in-openplant-modeler
communities.bentley.com/.../named-expressions-managing-component-symbology-in-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!