February 20, 2013

Associating STEP Files in Windows Explorer to Open Into Single Instance of Solid Edge

A while back I posted on how to open 2D AutoCAD .dwg and .dxf files by opening from Windows Explorer into a single instance of Solid Edge.  Recently saw a request for similar functionality but for opening 3D STEP (.step and .stp) files by default from Windows Explorer into Solid Edge.

You could simply use the Control Panel -> Default Programs settings to associate the STEP file types (.step and .stp) with the Solid Edge executable.  Using this method will result in multiple instance of Solid Edge being launched every time you double-click to open a STEP file from Windows Explorer.

Another issue you may find with using the Default Programs settings is that other software applications may already have defined some registry settings for the .step and .stp file extensions that then prevents setting the STEP file extensions from defaulting to opening with Solid Edge (myself and a customer both experienced this issue).

So if you are having issues associating STEP files to open by default into Solid Edge or want STEP files to open into a single instance of Solid Edge then use the following registry entries:
[-HKEY_CURRENT_USER\Software\Classes\.stp]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.stp]

[HKEY_CURRENT_USER\Software\Classes\.stp]
@="SolidEdge.PartDocument"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.stp]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.stp\OpenWithList]
"a"="Edge.exe"
"MRUList"="a"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.stp\OpenWithProgids]
"SolidEdge.PartDocument"=hex(0):

[-HKEY_CURRENT_USER\Software\Classes\.step]

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.step]

[HKEY_CURRENT_USER\Software\Classes\.step]
@="SolidEdge.PartDocument"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.step]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.step\OpenWithList]
"a"="Edge.exe"
"MRUList"="a"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.step\OpenWithProgids]
"SolidEdge.PartDocument"=hex(0):
For your convenience I have also provided a registry file that you can download from my new GitHub site.

No comments:

Post a Comment