SOLIDWORKS PDM Professional API Help Send Feedback
IEdmBatchUpdate Interface
See Also  Members  
EPDM.Interop.epdm Namespace : IEdmBatchUpdate 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 IEdmBatchUpdate 
C# 
public interface IEdmBatchUpdate 
C++/CLI 
public interface class IEdmBatchUpdate 

Remarks

This interface:

To set the values of file card variables:

  1. Access this interface by calling IEdmVault7::CreateUtility, passing in EdmUtility.EdmUtil_BatchUpdate.
  2. Call IEdmBatchUpdate::SetVar once for each variable you want to update.
  3. Call IEdmBatchUpdate::Commit to commit all variable changes.  

Before SOLIDWORKS PDM Professional 6.2, the only way to set the values of variables used in file data cards was to use the IEdmEnumeratorVariable interface which processed the variables one file and one variable at a time. This still works, but when setting the values of many variables, it is more efficient to use the IEdmBatchUpdate interface which accumulates all variables to set and then commits them all in a single operation.

Accessors

See Also