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 String, _
   ByVal Count As Integer, _
   ByRef PointArr As Double, _
   ByVal UseCentrod As Boolean, _
   ByVal GeomPatt As Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim FileName As String
Dim Count As Integer
Dim PointArr As Double
Dim UseCentrod As Boolean
Dim GeomPatt As Boolean
Dim value As Feature
 
value = instance.IInsertTableDrivenPattern(FileName, Count, PointArr, UseCentrod, GeomPatt)
C# 
Feature IInsertTableDrivenPattern( 
   string FileName,
   int Count,
   ref double PointArr,
   bool UseCentrod,
   bool GeomPatt
)
C++/CLI 
Feature^ IInsertTableDrivenPattern( 
&   String^ FileName,
&   int Count,
&   double% PointArr,
&   bool UseCentrod,
&   bool GeomPatt
) 

Parameters

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

Return Value

Pointer to the IFeature object

Remarks

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

Availability

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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   IInsertTableDrivenPattern Method (IFeatureManager)
*Comment:  
*   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:

x

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
x

Web Help Content Version: API Help (English only) 2012 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.