
| Applies To | |
| Product(s): | OpenPlant Modeler |
| Version(s): |
CONNECT Edition 10.07.00.32 (Update 7)
|
| Environment: | Windows 8.1/10 (64-bit) |
| Area: | Settings/Attributes |
| Subarea: | Named Expression |
| Original Author: | Shubham Sawant, Bentley Product Advantage Group |
Background
In OpenPlant Modeler CE, the requirement is to set pipeline symbology based on the defined system along with a valve tag. Symbology settings can be defined based on a system. Also, using named expression Valve Tag can be set along with symbology settings as well. Below wiki article explain the procedure to achieve this requirement.
Steps to Accomplish
- Launch OpenPlant Modeler CONNECT Edition.

- For the desired workspace, open the OPModeler.dgnlib from the highlighted location below

- Change the workflow to the Admin from top left corner as shown

- From Home > Collections, open Element Templates as shown

- Expand piping node, right-click & create new template group as shown

- Enter the desired name for the created template group as shown

- Right-click to the newly created template group (SBS) & create a new template as Model. Remove the level & select the color as shown below

- In the same manner, create two new templates as Centerline & insulation. Also repeat the point 1,2 & 3 as mentioned above.
For Centerline

For Insulation

- From utilities, update the templates as shown

- From Home > Environment, open Named Expressions, refer image below

- Scroll to down, search for OP_SYMBOLOGY_PIPING & paste the expression mentioned below & save.
Expression :- "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & IIF( OPITEM.IsOfClass( "VALVE", "OpenPlant_3D" ), "-Valve-"& OPITEM.NAME &":",":") & "OpenPlant\Piping\" & PIPELINE.SERVICE & ":Model"

- Similarly, update the expression for OP_SYMBOLOGY_PIPING_CENTERLINE as mentioned below & save.
Expression :- "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & ":OpenPlant\Piping\" & PIPELINE.SERVICE & ":Centerline"

- Same way, update the expression for OP_SYMBOLOGY_PIPING_INSULATION as mentioned below & save.
Expression:- "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & "-Insulation" & ":OpenPlant\Piping\" & PIPELINE.SERVICE & ":Insulation"

- Launch OpenPlant Modeler CONNECT Edition to verify the results.
- Create the pipeline with service name SBS as shown

- Place a pipe & valve of desired size & the changes done are as follows
For Model

Notice that, the color is changed & the valve tag is added in level.
For Centerline

For Insulation

See Also
communities.bentley.com/.../how-to-set-pipeline-symbology-through-system-with-valve-tag-in-openplant-modeler
Still a Problem?
If above problem still persists, then please create a Service Request and contact the Bentley Product Advantage group. Please include a list of all relevant details to get in depth analysis for a solution or workaround