Component Preferences not loading properly and showing corrupt display

 

Component Preferences not loading properly and showing corrupt display. When this error happens, normally the Component Preferences toolbar looks like it just didn't load fully. The relationship instances and other pulldowns are missing, only showing the gray interface. However, in some cases, switching between a project that works and one that doesn't (without closing the AutoCAD session), will cause more errors as shown in the screen capture below.

Product: AutoPLANT Piping

Version: 08.11.07.60; SelectSeries 2

Area: Line Number; Area; Unit; Service; Main Size; Relationships; Corrupt; Display; Incorrect; Invalid

AutoPLANT Preference Selector

! Runtime error '457'

This key is already associated with an element of this collection.

 

 

 

 

Solution:

This issue can be caused by a project specific setting. To trouble shoot this, test in a sample project provided by Bentley, such as SAMPLE_IMPERIAL. If it works, then this is a setting from the CONFIG.INI.

 

Compare the ..\project name\Config\CONFIG.INI between the working project and the problem project.

 

Once the settings are updated properly, remove the following files/folders.

 

..\documents and settings\all users\application data\bentley\plant v8i\config\project name.ini

..\documents and settings\all users\application data\bentley\plant v8i\config\project name folder\

 

Test in a new drawing to ensure this works properly. If existing models still have the problem. Use the following command in AutoPLANT piping to view the piping system variables

 

(at_pipingsystem_displayvariables)

 

To update the incorrect variable value, use the following command:

 

(at_pipingsystem_setvariable "enter variable here" "enter new value here")