Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to import Unit, Service, Pipeline Instances from a Text File to an Active DGN File
    • 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
          • +Structural Modeling Components (SMC)- OpenPlant Modeler
          • -Tasks - OpenPlant Modeler
            • Clash Detection for Olets in OpenPlant Modeler
            • How to import Unit, Service, Pipeline Instances from a Text File to an Active DGN File
            • How to List Required Items in Items Browser Using Search Query
            • How to Save & Load the Query from Item Browser
            • Make associated items 'Read Only' for users in Create Pipeline dialog
            • To Enter New Piping Components from Component Table
          • +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
        • 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 import Unit, Service, Pipeline Instances from a Text File to an Active DGN File

    Applies To 
    Product(s): OpenPlant Modeler
    Version(s): 08.11.09.XXX (SS5) | 08.11.11.XX (SS6)
    Environment:  Windows 7/8.1/10 (64 bit)
    Area:  Tasks
    Subarea:  Piping
    Original Author: Justinas Lipnickas, Bentley Product Advantage Group

    Background

    Occasionally it is required to load a bunch of Company standard Services / Units into an active dgn file. From OpenPlant Modeler SS5 version a new command for this was introduced. Sample files for importing can be found here. 

    Steps to Accomplish

    1. Create plain text import files, according to the following file format:

      [Associations]
      <Associated Class1>=<Business Key>
      <Associated Class2>=<Business Key>

      [InstanceData]
      <Property Name 1>=<Value>
      <Property Name 2>=<Value>

    2. Associations tags are optional and not required for example as in case of unit or service;
    3. Any number of instances following an associations tag will be associated to defined associations;
    4. It is assumed that any associations already exist in the design file, if they are used in the text file.


    5. Open the dgn file into which is required to import these instances;
    6. Enter the Key-in OpenPlantModeler Import <Class Name>. Note that <Class Name> is case sensitive (most likely it will be uppercase), so to import Services user need to run OpenPlantModeler Import SERVICE key-in.
    7. File Open dialog will prompt where user need to select the text file with the Instances to import and click open.

      NOTE: If user is using some associations in his text file, he need to make sure that those associated items are already existing in the active DGN file. So according to the sample files, user would first need to load Unit and Service files, and only then load the Pipelines file. Also, just to remind, pipelines in OpenPlant Modeler uses PIPING_NETWORK_SYSTEM class, so this class name has to be used to import them.

    8. After importing sample files, all associations and pipelines should appear in items tree like shown below. It can also be then checked-in to the OPMS server, if needed. 

    To Import Instances in SS6 (08.11.11.87) / SS6 Refresh (08.11.11.225) Version

    1. Overall the steps remain same as explained above for importing the instances into DGN file except one change required in PCF file. With SS6, a new variable added in the project PCF file as given below:

      OPM_ALWAYS_INIT_CLASSES = PIPING_NETWORK_SYSTEM;PIPING_NETWORK_SEGMENT;TRAY_NETWORK_SYSTEM;TRAY_NETWORK_SEGMENT;HVAC_NETWORK_SYSTEM;HVAC_NETWORK_SEGMENT;

    2. User need to add class in this variable for which instances have to be imported from text file. For Example, to import instances for UNIT & SERVICE, add these classes as highlighted below:

      OPM_ALWAYS_INIT_CLASSES = PIPING_NETWORK_SYSTEM;PIPING_NETWORK_SEGMENT;TRAY_NETWORK_SYSTEM;TRAY_NETWORK_SEGMENT;HVAC_NETWORK_SYSTEM;HVAC_NETWORK_SEGMENT;UNIT;SERVICE



    3. Once the changes are saved, re-load OpenPlant Modeler and import the instances.

    See Also

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/24142.make-associated-items-read-only-for-users-in-create-pipeline-dialog

    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!

    • piping
    • OpenPlant Modeler
    • TASKS
    • how to
    • Import Export
    • Share
    • History
    • More
    • Cancel
    • JustinasL Created by JustinasL
    • When: Wed, Aug 28 2013 8:56 AM
    • Rajesh Agrawal Last revision by Rajesh Agrawal
    • When: Fri, Jan 27 2017 1:43 AM
    • Revisions: 21
    • Comments: 1
    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