<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
IEdmBatchUpdate Interface
See Also Members

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace : IEdmBatchUpdate Interface

Visual Basic
C#
C++/CLI

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:

- 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:

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

IEdmVault7::CreateUtility

# See Also

####

IEdmBatchUpdate Members
EPDM.Interop.epdm Namespace