Hide Table of Contents
InsertTableDrivenPattern2 Method (IFeatureManager)

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

.NET Syntax

Visual Basic (Declaration) 
Function InsertTableDrivenPattern2( _
   ByVal FileName As System.String, _
   ByVal PointVar As System.Object, _
   ByVal UseCentroid As System.Boolean, _
   ByVal GeomPattern As System.Boolean, _
   ByVal PropVisProps As System.Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim FileName As System.String
Dim PointVar As System.Object
Dim UseCentroid As System.Boolean
Dim GeomPattern As System.Boolean
Dim PropVisProps As System.Boolean
Dim value As Feature
 
value = instance.InsertTableDrivenPattern2(FileName, PointVar, UseCentroid, GeomPattern, PropVisProps)
C# 
Feature InsertTableDrivenPattern2( 
   System.string FileName,
   System.object PointVar,
   System.bool UseCentroid,
   System.bool GeomPattern,
   System.bool PropVisProps
)
C++/CLI 
Feature^ InsertTableDrivenPattern2( 
&   System.String^ FileName,
&   System.Object^ PointVar,
&   System.bool UseCentroid,
&   System.bool GeomPattern,
&   System.bool PropVisProps
) 

Parameters

FileName

Name of the file that has the coordinates for the table-driven pattern; can be an empty string (see Remarks)

PointVar

Array of x, y coordinates of the points for the table-driven pattern (see Remarks)

UseCentroid

True to use the centroid of the seed feature, face, or body; false to use a different point as the reference point (see Remarks)

GeomPattern

True to pattern the geometry, false to not

PropVisProps
True to propagate visual properties, false to not

Return Value

Feature

Example

Remarks

Specify:

  • coordinates for the input points in system units in a .sldptab or .txt file for FileName.
    - or -
  • input points in system units in PointVar. Because each point has two coordinates (x, y), the size of PointVar is (2 x number_of_points).

This method requires selecting the input entities using these selection marks:

Input entity Mark
Seed feature 4
Coordinate system 16
Reference point  32
Seed face  128
Seed body  256

If UseCentroid is false, then you must specify a reference point.

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

 

See Also

Availability

SOLIDWORKS 2017 FCS, Revision Number 25.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:   InsertTableDrivenPattern2 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) 2018 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.