API: How to cancel user actions and suppress dialogs

Version 4

    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.

     

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