Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to Modify Tags Using IIF Expression in OpenPlant Project Administrator.
    • 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
          • Copy Joint Map from OPPA CE U10
          • Difference between Setup, Upgrade and iModel Link in OpenPlant Project Administrator CONNECT Update 9.
          • +Errors, Logs, Messages, Crashes in CONNECT - OpenPlant Project Administrator
          • Fundamentals of Reporting Designer 2: Report Selector and Tools Box
          • Fundamentals of Reporting Designer 3: Field List and Report Explorer
          • Fundamentals of Reporting Designer Using OpenPlant Project Administrator CONNECT Edition
          • How to Change Set of Bolts into Total Quantity of Bolts in BOM by Line Number Reports in OPM through Reporting Designer in OPPA CE
          • How to add a derived class using OpenPlant Project Administrator
          • How to add a Network Drive WorkSpace to OPPA CE & Activate it for OPM CE
          • How to add a property using OpenPlant Project Administrator
          • How to Add COUNT in Reports via Reporting Designer
          • How to Add custom attribute on a double type property in OpenPlant PID CONNECT Edition
          • How to Add Filter to Existing Report Template in Reporting Designer
          • How to Add Groups via Reporting Designer and its Significance
          • How to Add Some Spec Properties for the Existing Component in OpenPlant Modeler Connect
          • How to Add SR NO in Reports via Reporting Designer
          • How to Add the Plant Area Property Name in Tag Name For Equipment
          • How to add Various Grades of Material to Lookup Table.
          • How to Add Weight & Sum of Weight of Piping Component in Reports.
          • How to Associate WorkSet from a Custom WorkSpace to a CONNECT Project
          • How to Change Sequence of Unit, Plant, Service in OpenPlant Project Administrator CE
          • How to Change the Unit for Main Size in a Mixed Metric Environment
          • How to Collaborate WorkSet with ProjectWise using OpenPlant Project Administrator
          • How to Connect with Bentley Technical Support Team using TeamViewer
          • How to convert Cable Tray Specification to a Catalog in OpenPlant Specification Generator.
          • How to Convert Spec to different Unit via SpecGen.
          • How To Create Catalog From Given Excel File Using OpenPlant Specification Generator
          • How to Create Configuration via ProjectWise Share for OpenPlant Modeler CONNECT Edition Update 7
          • How to Create New Associated Item using OpenPlant Project Administrator Update 10
          • How to Create New Spec Using OpenPlant Specification Generator CONNECT Edition.
          • How To Create Specs From Converted Catalog of AutoPlant to OpenPlant Catalog using Specification Generator
          • How to Create WorkSpace & WorkSet in OpenPlant Project Administrator CONNECT Edition
          • How To Enable Other Openplant Applications For Project in OPPA CONNECT Edition
          • How to Generate specification report to other file format.
          • How to Get Customized Bend Point Radius Data in OpenPlant Modeler Connect
          • How to get Iso Sheet Name in Piping MTO via Reporting Designer
          • How to get TOTAL in Reports via Reporting Designer
          • How to Import Existing Custom Report Template from One Project to Another via Reporting Designer
          • How to Include End Condition in OOTB Elbow Reports through Reporting Designer in OpenPlant Modeler Connect Edition
          • How to Include End Condition in OOTB Flange Reports through Reporting Designer in OpenPlant Modeler Connect Edition
          • How to Include Nominal diameter Branch in OOTB Weldolet through Reporting Designer in OpenPlant Modeler Connect Edition
          • How to install OpenPlant Project Administrator with Class Editor and Specification Generator
          • How To Install or Enable Specification Generator Using OpenPlant Project Administrator CE
          • How to make fields editable/ read only in OpenPlant Project Administrator Connect Edition.
          • How to Modify Piping Report in OpenPlant CONNECT Edition to Display Pipe Quantity in Meters Instead of Millimeters
          • How to Modify Tags Using IIF Expression in OpenPlant Project Administrator.
          • How to Modify Value Map Using OpenPlant Project Administrator
          • How to Move a Property from One Category to Other
          • How to move property to another category in OpenPlant Project Administrator Connect Edition.
          • How to Open Schema & Supplement it with desired Schema in Bentley Class Editor CONNECT Edition.
          • How To Perform Exchange Operation in OpenPlant Specification Generator
          • How to Provision Schemas to CONNECT Project using OpenPlant Project Administrator
          • How to Reroute Workset Level Folders to Workspace Level
          • How to Upgrade OpenPlant Modeler V8i WorkSpace to OpenPlant Modeler CONNECT Edition
          • How to Upgrade Schema From OpenPlant CONNECT Update 4 to Update 5 Version
          • How to use AutoPlant Catalogs to create OpenPlant Spec using OpenPlant Specification Generator.
          • How to Use LOADINSTANCES Input Method for Standard Preference in OpenPlant Modeler CONNECT Edition
          • How To Use Merge Option To Combine Two Catalogs using Specification Generator
          • How to Use Spec Default Feature in OpenPlant Modeler CONNECT Edition
          • To Create Custom Support MTO Report Using Reporting Designer Tool
          • [FAQ] - OpenPlant Project Administrator CONNECT Edition
        • +OpenPlant CONNECT Edition-PlantSight Integration
        • +OpenPlant Modeler v8i
        • +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
        • How to find iModel.dgn file of another domain in PlantSight
      • +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. 

    How to Modify Tags Using IIF Expression in OpenPlant Project Administrator.


    Applies To 
    Product(s): OpenPlant Project Administrator CONNECT Edition 
    Version(s):

    10.06.00.23 & 10.10.00.72

    Environment:  Windows 10 (64 bit)
    Area:  Tagging
    Subarea:  Customization
    Original Author: Shubham Sawant,Bentley Product Advantage Group

    In OpenPlant Modeler CONNECT Edition, requirement is to modify Tags from Tag Editor/ Expression Editor using OpenPlant Project Administrator CONNECT Edition.

    Background

    In OpenPlant Project Administrator CE, new tool has been introduced for modification of Tags for various disciplines. This wiki article explains the procedure for modification of Tags OpenPlant Project Administrator CE Update 6 and Latest Update 10. 

    Steps to Accomplish

    1. Launch OpenPlant Project Administrator CONNECT Edition.



      Case I :- OpenPlant Project Administrator Update 6

    2. From Settings ribbon, expand desired workset, here OpenPlant Imperial workset is considered & select OpenPlant Modeler application. Click on Settings > Tag Editor as shown below.




    3. From Left pane select Piping Network System to modify Tags for Pipeline. This will show the Default Expression that system is taking after placing the Pipeline as shown below.

      Expression :- this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION


      Pipeline Tag with above Expression is shown below



    4. In the previous Expression add the desired property (here NOMINAL_DIAMETER as an example) that to be evoked in Tag. Then Validate the current expression & Save as shown

      Expression :- this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION & "-" & this.NOMINAL_DIAMETER



      Modified Pipeline Tag with above Expression is shown below



      As shown, Nominal Diameter is available in the Tag.

    5. Now, for example the requirement is to evoke property of Insulation Material on Tag of Pipeline by IIF Expression as shown. This IIF Expression works as, for example some Pipeline has insulation & some will not. This expression let the system read when the Pipeline is insulated it should reflect the material name on Tag & if Pipeline is not insulated then it should be blank. Once done, Validate the expression & Save it.

      Expression :- IIF(this.INSULATION="" ,this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION,this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION & "-" & this.INSULATION)



    6. One can save the Expression as template. Select Save Expression as template option at right pane. Fill the required Fields & hit Save as shown.




    7. Launch OpenPlant Modeler CONNECT Edition, place a Pipeline without insulation & notice the behavior as shown



    8. Now, place a Pipeline with Insulation Material Fiber Glass & notice the behavior as shown




      Case II :- OpenPlant Project Administrator Update 10


    9. From Settings ribbon, expand desired workset, here OpenPlant metric workset is considered & select OpenPlant Modeler application. Click on Settings > Expression Editor as shown below.



    10. From Left pane select Pipeline. It is showing the Name property in Expression.



    11. Select Name Property to modify Tags for Pipeline. This will show the Default Expression that system is taking after placing the Pipeline as shown below.

      Expression :- this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION



      Pipeline Tag with above Expression is shown below



    12. In the previous Expression add the desired property (here NOMINAL_DIAMETER as an example) that to be evoked in Tag. Then Validate the current expression & Save as shown

      Expression :- this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION & "-" & this.NOMINAL_DIAMETER



      Modified Pipeline Tag with above Expression is shown below



      As shown, Nominal Diameter is available in the Tag.

    13. Now, for example the requirement is to evoke property of Insulation Material on Tag of Pipeline by IIF Expression as shown. This IIF Expression works as, for example some Pipeline has insulation & some will not. This expression let the system read when the Pipeline is insulated it should reflect the material name on Tag & if Pipeline is not insulated then it should be blank. Once done, Validate the expression & Save it.

      Expression :- IIF(this.INSULATION="" ,this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION,this.UNIT_NAME & "-" & this.SERVICE_NAME & "-" & this.NUMBER & "-" & this.SPECIFICATION & "-" & this.INSULATION)



    14. Launch OpenPlant Modeler CONNECT Edition, place a Pipeline without insulation & verify the result as shown





    15. Now, place a Pipeline with Insulation Material Fiber Glass & verify the result as shown


    See Also

    How to Add Dimensional Unit to Added Property in OpenPlant Modeler CONNECT Edition
    Applies To Product(s): OpenPlant Modeler CONNECT Edition Version(s): 10.04.00.30+ Environment: Windows 7/8.1/10 (64-bit) Area: Customization Subarea: Pipeline…
    Last edited over 1 year ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki

    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

    • IIF expression
    • tag
    • Openplant
    • Share
    • History
    • More
    • Cancel
    • Shubham Sawant Created by Bentley Colleague Shubham Sawant
    • When: Wed, Mar 4 2020 1:59 PM
    • Neha Chougule Last revision by Neha Chougule
    • When: Tue, Jun 21 2022 12:12 PM
    • Revisions: 3
    • 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