Hide Table of Contents
InsertPolygonMesh Method (ISketchManager)

Inserts a PolygonMesh with the specified MxN vertices at the specified coordinates.

.NET Syntax

Visual Basic (Declaration) 
Function InsertPolygonMesh( _
   long MVertexCount As System.Integer, _
   long NVertexCount As System.Integer, _
   const dsDoubleArray& CoordinateDblArray As System.Object _
) As PolygonMesh
PolygonMesh InsertPolygonMesh( 
   System.int MVertexCount,
   System.int NVertexCount,
   System.object CoordinateDblArray
   MVertexCount : Number,
   NVertexCount : Number,
   CoordinateDblArray : Array
) : dsPolygonMesh
COM native C++ 
HRESULT InsertPolygonMesh( 
   LONG MVertexCount,
   LONG NVertexCount,
   VARIANT CoordinateDblArray,
   IPolygonMesh** PolygonMesh
DSRESULT InsertPolygonMesh( 
   long MVertexCount,
   long NVertexCount,
   const dsDoubleArray& CoordinateDblArray,
   dsPolygonMesh** PolygonMesh


Number of vertices in a column of the mesh
Number of vertices in a row of the mesh
Array of doubles of the coordinates of the vertices of the mesh; the size of this array is (MVertexCount * NVertexCount) * 3; specify the coordinates of all the vertices in each column, starting with the first column
PolygonMesh[out] or Return Value



See Also


DraftSight V1R1.3

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:   InsertPolygonMesh Method (ISketchManager)
*   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) 2019 SP04

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.