<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
IEdmBatchItemGeneration 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 : IEdmBatchItemGeneration Interface

Visual Basic
C#
C++/CLI

Allows you to generate items from a file structure.

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 IEdmBatchItemGeneration

C# |
--- | ---

    public interface IEdmBatchItemGeneration

C++/CLI |
--- | ---

    public interface class IEdmBatchItemGeneration

# Example

See the IEdmBatchItemGeneration2 examples.

# Remarks

This interface:

- inherits from IDispatch. See IDispatch Interface (Automation).
- is extended by IEdmBatchItemGeneration2 which allows you to generate stand-alone items without a file structure.

To create several items from files at once:

1. Access this interface by calling IEdmVault7::CreateUtility, passing EdmUtility.EdmUtil_BatchItemGeneration as a parameter.
2. Call IEdmBatchItemGeneration::AddSelection one or more times.
3. Call IEdmBatchItemGeneration::CreateTree to compute the file reference tree.
4. Optionally call IEdmBatchItemGeneration::ShowDlg to show an item dialog.
5. Call IEdmBatchItemGeneration::GenerateItems to create the items.

See the Programming Items topic for more information.

# Accessors

IEdmVault7::CreateUtility

# See Also

####

IEdmBatchItemGeneration Members
EPDM.Interop.epdm Namespace