How To Modify Or Add Custom Fields In PIDs Pipe Settings Dialog Box [TN]


  
 Applies To 
  
 Product(s):AutoPLANT P&ID
 Version(s):All
 Environment: N/A
 Area: N/A
 Subarea: N/A
 Original Author:Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

Overview

This TechNote describes the process of modifying or adding custom fields in P&ID’s Pipe Settings dialog box. This will require modifying lisp code and a new INI file. Upon completion of the following steps all custom default values can be added to the INI fie.

Modifying or adding custom fields in P&ID's Pipe Settings dialog box.

Make sure everyone is out of the project and out of all Bentley AutoPLANT applications.

  1. Browse to and open the C:\Documents and Settings\All Users\Application Data\Bentley\Plant XM\P&ID\pid-sup.lsp file.
  2. Search for Drawing Initialization.
  3. Place the following directly above this section:
  4. (setq UseSetVarsSaveFromIniFile t)
  5. Save and Exit.
  6. Add the field (PCODE) to the PIPE_RUN table VIA Project Administrator.
  7. Link the new field to the project’s AT_PROCESS View.
  8. Note: Once the field is added to the view edit the field’s properties and give it a description. This will show in the Pipe Settings Dialog (Pipe Code).
  9. Open a drawing in P&ID and place a process line. You should see your new field description. When this line is placed it will create the following file:

C:\PROGRAM FILES\BENTLEY\PLANT XM\P&ID\PIDPipeSet.ini

Contents of the file created will be the field names and your values you type in. These values will be the default until you change them. Also, this is where you can now set the default values for these values if needed.

See Also

Product TechNotes and FAQs

Plant TechNotes And FAQs

External Links

Bentley Technical Support KnowledgeBase

Bentley LEARN Server

Comments or Corrections?

Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!