SOLIDWORKS PDM Preview Tab and Viewer Troubleshooting

Problem

When you upgrade SOLIDWORKS and SOLIDWORKS PDM to a newer major-year version, sometimes users will experience issues with the PDM Preview tab or File History View (RMB > History > View). The Preview tab will no longer show files using eDrawings and may return an error when trying to view files if the view bitmap is not enabled. Additionally, users may be unable to view files from the View option within the History menu.

Preview not working

The reason the Preview tab and Viewer are not working is due to eDrawings not properly connecting with the PDM installation, and the PDM Viewer Settings are set to an incorrect or missing version of eDrawings. This article will address how to fix eDrawings issues within the PDM Preview Tab as well as how to reset the default PDM File Viewer(s) after an upgrade.

Solution 1: Associate the Correct eDrawings Connector

  1. Locate the correct version of eDrawings. eDrawings will default to one of two places after installation: C:\Program Files\SOLIDWORKS Corp\eDrawings or C:\Program Files\Common Files\eDrawings #### (where the #### is the installed year and/or bit version)
  2. If there is more than one eDrawings folder, open the folder and hover over eDrawings.exe to see the Version number. Version numbers will follow a similar numbering convention to SOLIDWORKS Version numbers. For example Version 27.#.#.# is 2019 SP# Build #.# while 24.#.#.# would be 2015 SP# Build #.#
eDrawings file version
  1. Register/Re-register the eDrawings Connector (eDrawingsOfficeAutomator.exe) by following the steps below:
  2. Use Windows Search to find Command Prompt, right-click and select Run as Administrator
Run Command Prompt as Administrator
  1. Change the directory to the correct eDrawings directory by entering "cd <eDrawings directory>". Example: cd C:\Program Files\Common Files\eDrawings2019

Change path with cd command
  1. Once the directory is changed, we will register the eModelViewer’s DLL file by entering the following command: Regsvr32 emodelview.dll and hitting Enter.

Register DLL Success
  1. Then finish the registration of the eDrawingsOfficeAutomatro.exe using the command: edrawingofficeautomator /regserver and hitting Enter.  If there are no errors, the registration has been processed. 

Register DLL
  1. Open the Vault View to check if the Preview Tab is working again.

Preview working

 


Solution 2: Change Viewer Settings in PDM to the Correct Viewers

  1. Confirm that you have an installed and registered eDrawings Viewer. Note: eDrawings makes this process easier. See the above solution to complete the registration and Connector association process.
  2. Open the PDM Administration Tool (Windows Start Menu > SOLIDWORKS PDM > Administration)
PDM Admin tool
  1. Access the Group or User you will be providing with a Viewer and open Properties using a double-click or right-click > Open. Note: Unless we change the setting at the User level, a User will inherit the Group setting.
Open the group or user to modify
  1. In the Group or User Properties, go to "Settings" at the bottom of the left-hand side.
Open settings
  1. In the Settings dialog box, select "Viewers" at the bottom.
select_viewers.png
  1. Add a viewer by selecting the Add button

Add_button.png

  1. Enter the extensions, separated by commas and spaces, in the extension box. Example: sldasm, sldprt, slddrw, eprt, easm, edrw, dwg, dxf, 3dxml, stl, prt, xpr, asm, prtdot, asmdot, drwdot
extensions to add
  1. Use the Browse button to navigate to the eModelViewer.exe file in the eDrawings folder located at: C:\Program Files\SOLIDWORKS Corp\eDrawings or C:\Program Files\Common Files\eDrawings #### (where the #### is the installed year and/or bit version)
Browse to the eDrawings Viewer
  1. Use the Arrow button to add the %1% argument at the end of the command path.
Add argument
  1. Add any other Viewer in the same way for File types not supported in eDrawings. Note: Please see the following SOLIDWORKS Help for more information on supported file types: Opening Files
  2. Add the default PDM viewer for all remaining file types by selecting Add.
  3. Enter * for all remaining extensions. 
  4. Use Browse to navigate to the PDM installation and select FileViewer.exe. A common path may be C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS PDM\FileViewer.exe.
browse to pdmviewer
  1. Use the Arrow button to add the %1% argument at the end of the command path.
  2. Click "OK" to save and close out of Settings and then Properties.
  3. Test that the selected viewer works by going to History on a file and then selecting View.
Select history
viewed

For additional support, existing customers can submit a ticket or new customers can contact Hawk Ridge Systems.

Was this article helpful?
1 out of 1 found this helpful

Articles in this section

Comments

1 comment
Date Votes
  • Lucas,

    I received this error message when trying to run the "regsvr32" command.

    1

Article is closed for comments.