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


Allows you to get several files from the vault 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 IEdmBatchGet 
C# 
public interface IEdmBatchGet 
C++/CLI 
public interface class IEdmBatchGet 

Example

Remarks

This interface inherits from IDispatch. See IDispatch Interface (Automation).

To get several files at once:

  1. Access this interface by calling IEdmVault7::CreateUtility, passing EdmUtility.EdmUtil_BatchGet as a parameter.
  2. Call IEdmBatchGet::AddSelection or IEdmBatchGet::AddSelectionEx at least once.
  3. Call IEdmBatchGet::CreateTree to compute the file reference tree and specify get and check-out options.
  4. Optionally call IEdmBatchGet::ShowDlg to display the Get or Check Out dialog box.
  5. Call IEdmBatchGet::GetFiles to get the files.

Using this interface is more efficient than calling IEdmFile5::GetFileCopy and IEdmFile5::LockFile for each file that you want to check out.

Accessors

See Also