Inserts a macro feature in this model.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IInsertMacroFeature3( _
ByVal BaseName As System.String, _
ByVal ProgId As System.String, _
ByRef MacroMethods As System.String, _
ByVal ParamCount As System.Integer, _
ByRef ParamNames As System.String, _
ByRef ParamTypes As System.Integer, _
ByRef ParamValues As System.String, _
ByVal DimCount As System.Integer, _
ByRef DimTypes As System.Integer, _
ByRef DimCountValues As System.Double, _
ByVal BodyCount As System.Integer, _
ByRef EditBodies As Body2, _
ByVal IconCount As System.Integer, _
ByRef IconFiles As System.String, _
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.String
Dim ParamCount As System.Integer
Dim ParamNames As System.String
Dim ParamTypes As System.Integer
Dim ParamValues As System.String
Dim DimCount As System.Integer
Dim DimTypes As System.Integer
Dim DimCountValues As System.Double
Dim BodyCount As System.Integer
Dim EditBodies As Body2
Dim IconCount As System.Integer
Dim IconFiles As System.String
Dim Options As System.Integer
Dim value As Feature
value = instance.IInsertMacroFeature3(BaseName, ProgId, MacroMethods, ParamCount, ParamNames, ParamTypes, ParamValues, DimCount, DimTypes, DimCountValues, BodyCount, EditBodies, IconCount, IconFiles, Options) |
C# | |
---|
Feature IInsertMacroFeature3(
System.string BaseName,
System.string ProgId,
ref System.string MacroMethods,
System.int ParamCount,
ref System.string ParamNames,
ref System.int ParamTypes,
ref System.string ParamValues,
System.int DimCount,
ref System.int DimTypes,
ref System.double DimCountValues,
System.int BodyCount,
ref Body2 EditBodies,
System.int IconCount,
ref System.string IconFiles,
System.int Options
) |
C++/CLI | |
---|
Feature^ IInsertMacroFeature3(
& System.String^ BaseName,
& System.String^ ProgId,
& System.String^% MacroMethods,
& System.int ParamCount,
& System.String^% ParamNames,
& System.int% ParamTypes,
& System.String^% ParamValues,
& System.int DimCount,
& System.int% DimTypes,
& System.double% DimCountValues,
& System.int BodyCount,
& Body2^% EditBodies,
& System.int IconCount,
& System.String^% IconFiles,
& System.int Options
) |
Parameters
- BaseName
- Name of the base feature (see Remarks)
- ProgId
- Indicates callback object (see Remarks)
- MacroMethods
- Null; valid only for VBA
- ParamCount
- Number of parameters
- ParamNames
- Array of strings of the parameters of size ParamCount
- ParamTypes
- Array of the types of parameters of size paramCount as defined by swMacroFeatureParamType_e
- ParamValues
- Array of strings of the values of parameters of size ParamCount
- DimCount
- Number of dimensions
- DimTypes
- Array of the types of dimensions as defined by swDimensionType_e (see Remarks)
- DimCountValues
- Array of doubles of the values of dimensions of size DimCount
- BodyCount
- Number of bodies to modify in the macro feature
- EditBodies
- Array of IBody2 objects to modify in the macro feature
- IconCount
- Number of icons
- IconFiles
- Array of 3 strings (see Remarks)
- Options
- Placement of the macro feature in the FeatureManager design tree as defined by swMacroFeatureOptions_e (see Remarks)
Return Value
Pointer to the
IFeature object
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0