Hide Table of Contents
GetMeshDataAtIndex Method (IScanto3D)

Gets the points and facets in the specified mesh feature.

.NET Syntax

Visual Basic (Declaration) 
Function GetMeshDataAtIndex( _
   ByVal Index As System.Integer, _
   ByRef Points As System.Object, _
   ByRef Facets As System.Object _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IScanto3D
Dim Index As System.Integer
Dim Points As System.Object
Dim Facets As System.Object
Dim value As System.Boolean
value = instance.GetMeshDataAtIndex(Index, Points, Facets)
System.bool GetMeshDataAtIndex( 
   System.int Index,
   out System.object Points,
   out System.object Facets
System.bool GetMeshDataAtIndex( 
&   System.int Index,
&   [Out] System.Object^ Points,
&   [Out] System.Object^ Facets


Index of mesh feature for which to get data
Array of x, y, and z coordinates of the mesh vertexes (see Remarks)
Array of facet triplets (see Remarks)

Return Value

True if successful, false if not


See the IScanto3D examples.


Before calling this method, call IScanto3D::GetMeshCount to obtain the total number of mesh features in this mesh.

Each facet in the mesh can be described by a triangle consisting of three mesh vertexes. Adjacent facets share their vertexes.

For example, if this method returns in Points a 0-based array of the coordinates of each vertex of a mesh feature specified by Index:


pt1x, pt1y, pt1z,

pt2x, t2y, pt2z,

pt3x, pt3y, pt3z,

pt4x, pt4y, pt4z,

pt5x, pt5y, pt5z,

pt6x, pt6y, pt6z



then it also returns in Facets an array of triplets of integers that are indexes into the array returned in Points:


{pt1x_idx, pt2_idx, pt3_idx},

{pt6_idx, pt4_idx, pt1_idx},



where the first facet is {0, 3, 6}, i.e.,  (pt1_idx = 0, pt2_idx = 3, pt3_idx = 6),

and the second facet is {15, 9, 0}, i.e.,  (pt6_idx = 15, pt4_idx = 9, pt1_idx = 0).


See Also


SOLIDWORKS 2015 FCS, Revision Number 23.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:   GetMeshDataAtIndex Method (IScanto3D)
*   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) 2015 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.