How To Set Pipeline Symbology Through System With Valve Tag In OpenPlant Modeler.



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

  1. Launch OpenPlant Modeler CONNECT Edition.



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



  3. Change the workflow to the Admin from top left corner as shown



  4. From Home > Collections, open Element Templates as shown



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



  6. Enter the desired name for the created template group as shown



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



  8. 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



  9. From utilities, update the templates as shown



  10. From Home > Environment, open Named Expressions, refer image below



  11. 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"



  12. 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"



  13. 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"



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



  16. 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