Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenPlant | AutoPLANT
  • Product Communities
  • More
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to Add Custom Fields in Equipment Database Record.
    • Sign in
    • -OpenPlant | AutoPLANT Wiki
      • +OpenPlant
      • -Bentley AutoPLANT
        • AutoPLANT Product Group Compatibility
        • +AutoPLANT Modeler CONNECT Edition
        • +AutoPLANT Modeler V8i
        • +AutoPLANT Piping
        • -AutoPLANT Equipment
          • AutoPLANT Equipment [FAQ]
          • ERROR DEBUG MODE Variable Is Not Defined In The Settings File Unable To Initialize Equipment Application [TN]
          • How do make nozzle tank connection view correctly (show intersection line) in AutoCAD while plotting
          • How to Add Custom Fields in Equipment Database Record.
          • How to add Decimal value angle for Axial Nozzle
          • Override size limits for Equipment items.
        • +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 Add Custom Fields in Equipment Database Record.



       
      Applies To 
       
      Product(s): AutoPLANT Equipment
      Version(s): 08.11.XX.XXX
      Environment:  Windows 7 / 8/10 (32/64 bit)
      Area:  Settings/Attributes
      Subarea: 
      Original Author: Abhijit Bute, Bentley Product Advantage Group
       

    Background

    Some user may have requirement to add custom field for equipment, so that the data can be searched, and model element display modified by using these fields.  

    Steps to Accomplish

    It could be accomplish by editing 'EDIT.EBS' file by following steps:

    1. Go to following path C:\Program Files (x86) \Bentley\Plant V8i\Equip\methods\util
    2. Make copy of EDIT.EBS file and rename as ORG_EDIT.EBS.
    3. Open ‘EDITDB.EBS’ file, edit as per below images.


                       
      Begin Dialog UserDialog ,,350,250,at_msg 

      Text 32,102,24,8,at_msg("Note1:", "EQP", 0),.Text10
      TextBox 60,100,196,12,.NO1
      Text 32,118,24,8,at_msg("Note2:", "EQP", 0),.Text11
      TextBox 60,116,196,12,.NO2
      Text 32,134,24,8,at_msg("Note3:", "EQP", 0),.Text12
      TextBox 60,132,196,12,.NO3
      Text 32,150,24,8,"Note4:",.Text13
      TextBox 60,148,196,12,.NO4
      Text 32,165,24,8,"Note4:",.Text15
      TextBox 60,164,196,12,.NO5

      GroupBox 20,204,256,24,"Prompt",.prompt
      Text 24,216,244,8,"",.at_prompt

      Call at_Dlg_setTBctrl ("NO1","C","","","",-1,"",at_Msg("Drawing no #1.","EQP",0))
      Call at_Dlg_setTBctrl ("NO2","C","","","",-1,"",at_Msg("Drawing no #2.","EQP",0))
      Call at_Dlg_setTBctrl ("NO3","C","","","",-1,"",at_Msg("Drawing no #3.","EQP",0))
      Call at_Dlg_setTBctrl ("NO4","C","","","",-1,"",at_Msg("Drawing no #4.","EQP",0))
      Call at_Dlg_setTBctrl ("NO5","C","","","",-1,"",at_Msg("Drawing no #5.","EQP",0))

      Call at_Dlg_setLabel ("Text10" , at_msg("No1:" , "EQP", 0) )
      Call at_Dlg_setLabel ("Text11" , at_msg("No2:" , "EQP", 0) )
      Call at_Dlg_setLabel ("Text12" , at_msg("No3:" , "EQP", 0) )
      Call at_Dlg_setLabel ("Text13" , at_msg("No4:" , "EQP", 0) )
      Call at_Dlg_setLabel ("Text15" , at_msg("No5:" , "EQP", 0) )

    4. Save the Ebs file.
    5. Edit existing field and add new field in ProjData.mdb file.




    6. Now open AUTOPLANT Equipment drawing
    7. Place any equipment.
    8. Go to Equipment> Database Tools>Edit database.



    9. Above dialog will open with customize field.
    10. Add manually values for fields, same will populate in database.

    See Also

     

    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!

    • AutoPLANT Equipment
    • Custom Database Field
    • Share
    • History
    • More
    • Cancel
    • Abhijit Bute Created by Bentley Colleague Abhijit Bute
    • When: Mon, Apr 24 2017 2:25 AM
    • Vidit Ruhela Last revision by Vidit Ruhela
    • When: Thu, Aug 8 2019 9:51 AM
    • Revisions: 4
    • 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