Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to obtain Valve Location while creating AutoPLANT Report
    • Sign In
    • -OpenPlant | AutoPLANT Wiki
      • +OpenPlant
      • -Bentley AutoPLANT
        • AutoPLANT Product Group Compatibility
        • +AutoPLANT Modeler CONNECT Edition
        • -AutoPLANT Modeler V8i
          • +AutoPLANT Modeler [FAQ]
          • +Component - AutoPLANT Modeler
          • -Customization - AutoPLANT Modeler
            • How to Add Mitered Elbow in Existing Catalog using Specification Generator
            • How to add Spec Criteria in Project Isometrics
            • How to Assign Pipe Insulation Properties for All Insulated Components in Model
            • How to Change Weld Size Graphics in AutoPLANT Modeler
            • How to Make a Custom Isometric Style Available in the Create Iso via OPIM option
            • How to Make Changes in AutoPLANT to Place Mitered Pipe of more then 45 degree angle.
            • How to obtain Valve Location while creating AutoPLANT Report
            • How to place Lapped flange one side and fixed flange other side for Lined Pipe
            • How to Set Folder Structure of the Document Manager as per Project Requirement in AutoPLANT Modeler
            • How to Show insulation for Strainer and Steam Traps
            • How to update Pipeline insulation color with single color
            • How to use Custom Symbols for Lightning in Cable Tray Module.
          • +Database - AutoPLANT Modeler
          • +Errors, Logs, Messages, Crashes - AutoPLANT Modeler
          • +General - AutoPLANT Modeler
          • +Installation - AutoPLANT Modeler
          • Processing - AutoPLANT Modeler
          • +Settings/Attributes - AutoPLANT Modeler
          • +Tools - AutoPLANT Modeler
        • +AutoPLANT Piping
        • +AutoPLANT Equipment
        • +AutoPLANT I&W
        • +AutoPLANT P&ID
        • +AutoPLANT Isometrics
        • +AutoPLANT AutoISOGEN
        • +Bentley Data Manager
        • +Vision/Document Manager
        • +Drawing Flattener
        • +DataSheets
        • +Specification Generator
        • +ProjectWise Integration
      • +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 obtain Valve Location while creating AutoPLANT Report



       
      Applies To 
       
      Product(s): AutoPLANT Modeler
      Version(s): 08.11.XX.XXX
      Environment:  Windows 7 / 8/10 (32/64 bit)
      Area:  Customization - AutoPLANT Modeler
      Subarea: 
      Original Author: Vidit Ruhela, Bentley Product Advantage Group
       

    Overview

    User requirement is to show the Valve location Coordinates in generated reports from AutoPLANT.

    Steps to Accomplish:

    Below steps need to be followed to obtain Valve port coordinates in Report Excel file.

    When Using SQL Database.

    1. Open SQL Database of the associated Project and in same Database Piping Table add X, Y & Z column as shown below.




    2. Once the X,Y,Z columns are added, save and close the Database.

    3. Now open Client Machine where AutoPLANT is installed and navigate to the below path and open pipedata.ebs file in notepad.



    4. Once Opened add the below lines in the Pipedata.ebs file



      Add below lines in file as shown in above screenshot.

      Dim   mypoint        As at_point



      status = at_Component_getpoint (mypoint, compID, "Port1.LOC")

      status = at_DbExt_put (mypoint.X, AT_DB_TABLE_PIPING, AT_CURRENT_DOCUMENT, compID, "X")
      status = at_DbExt_put (mypoint.Y, AT_DB_TABLE_PIPING, AT_CURRENT_DOCUMENT, compID, "Y")

      status = at_DbExt_put (mypoint.Z, AT_DB_TABLE_PIPING, AT_CURRENT_DOCUMENT, compID, "Z")

       
      After adding above lines save and close pipedata.ebs file.

    5. Now open Drawing File and generate the report of the selective components.
    6. Once report is generated go the below path and check for the latest generated report and noticed that now X, Y, Z coordinates are available in the generated report, now this report can be saved anywhere for further reference.


    See Also:

    https://communities.bentley.com/products/plant/w/plant_design_and_engineering__wiki/35584/customization-autoplant-modeler

     

    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/Attributes - OpenPlant Isometrics Manager
    To Discuss various settings desired to output Isometric drawings. See Index: For OpenPlant Modeler - OpenPlant Isometrics Manager Configuring the BOM and Reports Add End type Information in…
    Last edited over 4 years ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki

    • reports
    • AutoPLANT Modeler
    • AutoPLANT
    • Valve coordinates
    • Share
    • History
    • More
    • Cancel
    • Vidit Ruhela Created by Vidit Ruhela
    • When: Mon, Sep 30 2019 10:56 AM
    • Revisions: 1
    • 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