Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AutoPLANT | OpenPlant | PlantWise
  • Product Communities
  • More
AutoPLANT | OpenPlant | PlantWise
AutoPLANT | OpenPlant | PlantWise Wiki How to configure AutoPLANT P&ID V8i SS2 for use with customized CATT dialogs [TN]
    • Sign in
    • -AutoPLANT | Bentley Raceway and Cable Management | OpenPlant | PlantWise Wiki
      • +OpenPlant
      • -Bentley AutoPLANT
        • AutoPLANT Product Group Compatibility
        • +AutoPLANT Modeler CONNECT Edition
        • +AutoPLANT Modeler V8i
        • +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
      • +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
    • How to Associate the Specification Based on Service in OpenPlant Modeler Connect

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

    How to configure AutoPLANT P&ID V8i SS2 for use with customized CATT dialogs [TN]

       
      Applies To 
       
      Product(s): AutoPLANT P&ID SELECTseries 2
      Version(s): 08.11.07.60
      Environment:  N/A
      Area:  N/A
      Subarea:  N/A
      Original Author: RonnieP and bmoberg, Bentley Technical Support Group
       

     

     

     

     

     

     

     

     

    Overview

    AutoPLANT P&ID V8i SS2 Version 8.11.07.60 no longer reads the custom REBCOMPDLGS.DLL from the standards folder of your project.  By default, it is now read from C:\Program Files\Bentley\Plant V8i\P&ID.  These changes were implemented to gain compatibility with Windows 7 UAC control. 

    This Tech Note describes in detail the configuration changes necessary to run AutoPLANT P&ID SS2 with previously customized CATT Dialogs.

     

    Procedure

    To setup AutoPLANT P&ID V8i SS2 to use customized CATT dialogs the following steps will have to be implemented.

    1. Copy the C:\Program Files\Common Files\Bentley Shared\Plant V8i\REBCOMPDLGS.DLL to C:\Program Files\Bentley\Plant V8i\P&ID and register it using the REGSVR32 command.  (Start >  Run > type REGSVR32 in the run dialog and drag and drop the file into the window) NOTE: This step must be implemented on every workstation running AutoPLANT P&ID V8i SS2.

    2. Add New system environment variable (Control Panel > System > Advanced Tab) – PROGRAMDATA = C:\Program Files on each user’s workstation. NOTE: This step must be implemented on every workstation running AutoPLANT P&ID V8i SS2. Shown below: 

    3. Any previously customized Rebcompdlgs.dll files will have to be recompiled again from the user’s customized rebiscomponentdialogs.vbp Visual Basic project with binary compatibility enabled.  NOTE: This is a onetime step that must be completed by the Project Administrator. 


      Steps below to add Binary Compatibility:
      1. Browse to the customized Propdlgs folder that contains the Visual Basic code for the customized Catt Dialogs.
      2. Open the RebisComponentDialogs.vbp file.
      3. Select Project > RebisComponentDialogs Properties.
      4. In the Project Properties dialog select the Component Tab.
      5. In Version Compatibility section select “Binary Compatibility”
      6. Select the browse button and path to the Rebcompdlgs.dll just copied to C:\Program Files\Bentley\Plant V8i\P&ID\
      7. Select OK. Refer to picture below: 
      8. File > Make Rebcompdlgs.dll
      9. Save to temporary location.
    4. Browse to the ..\PROJECTNAME\STANDARDS\ folder and backup your Rebcompdlgs.dll.

    5. Copy newly compiled Rebcompdlgs.dll from the temporary location to ..\PROJECTNAME\STANDARDS\ location.

    6. Modify Project.ini with new user variable.

      1. Using notepad open the ..\PROJECTNAME\PROJECT.INI file.
      2. Add a new variable at the bottom of the [General] section of the project.ini of the project.
        USECUSTOMREBCOMP=1

        Example below:
        [GENERAL]
        APPLICATIONS=DOCMANAGER;PIPING;ISOMETRICS;ELECTRICAL;EQUIP;2DPIPING;FLATTENER;VISION;NAVIGATOR;DATAMANAGER;HOOKUPS;I&W;INSTRUMENTATION;DATASHEETS;TEMPLATEGEN;P&ID;STRUCTURAL;
        DELETETAGNUMBERS=Yes
        TAGNUMPREFIX=000
        PROJECTNAME=SS2_Test1
        PROJECTDESCRIPT=SS2_Test1
        REMOVE TAGS ON DOCUMENT DELETION=Yes
        COMPACTPROJECTMDBVALUE=20
        PROJECTID=0001
        PROJECTGUID={DCC8F728-BC50-43E2-865D-250B00A3ED90}
        SHAREDSCHEMA=0
        SHAREDSTANDARDS=0
        USECUSTOMREBCOMP=1

        Definition of Variable Value Below:

        • USECUSTOMREBCOMP=1 means P&ID will copy the REBCOMPDLGS.DLL from your ..\PROJECTNAME\STANDARDS\ folder to C:\Program Files\Bentley\Plant V8i\P&ID\.  P&ID will now run and register the dll from this location.
        • USECUSTOMREBCOMP=0 means P&ID will read directly from C:\Program Files\Bentley\Plant V8i\P&ID\ and bypass the copy from ..\PROJECTNAME\STANDARDS\ folder.

    Example:
     If Project A is running a custom dll in the Standards folder and has variable = 1 on open of P&ID it will copy the dll down to the C:\Program Files\Bentley\Plant V8i\P&ID\ location.
    However, if Project B has variable = 0 (or no variable at all) it will look directly at the C:\Program Files\Bentley\Plant V8i\P&ID\ location – Please note that the custom dll from Project A has already been copied here on open of Project A and Project B will appear to be looking at the custom dll from Project A.

    To solve this the new variable in Project B will have to be set to 1 as well so it can use its base dll from the ..\PROJECTNAME\STANDARDS\ folder and copy it down to the C:\Program Files\Bentley\Plant V8i\P&ID\ location to overwrite Project A’s dll.  The C:\Program Files\Bentley\Plant V8i\P&ID\ can be considered a temporarily working folder for the Rebcompdlgs.dll now.

     

     

    See Also

    Product TechNotes and FAQs

    Plant Design and Engineering - Wiki

    External Links

    Bentley Technical Support KnowledgeBase

    Bentley LEARN Server

    Comments or Corrections?

    Bentley's Technical Support Group requests that you please submit any comments you have on this Wiki article in the "Comments" area below. THANK YOU!

     

     

    • TechNote
    • Visual Basic
    • AutoPLANT P&ID
    • SS2
    • CATT
    • Share
    • History
    • More
    • Cancel
    • Matt_P Created by Communities MVP Matt_P
    • When: Mon, Jun 21 2010 12:34 PM
    • Elisabeth Pry Last revision by Bentley Colleague Elisabeth Pry
    • When: Mon, Jun 17 2013 2:31 PM
    • Revisions: 9
    • Comments: 1
    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