Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AutoPLANT | AXSYS | OpenPlant | PlantWise
  • Product Communities
  • More
AutoPLANT | AXSYS | OpenPlant | PlantWise
AutoPLANT | AXSYS | OpenPlant | PlantWise Wiki How To Modify Or Add Custom Fields In PIDs Pipe Settings Dialog Box [TN]
    • Sign in
    • -Plant Design and Engineering - Wiki
      • OpenPlant Product Compatibility
      • +CONNECT Services - OpenPlant
      • +OpenPlant Modeler CONNECT
      • +OpenPlant PID CONNECT
      • +OpenPlant Isometrics Manager CONNECT
      • +OpenPlant Orthographics Manager CONNECT
      • +OpenPlant Support Engineering CONNECT
      • +OpenPlant Project Administrator CONNECT
      • +OpenPlant Modeler v8i
      • +OpenPlant Isometrics Manager v8i
      • +OpenPlant Project Administrator v8i
      • +OpenPlant PID v8i
      • +OpenPlant Orthographics Manager v8i
      • +OpenPlant Support Engineering v8i
      • +OpenPlant ModelServer v8i
      • +OpenPlant Reporting v8i
      • -Bentley AutoPLANT
        • AutoPLANT Product Group Compatibility
        • +AutoPLANT Modeler
        • +AutoPLANT Piping
        • +AutoPLANT Equipment
        • +AutoPLANT I&W
        • -AutoPLANT P&ID
          • APPID SS2: Unhandled Exception Errors in CATT Dialogs
          • APPID: Error 2727 - The directory entry 'ACADDIR1' does not exist in the Directory table.
          • APPID: How do I increase the distance between the Hand Valve and End Codes?
          • APPID: How do I modify the P&ID Lists?
          • APPID: How to set default value for the Pipe Settings Dialog
          • Auto Plant Alert : This drawing is an export copy...
          • AutoPLANT Equipment - Equipment: Setting colors
          • AutoPLANT PID [FAQ]
          • Certain AutoPLANT tables are not created when creating new project from current.
          • Does AutoPLANT P&ID SelectSeries 3 support Windows XP 64 bit?
          • Error Creating Control APAcadUtils2.Symbolmanager [TN]
          • How do I change the slant of text for Piping Annotation in AutoPLANT P&ID?
          • How Do I Create A New Custom Default Style And Font To Be Used In AutoPLANT PID [TN]
          • How do I customize insulation insertion and attributes
          • How Do I Find And Erase Bad Data Points On Drawings Causing LyntitypP Nil And StringP Nil Errors [TN]
          • How Do I Load PID Menus After A New Install [TN]
          • How do I modify Light Instrument Colors?
          • How do I move a P&ID drawing to another Project?
          • How do I turn on IAREA to Automatically Populate when a Control Valve is placed?
          • How Do I Upgrade Previous Versions Of The CATT Dialogs To Work In V8i Format [TN]
          • How To Add New Actuators For Control Valves [TN]
          • How to Annotate Nozzle as only Nozzle number
          • How to configure AutoPLANT P&ID V8i SS2 for use with customized CATT dialogs [TN]
          • How To Convert PID Menu Files To AutoCADs CUI Menu System [TN]
          • How To Create And Add A New Control Valve In PID [TN]
          • How To Create And Use Custom Borders In PID [TN]
          • How To Define Custom Layers For Custom Components [TN]
          • How to define Revision History in Custom Borders [TN]
          • How to download the AutoCAD 2012 VBA Enabler for AutoPLANT P&ID Find Tag and other VBA Dialog use?
          • How to I add a Hyperlink to an external file on a component's annotation text?
          • How To Modify Or Add Custom Fields In PIDs Pipe Settings Dialog Box [TN]
          • How To Modify Process Line Annotation String In AutoPLANT PID [TN]
          • How To Open An Existing PID With ProjectWise Explorer [TN]
          • How to script an install for the Process and Instrumentation Workgroup?
          • How to update SPEC using CATT command.
          • Install Order For AutoPLANT PID XM Edition [TN]
          • Project database upgrade options in Project Administrator
          • ProjectDB
          • Tool for converting AutoPLANT DBF files to Db3 format
          • Where are AutoPLANT P&ID Assemblies stored?
        • +AutoPLANT Isometrics
        • +AutoPLANT AutoISOGEN
        • +Bentley Data Manager
        • +Vision/Document Manager
        • +Drawing Flattener
        • +DataSheets
        • +Specification Generator
        • +ProjectWise Integration
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
    • i-model Composition Service for S3D

     
     Questions about this article, topic, or product? Click here. 

    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:
    (setq UseSetVarsSaveFromIniFile t)
    • Save and Exit.
    • Add the field (PCODE) to the PIPE_RUN table VIA Project Administrator.
    • Link the new field to the project’s AT_PROCESS View.
    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).
    • 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!

     

    • AutoPLANT P&ID
    • TechNotes
    • Share
    • History
    • More
    • Cancel
    • Jordan Stierly Created by Bentley Colleague Jordan Stierly
    • When: Mon, Aug 16 2010 9:09 AM
    • Elisabeth Pry Last revision by Bentley Colleague Elisabeth Pry
    • When: Mon, Jun 17 2013 2:48 PM
    • Revisions: 3
    • Comments: 0
    Anonymous
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • User Management
    • Licensing Manager
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2019 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies