| 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
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.
- S_OK: The method successfully executed.
- S_FALSE: An argument is invalid.
SOLIDWORKS PDM Professional 2010