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