Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 12277

Wiki Page: How to Add Custom Fields in Equipment Database Record.

$
0
0
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: Go to following path C:\Program Files (x86) \Bentley\Plant V8i\Equip\methods\util Make copy of EDIT.EBS file and rename as ORG_EDIT.EBS. 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) ) Save the Ebs file. Edit existing field and add new field in ProjData .mdb file. Now open AUTOPLANT Equipment drawing Place any equipment. Go to Equipment> Database Tools>Edit database. Above dialog will open with customize field. 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!

Viewing all articles
Browse latest Browse all 12277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>