API: IEdmBatchUpdate2 example

Document created by Robin Richter on Apr 6, 2011Last modified by Robin Richter on Nov 2, 2012
Version 4Show Document
  • View in full screen mode

The attached example shows how to upate a variable on several files using the IEdmBatchUpdate2 interface.  Change the vault name on line 15 of Program.cs to match your system.

 

The example displays a file browser when it starts.  Select one or more files to update and press ok.  The program will change the Description to a new value on all the selected files and print error information if the batch update fails.

 

Note:  Files must be checked out to change variables. 

 

The example is written in C# using Visual Studio 2008.

 

Note:
- Subscription Services required for full access.

- Looking for more API Examples?

 

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

Attachments

Outcomes