Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AutoPLANT | OpenPlant | PlantWise
  • Product Communities
  • More
AutoPLANT | OpenPlant | PlantWise
AutoPLANT | OpenPlant | PlantWise Wiki How To Show Active Model File Name to Piping Components in OpenPlant Modeler
    • Sign in
    • -AutoPLANT | Bentley Raceway and Cable Management | OpenPlant | PlantWise 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
            • Add or Remove Fields from Spec Selection Dialog
            • Delete/Replace the Flange Assembly in OpenPlant Modeler
            • +How are Bolt Lengths Calculated in OpenPlant Modeler
            • How to Add Component as a Tool in Piping Task
            • How To Add Custom Valves in Schema
            • How to Auto-Place Victaulic coupling on pipe to pipe connection
            • How to Calculate the Property Value With Help of EC Expression
            • +How to Cascade Properties from Pipeline to Associated Supports
            • How to Change the graphics of Pipe Union from Hexagonal to Circular
            • How to Change the Precision Level of Dimensions on Components
            • How to Change Weld Size in OpenPlant Modeler
            • How to Configure OpenPlant to Allow Flange Connection with Different Facings
            • How to Copy Components from One Model to Another Model in Standalone Mode
            • How to Create a Steam Trap Component in OpenPlant Modeler
            • How to Create Custom BW Valves with Nipples in OpenPlant Modeler
            • How to Create Custom Component's Tool Button in OpenPlant Modeler Task Panel
            • How to Create Custom Components from Cell
            • How to Create Four Ports Component with Different Sizes in OpenPlant Modeler
            • How to Create Multiport Custom Valve
            • How to Create NipoFlange in OpenPlant Modeler
            • How To Create PDF using Dynamic Views with Bookmark.
            • How to Create Search Criteria to Include Properties from Fluid Port in OpenPlant Modeler
            • How to Create Welding Boss Component in OpenPlant Modeler
            • How to Differentiate Between Multiple Records for Topworks in Spec.
            • How to Display Referenced Pipelines in Pipeline Manager Dialog
            • How to Fix Disconnects by Picking Seal and Fastener from Spec Grid
            • How to Generate Equipment Tag Name With & Without Null Value in OpenPlant Modeler
            • How to Get Inside Diameter Calculated in OpenPlant Modeler
            • +How to Map Spec Data for Double Type Property in OpenPlant Modeler
            • How to Map Spec Table for Placement of Missing Component
            • How to Modify Hand Wheel Stem Thickness
            • How to Modify Support Tag by Including Unit, Service and LineNumber Properties
            • How to Move Components to a Different Pipeline
            • How To Pick Nozzle Length From Spec Database in OpenPlant Modeler
            • How to Place a Spec driven welded Spool Piece in OpenPlant Modeler
            • How to Place an Isometric Break Point in OpenPlant Modeler
            • How to Place Components by Actual Pipe Size Instead of Nominal Diameter
            • How to Place Flexible Hose with Flanged Ends
            • How to Place Multiple Welds in Straight Piece of Pipe at Equal Distance
            • How to Place Three Way Control Valve in OpenPlant Modeler
            • How to Place Various Types of Flanges Automatically for Component Assembly in OpenPlant Modeler
            • How to Place Wafer Check Valve in OpenPlant
            • How to Reorder Iso Sheet Numbering Using Pipeline Start Note in OpenPlant Modeler
            • How To Set Inlet-Outlet Ratings on Relief Valve
            • How to Set the Order of the Properties in Spec Selection Grid
            • How To Show Active Model File Name to Piping Components in OpenPlant Modeler
            • How to Show Weld Symbol on Threaded Joint
            • How to Show/Hide Bolts and Gaskets in OpenPlant Modeler
            • How to Turn on Centerline Visibility of Pipelines
            • How to Update Graphics & Property When Spec Value Change
            • How to update graphics of custom equipment in OpenPlant Modeler
            • How to use Different Facing Instead of Default Raised/Flat Face Facings
            • How to use Existing Class as Custom Component
            • Issue with placement of Isometric Break Point on Mating Flange Assembly in OpenPlant Modeler
            • Not able to place 90 Degree Long/Short Radius reducing elbows
            • Nozzle Manager Overview
            • Olet\Tee Doesn't Place Automatically on Small Piece of Header Pipe
            • Piping Components Not Fetching Facing Value From Spec
            • Rating Value Map Issue in OpenPlant Modeler
            • To Add Custom Cell for Supports in OpenPlant Modeler
            • To Apply Slopes on Pipe with a Socket Weld Type Fittings
            • To Assign Shop-Field Value to Components Present in OpenPlant Modeler
            • To Cascade Pipeline Property Value to Fasteners
            • To Create Elbow Fitting with Clamp Length in OpenPlant Modeler
            • +To Define Spool ID start point in OpenPlant Modeler
            • To Fix Welds on Olets in OpenPlant Modeler
            • +To Not Include Gasket as a Joint for Flanged Components in OpenPlant Modeler
            • To Place an Elbow with Trimmed Angle using Intelligent Line Manager
            • To Place Eccentric Reducer with AutoFitting
            • To Place Tap Port on Blind Flange in OpenPlant Modeler
            • To Query the Mating Components Based on Auto-Match
            • To Remove Plant Area Property from Tag of Gauge Class
            • To show Isolation Gasket in Isometrics generated from i-models created from 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
          • +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
      • +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
    • How to Associate the Specification Based on Service in OpenPlant Modeler Connect

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

    How To Show Active Model File Name to Piping Components in OpenPlant Modeler


    Applies To 
    Product(s): OpenPlant Modeler V8i
    Version(s):

    08.11.09.XXX

    Environment:  Windows 7/8.1/10 (64-bit)
    Area:  Customization
    Subarea:  Component
    Original Author: Deepak Singh,Bentley Product Advantage Group

    In OpenPlant Modeler, requirement is to show active model file name to piping components.

    Background

    In OpenPlant Modeler, by default there is no any property that shows active model file name to piping components. Below wiki article explains the procedure to achieve such requirement in OpenPlant Modeler

    Steps to Accomplish

    1. Launch Bentley Class Editor.
    2. Open OpenPlant_3D.01.07.ecschema of respective project from project directory.
    3. Supplement with OpenPlant_3D_Supplemental_Modeling.01.07.ecschema & OpenPlant_3D_Supplemental_ModelingViews.01.07.ecschema.

      For More information on supplementing schema Click Here>>>>

    4. Navigate to Piping Component class, switch to Properties tab. Refer image as shown below.



    5. Click on Add > New to create a new property.



    6. Enter property name as desired here “MODEL_NAME” as shown below.



    7. Right click on created property select Custom Attributes > Add/Remove to add a custom attribute. Refer image below



    8. Search Calculated ECProperty Specification custom attribute & using drop arrow add to Applied Custom Attributes. Refer image below



    9. Enter details under applied custom attribute section as shown below.

      ECExpression:System.Path.GetFileNameWithoutExtension(ActiveFile.FileName)
      Required ECExpression SymbolsSet[0]: System.String
      Required ECExpression SymbolsSet[1]: System.Path
      Required ECExpression SymbolsSet[2]:
      System.Environment
      Required ECExpression SymbolsSet[3]:
      ActiveFile



      Note: To add Required ECExpression SymbolSets, right click & set Add Element as shown below.



    10. Save all the changes & verify the result in OpenPlant Modeler as shown below.

    See Also

    See Video

     

    • OpenPlant Modeler
    • To Show Model File Name in OpenPlant Modeler
    • File Name to Components in OpenPlant Modeler
    • Active File Name in OpenPlant Modeler
    • Share
    • History
    • More
    • Cancel
    • Deepak Singh Created by Bentley Colleague Deepak Singh
    • When: Thu, May 9 2019 4:29 AM
    • Deepak Singh Last revision by Bentley Colleague Deepak Singh
    • When: Fri, May 10 2019 7:42 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

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