Creates a new configuration.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddConfiguration( _
ByVal Name As System.String, _
ByVal As System.String, _
ByVal AlternateName As System.String, _
ByVal Options As System.Integer, _
ByVal ParentConfigName As System.String, _
ByVal Description As System.String _
) As Configuration |
Visual Basic (Usage) | |
---|
Dim instance As IConfigurationManager
Dim Name As System.String
Dim Comment As System.String
Dim AlternateName As System.String
Dim Options As System.Integer
Dim ParentConfigName As System.String
Dim Description As System.String
Dim value As Configuration
value = instance.AddConfiguration(Name, Comment, AlternateName, Options, ParentConfigName, Description) |
Parameters
- Name
- Name of the configuration
- Comment
- Comment displayed in Configuration Properties
- AlternateName
- Alternate configuration name (i.e., user-specified name); used if swConfigOption_UseAlternateName is set to true
- Options
- Combination of one or more Boolean configuration options as defined in swConfigurationOptions2_e (see Remarks)
- ParentConfigName
- Name of parent configuration
- Description
- Description that identifies the configuration
Return Value
Newly created
configuration
Example
Remarks
See Also
Availability
SolidWorks 2003 SP1, Revision Number 11.1