Opening a a dgn file from windows into a previously open session


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.05.02.27
 Environment: N\A
 Area: Configuration
 Subarea: General
 Original Author:Bentley Technical Support Group
  

Problem

Wants to be able to double click on a drawing in Windows Explorer and have it open in an existing session of MicroStation.

Solution

Add one of the following to the MicroStation command line for the file association:


-SingleInstance=Prompt
-SingleInstance=Yes
-SingleInstance=No
-SingleInstance=Cancel

Place it prior to the "%1" Under normal windows operations this will cause an open session of MicroStation to close it's open file and display a DGN file activated "doubled clicked" from Windows Explorer.

EXAMPLE:
D:\Bentley\08050227\Program\MicroStation\ustation.exe -SingleInstance=Yes "%1"



See Also

Further Command Line Options

http://communities.bentley.com/products/microstation/w/microstation__wiki/microstation-command-line-options-and-switches.aspx

File Associations

http://communities.bentley.com/products/microstation/w/microstation__wiki/6266.file-associations.aspx