Inserts a macro feature in this model.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertMacroFeature3( _
ByVal BaseName As String, _
ByVal ProgId As String, _
ByVal MacroMethods As Object, _
ByVal ParamNames As Object, _
ByVal ParamTypes As Object, _
ByVal ParamValues As Object, _
ByVal DimTypes As Object, _
ByVal DimValues As Object, _
ByVal EditBodies As Object, _
ByVal IconFiles As Object, _
ByVal Options As Integer _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim BaseName As String
Dim ProgId As String
Dim MacroMethods As Object
Dim ParamNames As Object
Dim ParamTypes As Object
Dim ParamValues As Object
Dim DimTypes As Object
Dim DimValues As Object
Dim EditBodies As Object
Dim IconFiles As Object
Dim Options As Integer
Dim value As Feature
value = instance.InsertMacroFeature3(BaseName, ProgId, MacroMethods, ParamNames, ParamTypes, ParamValues, DimTypes, DimValues, EditBodies, IconFiles, Options)
|
C# | |
---|
Feature InsertMacroFeature3(
string BaseName,
string ProgId,
object MacroMethods,
object ParamNames,
object ParamTypes,
object ParamValues,
object DimTypes,
object DimValues,
object EditBodies,
object IconFiles,
int Options
) |
C++/CLI | |
---|
Feature^ InsertMacroFeature3(
& String^ BaseName,
& String^ ProgId,
& Object^ MacroMethods,
& Object^ ParamNames,
& Object^ ParamTypes,
& Object^ ParamValues,
& Object^ DimTypes,
& Object^ DimValues,
& Object^ EditBodies,
& Object^ IconFiles,
& int Options
) |
Parameters
- BaseName
- Name of the base feature (see Remarks)
- ProgId
- Indicates whether to use COM, .NET, or VBA callback methods (see Remarks)
- MacroMethods
- Array of strings of size 9 (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 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
Example
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0