| Visual Basic | |
|---|---|
Sub GenerateDefaultConfigValues( _ ByVal lOldFileID As System.Integer, _ ByVal bsOldConfigName As System.String, _ ByVal bsNewConfigName As System.String, _ ByVal bsActiveConfig As System.String, _ ByVal bOnlyForUpdateAllFlag As System.Boolean _ ) | |
| C# | |
|---|---|
void GenerateDefaultConfigValues( System.int lOldFileID, System.string bsOldConfigName, System.string bsNewConfigName, System.string bsActiveConfig, System.bool bOnlyForUpdateAllFlag ) | |
| C++/CLI | |
|---|---|
void GenerateDefaultConfigValues( & System.int lOldFileID, & System.String^ bsOldConfigName, & System.String^ bsNewConfigName, & System.String^ bsActiveConfig, & System.bool bOnlyForUpdateAllFlag ) | |
Parameters
- lOldFileID
- ID of drawing or file that lacks properties at the configuration level
- bsOldConfigName
- Name of configuration whose values to copy (see Remarks)
- bsNewConfigName
- Name of the configuration to which to copy values (see Remarks)
- bsActiveConfig
- Name of the active configuration (see Remarks)
- bOnlyForUpdateAllFlag
- True to copy values only for controls for which IEdmCardControl6::UpdatesAllConfigurations is set to true, false to copy values for all variables associated with this file
This method:
- is valid only for files with data card variables.
- copies values from bsOldConfigName to bsNewConfigName. If it encounters a null control variable in bsOldConfigName, it takes the value from bsActiveConfig instead.
Use IEdmFile5::GetConfigurations to populate the configuration parameters.
IEdmFile14 Interface
IEdmFile14 Members
IEdmFile8::GenerateDefaultValuesForNewConfiguration Method ()
IEdmFile14 Members
IEdmFile8::GenerateDefaultValuesForNewConfiguration Method ()
SOLIDWORKS PDM Professional 2018 SP03