Hide Table of Contents
IInsertTableDrivenPattern Method (IFeatureManager)

Inserts a table-driven pattern of the selected features, faces, or bodies.

.NET Syntax

Visual Basic (Declaration) 
Function IInsertTableDrivenPattern( _
   ByVal FileName As System.String, _
   ByVal Count As System.Integer, _
   ByRef PointArr As System.Double, _
   ByVal UseCentrod As System.Boolean, _
   ByVal GeomPatt As System.Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim FileName As System.String
Dim Count As System.Integer
Dim PointArr As System.Double
Dim UseCentrod As System.Boolean
Dim GeomPatt As System.Boolean
Dim value As Feature
value = instance.IInsertTableDrivenPattern(FileName, Count, PointArr, UseCentrod, GeomPatt)
Feature IInsertTableDrivenPattern( 
   System.string FileName,
   System.int Count,
   ref System.double PointArr,
   System.bool UseCentrod,
   System.bool GeomPatt
Feature^ IInsertTableDrivenPattern( 
&   System.String^ FileName,
&   System.int Count,
&   System.double% PointArr,
&   System.bool UseCentrod,
&   System.bool GeomPatt


Name of the file that has the coordinates information; can be an empty string
Number of points specified
Array of points of size 2*count (see Remarks)
True to use the centroid of the seed feature, face, or body or false to use another
point as the reference point
True to pattern the geometry, false to not

Return Value

Pointer to the IFeature object


You can specify the coordinates of the input points using a .sldptab file. You can create this file by clicking Save in the Table Driven Pattern dialog box.

The file coordinates are specified along with units. The points can also be specified in the pointArr argument. Because each point has two coordinates (x, y), the size of pointArr is 2*count. The value in the array should be in system units.

This method requires selecting the required input entities using the proper selection marks:

  • Coordinate system 16

  • Seed feature 4

  • Seed face 128

  • Seed body 256

  • Reference point 32

If centroid is not used, then you must specify a reference point.  

See the SolidWorks Help for more information about table-driven patterns.


See Also


SolidWorks 2003 FCS, Revision Number 11.0

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:   IInsertTableDrivenPattern Method (IFeatureManager)
*   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) 2014 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.