Error - Unable to load/create dialog item of type 'IconCmd', id


 Product:MicroStation
 Version:V8i
 Environment:N\A
 Area:Administration
 Subarea:N/A

Error or Warning Message

When starting MicroStation, error message appears stating, for example:

 “Unable to load/create dialog item of type 'IconCmd', id =

See images of example error message below:

or

Explanation

The error message is normally caused by a conflict in menus. The conflict could be between the MicroStation delivered menu and a custom menu or between two custom menus. Typically two different menu items have the same menu id number.

In most cases such error message shows up when using Workspace from older MicroStation version. Some menu changes are in newer version that needs to be updated in Workspace or in custom menu on DGNLIB, because some tools available in V8i have been changed, removed, or replaced for V8i SS1 or V8i SS2.

Example: Customer processed some toolbox and task customizations directly in ustation.dgnlib with MicroStation V8i version 08.11.05.17. When he exchanges ustation.dgnlib from version 08.11.07.171 with his edited one from previous version he receives following error massages.

How to Avoid

Option 1

Ustation.dgnlib is part of the SystemDGNLibList variable, therefore it shouldn´t be changed or exchanged as it may render your MicroStation unusable.

If you need to customize your MicroStation, please create or add another *.dgnlib, and create the custom tasks or what else you may be customizing in that extra *.dgnlib.

Option 2

To track down the faulting tool/icon read from error message. Let say: Unable to load/create dialog item of type
'IconCmd', id = -305 from dialog “MODIFY”

Open Customize dialog -> load your DGNLIB file -> check under “Modify” toolbox for tool that’s Icon ID = -305.

Easy to identify the faulting tools as the question marks are displayed in instead of tool icon. Example of View Control toolbox icons missing in custom menu:

Option 3

If you do not have any custom menu, custom Workspace and it is fresh MicroStation installation, but you still get those messages – try to reset User Preferences *.UPF - How To Reset User Preferences and Delete MicroStation‘s Temporary Files or  Restore MicroStation to Factory defaults

See Also

Other Language Sources

Deutsch Español Italiano

 Original Author:Darius Rimasauskas