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.
To setup AutoPLANT P&ID V8i SS2 to use customized CATT dialogs the following steps will have to be implemented.
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.
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:
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.
Browse to the ..\PROJECTNAME\STANDARDS\ folder and backup your Rebcompdlgs.dll.
Copy newly compiled Rebcompdlgs.dll from the temporary location to ..\PROJECTNAME\STANDARDS\ location.
Modify Project.ini with new user variable.
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.
Product TechNotes and FAQs
Plant Design and Engineering - Wiki
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
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!
1. It would be helpful if you would add in section 1 how do I register the RebCompdlgs.dll file using the RegSRV32.
2. It would be helpful if you would add in section 3.b. that I need to open the new RebisComponentDialogs.vbp file and in section 3.f. I need to browse to the old RebCompdlgs.dll file