Hide Table of Contents
IInsertMacroFeature Method (IModelDoc2)

Obsolete. Superseded by IFeatureManager::IInsertMacroFeature3.

.NET Syntax

Visual Basic (Declaration) 
Function IInsertMacroFeature( _
   ByVal CmdFile As System.String, _
   ByVal CmdModule As System.String, _
   ByVal CmdProcedure As System.String, _
   ByVal ParamCount As System.Integer, _
   ByRef ParamNames As System.String, _
   ByRef ParamTypes As System.Integer, _
   ByRef ParamValues As System.String, _
   ByVal PmFile As System.String, _
   ByVal PmModule As System.String, _
   ByVal PmProcedure As System.String _
) As Feature
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim CmdFile As System.String
Dim CmdModule As System.String
Dim CmdProcedure As System.String
Dim ParamCount As System.Integer
Dim ParamNames As System.String
Dim ParamTypes As System.Integer
Dim ParamValues As System.String
Dim PmFile As System.String
Dim PmModule As System.String
Dim PmProcedure As System.String
Dim value As Feature
value = instance.IInsertMacroFeature(CmdFile, CmdModule, CmdProcedure, ParamCount, ParamNames, ParamTypes, ParamValues, PmFile, PmModule, PmProcedure)
Feature IInsertMacroFeature( 
   System.string CmdFile,
   System.string CmdModule,
   System.string CmdProcedure,
   System.int ParamCount,
   ref System.string ParamNames,
   ref System.int ParamTypes,
   ref System.string ParamValues,
   System.string PmFile,
   System.string PmModule,
   System.string PmProcedure
Feature^ IInsertMacroFeature( 
&   System.String^ CmdFile,
&   System.String^ CmdModule,
&   System.String^ CmdProcedure,
&   System.int ParamCount,
&   System.String^% ParamNames,
&   System.int% ParamTypes,
&   System.String^% ParamValues,
&   System.String^ PmFile,
&   System.String^ PmModule,
&   System.String^ PmProcedure



See Also

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   IInsertMacroFeature Method (IModelDoc2)
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2016 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.