<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
GenerateDefaultValuesForNewConfiguration Method (IEdmFile8)
See Also

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 > IEdmFile8 Interface : GenerateDefaultValuesForNewConfiguration Method (IEdmFile8)

Visual Basic
C#
C++/CLI

bsConfiguration
  Name of the new configuration

llCfgPersistID
  SOLIDWORKS configuration ID; 0 if ID is not available (see Remarks)

poAux
  Null; for internal use only

ppoRetVariables
  Array of IEdmVariableValue5s for the file data card

Populates the file data card with default data when a new configuration is added in SOLIDWORKS.

# Syntax

Visual Basic |
--- | ---

    Sub GenerateDefaultValuesForNewConfiguration( _
       ByVal bsConfiguration As System.String, _
       ByVal llCfgPersistID As System.Long, _
       ByVal poAux As System.Object, _
       ByRef ppoRetVariables() As System.Object _
    )

C# |
--- | ---

    void GenerateDefaultValuesForNewConfiguration(
       System.string bsConfiguration,
       System.long llCfgPersistID,
       System.object poAux,
       out System.object[] ppoRetVariables
    )

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

    void GenerateDefaultValuesForNewConfiguration(
    &   System.String^ bsConfiguration,
    &   System.int64 llCfgPersistID,
    &   System.Object^ poAux,
    &   [Out] System.array<Object^>^ ppoRetVariables
    )

#### Parameters

bsConfiguration
  Name of the new configuration
llCfgPersistID
  SOLIDWORKS configuration ID; 0 if ID is not available (see Remarks)
poAux
  Null; for internal use only
ppoRetVariables
  Array of IEdmVariableValue5s for the file data card

# Remarks

This method is called by the SOLIDWORKS add-in when a new configuration is added to a file. Its purpose is to populate the file data card with default data for the new configuration.

llCfgPersistID is a unique SOLIDWORKS API configuration ID.

Return codes:

- S_OK: The method successfully executed.
- S_FALSE: An argument is invalid.

# See Also

####

IEdmFile8 Interface
IEdmFile8 Members
IEdmFile14::GenerateDefaultConfigValues Method ()

# Availability

SOLIDWORKS PDM Professional 2010