Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to Get Model Name(filename) from AutoPLANT In Isometrics Using OPIM
    • 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
        • -OpenPlant Isometrics Manager v8i
          • +OpenPlant Isometrics Manager for OpenPlant
          • -OpenPlant Isometrics Manager for AutoPLANT
            • Installation/Upgradation Steps of OpenPlant Isometrics Manager for AutoPLANT
            • +Errors, Logs, Messages, Crashes - OpenPlant Isometrics Manager for AutoPLANT
            • +Open/Save - OpenPlant Isometrics Manager for AutoPLANT
            • +Processing - OpenPlant Isometrics Manager for AutoPLANT
            • -Settings/Attributes - OpenPlant Isometrics Manager for AutoPLANT
              • +Modifying Text and Annotation for AutoPLANT - OpenPlant Isometrics
              • +Modifying Symbols for AutoPLANT - OpenPlant Isometrics
              • +Modifying Dimensions for AutoPLANT - OpenPlant Isometrics
              • +Modifying DB Query: Usage, Logging, Debugging
              • +Modifying BOM for AutoPLANT - OpenPlant Isometrics
              • +Modifying Isometric Content for AutoPLANT - OpenPlant Isometrics
              • How to Append Tag Name of Instrument in Long Description
              • How to Change the Cursor Crosshair Color in OpenPlant Isometrics Manager
              • How to Enable OpenPlant Isometrics Manager to Read AutoPLANT Spool Number
              • How to Get AutoPLANT Weld IDs in OpenPlant Isometrics Manager
              • How to Get Model Name(filename) from AutoPLANT In Isometrics Using OPIM
              • How to Report the Reinforcing Pad Using Schema Customization in OpenPlant Isometrics Manager
              • How to Show Reserved Weld IDs in AutoPLANT - OpenPlant Isometrics
              • How to Show Spool Identifier and Test Port Instrument Bubble Tag Number In Isometric
              • How to Show User Label only for Reducing Branch Size
              • How to Skip THREAD or SOCKET Weld IDs in OpenPlant Isometric Manager
              • How to Suppress ‘UBR_STUB_IN’ in OpenPlant Isometrics Manager Bill of Material
              • How to Import Isometric Cells from One Project Cell Library to Another Project Cell Library
              • How to Make OpenPlant Isometrics Manager Styles Stored Globally for All Projects Using AutoPLANT Modeler
              • How to Label Pipe Support Tag
              • How to Use Grid Lines in OpenPlant Isometrics Manager for AutoPLANT
              • How to Use Isometric Cleanup When the Output Format is DWG for AutoPLANT
              • How to Add Material Property in PCF file
              • How to enable the specific Component Tags to be shown in Isometrics Using User Label
              • OpenPlant Isometrics for AutoPLANT settings for Project Isometrics
            • How to Change Miscellaneous Attachment Annotation Container in CONNECT Edition
            • How to Change Text Font, Size, Color and Location in BOM Using Text Nodes in CONNECT Edition
            • How to Create Special Stamps using Detail Sketches in OpenPlant Isometrics Manager in CONNECT Edition
            • How to Create Special Stamps using Reports in OpenPlant Isometrics Manager in CONNECT Edition
            • How to Delete Ecxml Files, after certain Period in CONNECT Edition
            • How to Export Bill of Material In CSV Excel Format for AutoPLANT Modeler in CONNECT Edition
            • How to Publish Isometrics in DGN, DWG and PDF Output Formats in CONNECT Edition
            • How to Save Isometrics Output on Network Drive for AutoPLANT in CONNECT Edition
          • +Release Notes - OpenPlant Isometrics Manager
          • OpenPlant Isometrics Manager [FAQ]
        • +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 Get Model Name(filename) from AutoPLANT In Isometrics Using OPIM

    Applies To OpenPlant Isometrics Manager
    Product(s): OpenPlant Isometrics Manager
    Version(s): SS5, SS6
    Environment: Windows 7/8.1/10 (64 bit)
    Area: Installation
    Subarea:
    Original Author: Bentley Product Advantage Group

    Overview

    How to get the model name (filename) from AutoPlant into the iso using OPIM?

    Steps to Accomplish

    1. Open your Isometrics Style configuration folder and select to open node2da.txt file



    2. Add at the end of attributes list add new atribute 00_PipingModel and at the end of this file add the following lines:

      1 # If an Access based project is used: (as  example)
      mydsn=Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\ProgramData\Bentley\Plant V8i\Bentley Plant V8i Projects\SAMPLE_METRIC\Projdata\Projdata.mdb;
      OR
      # If a SQL project is used with Windows Authentfication,
      mydsn=Driver={SQL Server};Server=SQL Server name;Database=sql databse name;
      2 # If a user id and password option is used add also the following:
      Uid=userid;Pwd=password;
      3 # This is the query to get the KEYTAG from the project database using LINENUMBER
      00_keytag = DBQUERY ($(mydsn), select keytag from TAG_REG where tag_no='$(LINENUMBER)')
      4 # this makes a drawing attribute compID that gets the most common value of the component attribute GUID
      compId = *(GUID)
      5 # This is the query to get the modelname from the project database using compID
      00_PipingModel = DBQUERY ($(mydsn), SELECT D.DOC_NAME FROM DOC_REG AS D INNER JOIN RELATIONSHIPINSTANCE AS R1 ON R1.ID1 = D.DOC_ID WHERE R1.ID2='$(compID)' AND R1.RELATIONSHIPTYPE = 3)



    3. Save and close the file.
    4. Run an iso in the project and in the resulting Iso, go to menu IsoExtractor>Text Node Editor.
    5. Find text node with same number on which you have added new attribute, select it, right mouse click, select Place Text Node.
    6. Place the node on any wanted location and close the Text Node Editor. With this step you will modify text node location in your isometrics seed file and all generated isometrics will be placing this text node on your selected location.


    7. After this step just close OPIM and generate new Isometrics and you will se how file name is placed as annotation on that location where text node was placed.

    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!

    • Settings
    • model name
    • OpenPlant Isometrics Manager
    • ISO
    • Share
    • History
    • More
    • Cancel
    • Berrie Geboers Created by Berrie Geboers
    • When: Fri, Mar 17 2017 11:26 AM
    • Kestutis Mitkus Last revision by Bentley Colleague Kestutis Mitkus
    • When: Tue, May 14 2019 8:09 AM
    • Revisions: 11
    • 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