API: How to cancel user actions and suppress dialogs

Document created by Robin Richter on Feb 26, 2010Last modified by Robin Richter on Jan 4, 2013
Version 4Show Document
  • View in full screen mode

The attached example shows how to cancel user actions and suppress the dialog that informs the user of the add-in action.  This example cancels check-ins, but the same technique can be applied to any "pre" notification.


The example is written in VB.NET and C#, using Visual Studio 2008.


- Subscription Services required for full access.

- Looking for more API Examples?


Copyright © 2010 Dassault Systèmes SolidWorks Corp. All rights reserved.
Do not distribute or reproduce without the written consent of Dassault Systèmes SolidWorks Corp.