Introducing DraftSight, a free 2D drafting tool-new from Dassault Systèmes
Thu, 24/06/10 – 10:57 | View Comments

As much as we all love 3D, it’s no secret that a lot of you out there still use, reference, edit, even create, 2D files now and then. It’s also no secret that Dassault Systèmes …

Read the full story »
Community

The SolidWorks Community is filled with extremely passionate engineers–you can find them all here!

Downloads

Download new versions and updates (Service Packs) for SolidWorks, Simulation, PDM, 3DVIA, and Free CAD Tools .

Events

From international conferences to local user group meetings, you’ll find a vast network of other users all around Asia Pacific.

News

What’s the latest from SolidWorks? Stay up to date and in the know with our daily news.

Tips & Tricks

Get the most out of SolidWorks with our exclusive product tips & tricks!

Home » SolidWorks Enterprise PDM

PDM Tip: Debugging a SolidWorks Enterprise PDM Add-in

Submitted by SolidWorks Express on Monday, 10 August 2009View Comments

You can debug a SolidWorks Enterprise PDM add-in using:

  • Windows Explorer (explorer.exe)
    - or -
  • an application with a graphical user interface and a File > Open dialog (e.g., Notepad).

NOTE: Using Windows Explorer to debug the add-in has a couple of drawbacks:

  • You have to end the explorer.exe process before debugging the add-in.
  • Windows Explorer does not release the add-in when you finish debugging. You must end and restart the explorer.exe process to make changes to the add-in.

To install an add-in for debugging:

  1. Expand the vault where the add-in is to be used.
  2. Right-click Add-ins and select Debug Add-ins.
  3. In the Debug Add-ins dialog, click Add Add-in.
  4. In the Open dialog, navigate to the location of the add-in’s .dll, select the .dll, and click Open.

The add-in is added to the list of add-ins for debugging, which shows the path to the .dll and its class ID.

     5. To make the add-in available for installation by all computers connected to the vault, select the add-in, and click Remove Add-in.

To debug an add-in using Windows Explorer:

  1. In the project settings of your Microsoft Visual Studio project, set explorer.exe as the debug application.

image-1

    2. End the explorer.exe process using the Task Manager.
    3. Start debugging the add-in (press F5 in Microsoft Visual Studio) to create a new instance of Windows Explorer.
    4. Browse to a local view.

To debug an add-in using Notepad:

  1. In the project settings of your Microsoft Visual Studio project, set notepad.exe as the debug application.

image-2

     2. Start debugging the add-in (press F5 in Microsoft Visual Studio) to create a new instance of Notepad.
     3. Click File > Open and browse to a local vault view.

SIGN UP for SolidWorks Express Newsletter and get the tips and tricks delivered into your inbox every two weeks! >>

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

blog comments powered by Disqus