Inserts a macro feature in this model.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertMacroFeature3( _
ByVal BaseName As System.String, _
ByVal ProgId As System.String, _
ByVal MacroMethods As System.Object, _
ByVal ParamNames As System.Object, _
ByVal ParamTypes As System.Object, _
ByVal ParamValues As System.Object, _
ByVal DimTypes As System.Object, _
ByVal DimValues As System.Object, _
ByVal EditBodies As System.Object, _
ByVal IconFiles As System.Object, _
ByVal Options As System.Integer _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim BaseName As System.String
Dim ProgId As System.String
Dim MacroMethods As System.Object
Dim ParamNames As System.Object
Dim ParamTypes As System.Object
Dim ParamValues As System.Object
Dim DimTypes As System.Object
Dim DimValues As System.Object
Dim EditBodies As System.Object
Dim IconFiles As System.Object
Dim Options As System.Integer
Dim value As Feature
value = instance.InsertMacroFeature3(BaseName, ProgId, MacroMethods, ParamNames, ParamTypes, ParamValues, DimTypes, DimValues, EditBodies, IconFiles, Options) |
C# | |
---|
Feature InsertMacroFeature3(
System.string BaseName,
System.string ProgId,
System.object MacroMethods,
System.object ParamNames,
System.object ParamTypes,
System.object ParamValues,
System.object DimTypes,
System.object DimValues,
System.object EditBodies,
System.object IconFiles,
System.int Options
) |
C++/CLI | |
---|
Feature^ InsertMacroFeature3(
& System.String^ BaseName,
& System.String^ ProgId,
& System.Object^ MacroMethods,
& System.Object^ ParamNames,
& System.Object^ ParamTypes,
& System.Object^ ParamValues,
& System.Object^ DimTypes,
& System.Object^ DimValues,
& System.Object^ EditBodies,
& System.Object^ IconFiles,
& System.int Options
) |
Parameters
- BaseName
- Name of the base feature (see Remarks)
- ProgId
- COM or .NET callback object; empty string if VBA (see Remarks)
- MacroMethods
- Array of strings of size 9 only for VBA; "" otherwise (see Remarks)
- ParamNames
- Array of strings of the names of the parameters
- ParamTypes
- Array of the types of parameters of size paramCount as defined by swMacroFeatureParamType_e
- ParamValues
- Array of strings of the values of parameters
- DimTypes
- Array of the types of dimensions as defined by swDimensionType_e (see Remarks)
- DimValues
- Array of values of the dimensions
- EditBodies
- Array of IBody2 objects to modify in the macro feature
- IconFiles
- Array of strings of the files names for the icons (see Remarks)
- Options
- Placement of the macro feature in the FeatureManager design tree as defined by swMacroFeatureOptions_e (see Remarks)
Return Value
IFeature
Example
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0