OpenBuildings Designer – Set the default MicroStation mode for .DGN files
Background
The default mode for right-click opening of .DGN files can be set onOpenBuildings Designerthrough standard Windows file association processes. However,OpenBuildings Designerwill always open in modeDesignercomplete because Windows makes the association with the .exe fileOpenBuildings Designerrather than with shortcuts containing discipline switches. If you are comfortable with changing the Windows registry database, the action of the file association can be changed. If you are not too helpful, ask your IT department to complete the operation for you.
Steps to follow
OpenBuildings Designer (CONNECT Edition)
There are two stages.
1. Define file association:
In Windows Explorer, right-click a file.DGNand, if not already associated withOpenBuildings Designer, selectOpenBuildings Designer CONNECT Editionin the list "Open with" (box in green). This step may vary depending on the version of Windows you are using, it is for example Windows 10. The behavior is similar in Windows 11:
This step will makeOpenBuildings Designerdefault application for files.DGNby opening in modeOpenBuildings Designer complete.
2. Change the effect of file association:
Runregedit.exe(press Win + R keys – Then enter the "regedit.exe" command):
Access the appropriate registry key.
The key to change will depend on the version of Windows you are using.
For Windows 10 it will be:
ComputerHKEY_CLASSES_ROOTApplicationsOpenBuildingsDesigner.exeshellopencommand
Change this key to rmaking a double click on the word "(By Default)" in the column "Name".
The next screen opens. Insert switch before "%1"–wsBB_DISCIPLINE=MicroStationmaking sure that it is introduced AFTER the following quotesOpenBuildingsDesigner.exe !
In this way,OpenBuildings Designerwill always start in modeMicroStationwhen.DGNwill be clicked with the right mouse button in Windows Explorer.
To be complete:
- Switch-wsBB_DISCIPLINE=MicroStationforces OpenBuildings Designer to start in modeMicroStation.
- Switch“%1”Opens the file that is selected.
This registry key controls the behavior of the commandWindows Shell Openassociated with OpenBuildings Designerand does not affect other shortcutsOpenBuildings Designer.
Previous versions
AECOSim Building Designer Edition CONNECT
ForAECOSim Building Designer CONNECT Edition, follow the instructions below, but in HKEY ComputerHKEY_CLASSES_ROOTAECOSim Building DesignerShellopencommand, replace the command chain with:
"C:Program FilesBentleyAECOSim CONNECT EditionAECOsimBuildingDesignerAECOSimBuildingDesigner.exe"-wsBB_DISCIPLINE=MicroStation“%1”
AECOSim Building Designer V8i
The default mode for right-click opening of .DGN files can be set on AECOSim Building Designer (ABD) by standard Windows file association processes. However, ABD will always open in Full Building Designer mode as Windows is associating with the .exe d?ABD file rather than with shortcuts containing discipline switches. If you are satisfied with the registry change, the action of the file association can be changed.
There are two stages.
1. Define file association:
In Windows Explorer, right-click a .DGN file and if it is not already associated with ABD, select (green box), select ABD from the "Open With" list (orange box). This step may vary depending on the version of Windows you are using, it is Windows 8.1:
This step will make the default application for .DGN files open ABD in full building design mode.
2. Change the effect of file association:
Runregedit.exe
Access the appropriate registry key.
The key to change will depend on the version of Windows you are using.
Windows 7-8:
HKEY_CLASSES_ROOTAECOSim Building DesignerShellop Control Record
Windows 10:
HKEY_CLASSES_ROOTApplicationsAECOSimBuildingDesigner.exeshellopencommand
In each case, change the existing value:
"C:Program Files (x86)Bentley...AECOSimBuildingDesigner.exe" "%1"
Adding the highlighted switch:
"C:Program Files (x86)Bentley...AECOSimBuildingDesigner.exe" –wsBB_DISCIPLINE=MicroStation “%1”
This step always starts ABD in MicroStation Building Designer mode when a .DGN is clicked with the right mouse button in Windows Explorer.
The -wsBB_DISCIPLINE=MicroStation switch starts ABD in MicroStation Building Designer mode.
the switch "%1" opens the file that is selected and opened.
This registry key controls the behavior of the Windows Shell Open command associated with ABD and does not affect other ABD shortcuts.
Remarks:
a) you may wish to consult colleagues who are familiar with the Windows registry or request the assistance of your IT team before taking this step. Changing the registry can cause significant damage to Windows if you are unfamiliar with regedit. Don't changeTHAT THE CLEmentioned in this article!
b) you may need administrative authorizations to modify the registry, in which case you may request assistance from your IT team.