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.| Visual Basic | |
|---|---|
Public Interface IEdmBatchUpdate | |
| C# | |
|---|---|
public interface IEdmBatchUpdate | |
| C++/CLI | |
|---|---|
public interface class IEdmBatchUpdate | |
This interface:
- inherits from IDispatch. See IDispatch Interface (Automation).
- is superseded by IEdmBatchUpdate2, which can also update folder variables.
To set the values of file card variables:
- Access this interface by calling IEdmVault7::CreateUtility, passing in EdmUtility.EdmUtil_BatchUpdate.
- Call IEdmBatchUpdate::SetVar once for each variable you want to update.
- 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.