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.
|- 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.