SOLIDWORKS PDM Professional API Help Send Feedback
IEdmBatchUpdate2 Interface
See Also  Members   Example
EPDM.Interop.epdm Namespace : IEdmBatchUpdate2 Interface


Allows you to set the values of several file and folder card variables all at once.


NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

Syntax

Visual Basic 
Public Interface IEdmBatchUpdate2 
C# 
public interface IEdmBatchUpdate2 
C++/CLI 
public interface class IEdmBatchUpdate2 

Example

Remarks

This interface:

To set the values of file and folder card variables:

  1. Access this interface by calling IEdmVault7::CreateUtility, passing in EdmUtility.EdmUtil_BatchUpdate.
  2. Call IEdmBatchUpdate2::SetVar once for each file card variable you want to update. You must first check out the files whose card varibles you want to update.
  3. Call IEdmBatchUpdate2::SetFolderVar once for each folder card variable you want to update.
  4. Call IEdmBatchUpdate2::CommitUpdate to commit all of the file and folder card variable changes.  

Prior to SOLIDWORKS PDM Professional 6.2, the only way to set file card variables was to use IEdmEnumeratorVariable, which can handle only one file or folder card variable at a time.  As of SOLIDWORKS PDM Professional 6.2, you should use IEdmBatchUpdate2, which can handle several file and folder card variables at a time.

Accessors

See Also