Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki To Set Components Symbology by Pipeline Specification
    • Sign In
    • -OpenPlant | AutoPLANT Wiki
      • -OpenPlant
        • +CONNECT Services - OpenPlant
        • +Example Configuration - CONNECT Edition
        • +Installations - OpenPlant CONNECT Edition Applications
        • +OpenPlant Download Links & Videos
        • OpenPlant Product Compatibility
        • +OpenPlant Modeler CONNECT
        • +OpenPlant PID CONNECT
        • +OpenPlant Isometrics Manager CONNECT
        • +OpenPlant Orthographics Manager CONNECT
        • +OpenPlant Support Engineering CONNECT
        • +OpenPlant Project Administrator CONNECT
        • +OpenPlant CONNECT Edition-PlantSight Integration
        • -OpenPlant Modeler v8i
          • +Component - OpenPlant Modeler
          • +Drawing Generation- OpenPlant Modeler
          • +Errors, Logs, Messages, Crashes - OpenPlant Modeler
          • +Import/Export- OpenPlant Modeler
          • +Installation - OpenPlant Modeler
          • OpenPlant HVAC-OpenPlant Modeler
          • OpenPlant Modeler [FAQ]
          • +OpenPlant Specification Generator
          • +ProjectWise - OpenPlant Modeler
          • +Properties - OpenPlant Modeler
          • +Release Notes - OpenPlant Modeler
          • +Schema - OpenPlant Modeler
          • -Settings/Attributes - OpenPlant Modeler
            • Creating an Annotation with the EC Annotation Manager
            • How to Change Default Bend Radius for Mitered Bends
            • How to Change the Default Value of Number of Segments for HVAC Mitered Elbow
            • How to change the Maximum Allowed Bend Point Angle for Mitered Pipe Bend
            • How to create a New Property & Make its Field Editable in OpenPlant Modeler
            • How to Create Annotation for Multiple Properties using EC Annotation Manager
            • How to Disable Server Tree Hierarchy in Active Tree of Item Browser
            • How to Display Elevation Differences using EC Annotation in OpenPlant Modeler
            • How to Fix Generic Valve Insertion Issue in OpenPlant Modeler
            • How to Leave Custom Length Value after using Change Spec / Change Size Option
            • How to Make Properties Values Editable in OpenPlant Modeler
            • How To Reduce Printing Time in OpenPlant Modeler
            • How to Remove Trailing Zeros from EC Annotations in OpenPlant Modeler
            • How to Set Default User in OpenPlant Modeler
            • How to Set Default Value of Nested Depth in OpenPlant Modeler
            • How to use IIF Condition in EC Expression to Cater multiple Null
            • -Named Expressions: Managing Component Symbology in OpenPlant Modeler
              • How to Assign Level for Equipment Tag Using Named Expression
              • How to Assign Level for Valve by Size & Service Using Named Expression
              • How to Assign Level for Valve Tag Using Named Expression
              • How to Assign level when Pipeline Tag Includes Nominal Diameter in Decimal Value
              • How to Assign Levels based on Equipment Type Using Named Expression
              • How to Assign Pipeline Level For Supports Using Named Expression in OpenPlant Modeler
              • How to Assign Symbology Based on Insulation Material Using Named Expression
              • How to Edit Pipeline Level Naming Rule in Named Expressions
              • How to Manage Component Symbology for Cable Tray Components
              • How to Set Pipeline Color By LINE_NUMBER/Name
              • +How to Set Pipeline Color by Service in OpenPlant Modeler
              • How to Set Pipeline Symbology Through System With Valve Tag in OpenPlant Modeler
              • To Assign Separate Level for Component Using Named Expressions
              • To Set Components Symbology by Pipeline Specification
              • To set predefined levels for piping components based on the Service name of the pipeline without using Element Templates
              • To Trick OpenPlant Modeler by Refreshing properties to Redraw Pipelines by Inheriting New changes
            • OpenPlant Configuration Variables
            • To Display Tracing on Pipeline in OpenPlant Isometric Manager
            • To Fix or Create New Elbow Radius Entry under AutoFitting Template in OpenPlant Modeler
            • To put Catalogs and Specs in a different folder out of default WorkSpace
          • +Structural Modeling Components (SMC)- OpenPlant Modeler
          • +Tasks - OpenPlant Modeler
          • +Training - OpenPlant Modeler
        • +OpenPlant Isometrics Manager v8i
        • +OpenPlant Project Administrator v8i
        • +OpenPlant PID v8i
        • +OpenPlant Orthographics Manager v8i
        • +OpenPlant Support Engineering v8i
        • +OpenPlant ModelServer v8i
        • +OpenPlant Reporting v8i
        • How to Connect with Bentley Technical Support Team using Microsoft Teams
        • How to Connect with Bentley Technical Support Team using Microsoft Teams via Browser
        • How to get list of installed applications/programs on Windows Machine using Command Prompt.
        • How to get list of Windows Updates installed on the machine using Command Prompt.
        • How to Package WorkSpace to be Shareable to Users for OpenPlant Projects
      • +Bentley AutoPLANT
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
      • Your Feedback is important to us!

     
     Questions about this article, topic, or product? Click here. 

    To Set Components Symbology by Pipeline Specification

    Applies To 
    Product(s): OpenPlant Modeler
    Version(s): 08.11.09.XXX
    Environment:  Windows 7 64 bit
    Area:  Settings/Attribute
    Subarea:  -
    Original Author: Rahul Kumar, Bentley Product Advantage Group

    To set Component symbology on Pipeline with respect to pipeline specification in OpenPlant Modeler using Named Expression.

    Background

    OpenPlant component symbology is managed in the typical MicroStation fashion. It is controlled through a combination of Named Expressions (used to read attributes and assign the Element Templates accordingly) and Element Templates (where symbology is defined for the elements identified by the Named Expression).

    During the use of Multiple specification for some component (say Flanges/Valves etc ) in a project, sometimes it is required to recognize those component by just looking in to it, hence its being necessary to set some symbology for those elements which exhibit different symbology. A modification in ‘Named Expression’ should require for changing the components symbology by pipeline specification, which can be found under ‘Utilities’ Menu and to customize ‘Element template’ to define the  name and hence color to it under ‘Element’ option. In OpenPlant, Pipeline specification assigned under SPECIFICATION property, hence it is required to write the Named expression according to it. 

    Steps to Accomplish

    1. Go to File from Main Menu option and open DGN library files (dgnlib). See image below :



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



    3. 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\" &
          IIF ((OPITEM.IsOfClass( "GATE_VALVE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION ="mEX-OPM"), "Valve:",
            IIF((OPITEM.IsOfClass( "PIPE_FLANGE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION = "mEX-OPM"), "Flange:",
              IIF ((OPITEM.IsOfClass( "GATE_VALVE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION ="mA1-OPM"), "Valve1:",
                IIF((OPITEM.IsOfClass( "PIPE_FLANGE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION = "mA1-OPM"), "Flange1:",
                  IIF( OPITEM.NOMINAL_DIAMETER <= 100 , "DiameterRange1:",
                    IIF( OPITEM.NOMINAL_DIAMETER > 100 AND OPITEM.NOMINAL_DIAMETER <= 200, "DiameterRange2:",
                       IIF( OPITEM.NOMINAL_DIAMETER > 200 AND OPITEM.NOMINAL_DIAMETER <= 300, "DiameterRange3:",
                           IIF( OPITEM.NOMINAL_DIAMETER > 300 AND OPITEM.NOMINAL_DIAMETER <= 400, "DiameterRange4:",
                                IIF( OPITEM.NOMINAL_DIAMETER > 400 AND OPITEM.NOMINAL_DIAMETER <= 500, "DiameterRange5:",
                                      IIF( OPITEM.NOMINAL_DIAMETER > 500, "DiameterRange6:", "Default:" ) ) ) ) ) ) ) ) ) ) & "Model"

      OP_SYMBOLOGY_PIPING_CENTERLINE:

      "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & ":OpenPlant\Piping\" &
          IIF ((OPITEM.IsOfClass( "GATE_VALVE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION ="mEX-OPM"), "Valve:",
            IIF((OPITEM.IsOfClass( "PIPE_FLANGE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION = "mEX-OPM"), "Flange:",
              IIF ((OPITEM.IsOfClass( "GATE_VALVE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION ="mA1-OPM"), "Valve1:",
                IIF((OPITEM.IsOfClass( "PIPE_FLANGE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION = "mA1-OPM"), "Flange1:",
                  IIF( OPITEM.NOMINAL_DIAMETER <= 100 , "DiameterRange1:",
                    IIF( OPITEM.NOMINAL_DIAMETER > 100 AND OPITEM.NOMINAL_DIAMETER <= 200, "DiameterRange2:",
                       IIF( OPITEM.NOMINAL_DIAMETER > 200 AND OPITEM.NOMINAL_DIAMETER <= 300, "DiameterRange3:",
                           IIF( OPITEM.NOMINAL_DIAMETER > 300 AND OPITEM.NOMINAL_DIAMETER <= 400, "DiameterRange4:",
                                IIF( OPITEM.NOMINAL_DIAMETER > 400 AND OPITEM.NOMINAL_DIAMETER <= 500, "DiameterRange5:",
                                      IIF( OPITEM.NOMINAL_DIAMETER > 500, "DiameterRange6:", "Default:" ) ) ) ) ) ) ) ) ) ) & "Centerline"

      OP_SYMBOLOGY_PIPING_INSULATION:

      "BY_LEVEL_AND_TEMPLATE:" & PIPELINE.NAME & "-INS" & ":OpenPlant\Piping\" &
          IIF ((OPITEM.IsOfClass( "GATE_VALVE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION ="mEX-OPM"), "Valve:",
            IIF((OPITEM.IsOfClass( "PIPE_FLANGE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION = "mEX-OPM"), "Flange:",
              IIF ((OPITEM.IsOfClass( "GATE_VALVE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION ="mA1-OPM"), "Valve1:",
                IIF((OPITEM.IsOfClass( "PIPE_FLANGE", "OpenPlant_3D" ) AND OPITEM.SPECIFICATION = "mA1-OPM"), "Flange1:",
                  IIF( OPITEM.NOMINAL_DIAMETER <= 100 , "DiameterRange1:",
                    IIF( OPITEM.NOMINAL_DIAMETER > 100 AND OPITEM.NOMINAL_DIAMETER <= 200, "DiameterRange2:",
                       IIF( OPITEM.NOMINAL_DIAMETER > 200 AND OPITEM.NOMINAL_DIAMETER <= 300, "DiameterRange3:",
                           IIF( OPITEM.NOMINAL_DIAMETER > 300 AND OPITEM.NOMINAL_DIAMETER <= 400, "DiameterRange4:",
                                IIF( OPITEM.NOMINAL_DIAMETER > 400 AND OPITEM.NOMINAL_DIAMETER <= 500, "DiameterRange5:",
                                      IIF( OPITEM.NOMINAL_DIAMETER > 500, "DiameterRange6:", "Default:" ) ) ) ) ) ) ) ) ) ) & "Insulation"

      Note: Make sure to copy the strings correctly.

    4. Save each Expression which turns blue. Save option will get enabled once you modify the Expressions: See below for reference.



    5. Open Element Template, and Expand Piping Node. To define the components, say a Flange/Valve, user need to create a separate template group as shown below. Select ‘New Template group’ for a New Line Number and ‘New Template’ option to define 3 nodes Model, Centerline, and Insulation. See image below:



    6. Define component as shown in below for few pipelines. 


      Note - Set colors as desired and levels where you want to define it by clicking on it. Similarly you can create it for centerline and Insulation. 

    7. Launch OpenPlant Modeler and Verify results. See images below: 

      With Spec mEX-OPM

      With Spec mA1-OPM

    See Also

    How to Set Pipeline Color by Service in OpenPlant Modeler
    Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX Environment: Windows 7 64 bit & Others Area: Settings/Attributes Subarea: - Original Author…
    Last edited over 5 years ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki

    Named Expressions: Managing Component Symbology in OpenPlant Modeler
    Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX Environment: Windows 7 64 bit & Others Area: Settings/Attributes Subarea: - Original Author…
    Last edited over 5 years ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki

    How to Set Pipeline Color By LINE_NUMBER/Name
    Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX Environment: Windows 7 64 bit Area: Settings/Attribute Subarea: - Original Author: Rahul…
    Last edited over 5 years ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki

    To Set Components Symbology by Pipeline Specification
    Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX Environment: Windows 7 64 bit Area: Settings/Attribute Subarea: - Original Author: Rahul…
    Last edited over 5 years ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki
      

    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!

    • OpenPlant Modeler
    • Named Expressions
    • 08.11.09.XXX
    • Share
    • History
    • More
    • Cancel
    • Rahul Kumar Created by Bentley Colleague Rahul Kumar
    • When: Tue, Mar 3 2015 8:31 AM
    • Kestutis Mitkus Last revision by Bentley Colleague Kestutis Mitkus
    • When: Tue, Nov 14 2017 7:12 AM
    • Revisions: 6
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies