SolidWorks Express
Debugging the SolidWorks Task Add-in Using Advanced Scripting Options in SolidWorks Enterprise PDM 2010
 
  Tasks are defined by task executor add-ins in SolidWorks Enterprise PDM 2010. The SolidWorks task executor add-in, SWTaskAddIn, enables conversion and printing of SolidWorks files.

To debug the SolidWorks task add-in:

  1. Open the Convert or Print task in SolidWorks Enterprise PDM 2010.
  2. Select Output File Details.
  3. Click Advanced Scripting Options .
  4. Add an assert where you want to start debugging, which will cause the VBA editor to open and the macro to stop at the assert.

For example:

Sub main()
  Debug.Assert False
  On Error GotTo Fail:

For more information about tasks, see SolidWorks Enterprise PDM Administration Guide.

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