AddPolyfaceMesh method

Creates a new polyface mesh object and adds it to the drawing.

Syntax

objectVariable = object.Entities.AddPolyfaceMesh(M, N, Vertices)

Where:

     object is one of the ModelSpace or PaperSpace collection objects or a Block object;

     M and N are Long integer variables representing the size of the mesh (the dimensions of the point array);

     Vertices are a series of Point objects specifying coordinate locations for each vertex of the mesh.

You can also input the number of vertices in each direction and their coordinates.

Examples ...

AddPolyfaceMesh method example