Hide Table of Contents
IGetTessTriStrips Method (IComponent2)

Gets the vertices that make up the shaded picture tessellation for this component.

.NET Syntax

Visual Basic (Declaration) 
Function IGetTessTriStrips( _
   ByVal NoConversion As System.Boolean _
) As System.Single
Visual Basic (Usage) 
Dim instance As IComponent2
Dim NoConversion As System.Boolean
Dim value As System.Single
value = instance.IGetTessTriStrips(NoConversion)
System.float IGetTessTriStrips( 
   System.bool NoConversion
System.float IGetTessTriStrips( 
&   System.bool NoConversion


True prohibits conversion to user units from system units, false does not

Return Value

  • in-process, unmanaged C++: Pointer to an array of floats (see Remarks)
  • VBA, VB.NET, C#, and C++/CLI: Not supported

    See In-process Methods for details about this type of method.

  • Remarks

    Tessellation information is available only when the component is loaded as lightweight.

    These triangles are intended for graphical display purposes and do not represent a tessellation that could be used, for example, by a machining application. If you need the type of accuracy associated with a machining product, you should traverse the body faces and extract the topology and geometry data to create your own faceting.


    •  FaceCount  = number of faces on the body
    •  StripCount  = total number of strips on the body
    •  VertexCount x 3 = total number of vertices. Multiplied by three to cover X,Y, and Z
    •  NumStrips = number of strips on a particular face
    •  VertexPerStrip = an array containing the number of vertex points on particular face strip
    •  VertexPoints = an array of X,Y,Z points for each vertex on the particular face strip

    Because the returned array elements are of type float, and FaceCount, StripCount, VertexCount, NumStrips, and the elements of VertexPerStrip are integers that have been packed into the return array elements, and you must unpack them before you can use them.

    For example:

    • sa[0] = number of faces
    • sa[1] = total number of strips
    • sa[2] = total number of vertices x 3 (i.e., - data values)


    For each face:

    • sa[3] = number of strips in this face
    • sa[4] = number of vertices in first strip of this face
    • sa[5] = number of vertices in second strip of this face


    • sa[3 + sa[3&cd; = number of vertices in last strip of this face


    For each strip, i:

    • sa[3 + sa[3] + 1] = X value of first vertex in this strip of the face
    • sa[3 + sa[3] + 2] = Y value of first vertex in this strip of the face
    • sa[3 + sa[3] + 3] = Z value of first vertex in this strip of the face
    • sa[3 + sa[3] + 4] = X value of second vertex in this strip of the face


    • sa[3 + sa[3] + (sa[3+i] x 3)] = Z value of last vertex in this strip of the face

    See Also


    SOLIDWORKS 2001Plus FCS, Revision number 10.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:   IGetTessTriStrips Method (IComponent2)
    *   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.