Take a look at the AcDbPolygonMesh::appendVertex() methods and the
AcDbPolygonMeshVertex class. All you need to do is to create a new
AcDbPolygonMesh object, then start creating AcDbPolygonMeshVertex objects
(there is a constructor that takes a position point) and adding them to the
AcDbPolygonMesh objects using appendVertex().
Brep is for solids not for Polygon or polyface meshes.
wrote in message news:5082772@discussion.autodesk.com...
Hi,
I need help creating AcDbPolygonMesh object by defining it vertex-by-vertex,
like the 3dmesh command does? How is that done? I kinda figure that this is
performed using the brep API, but I don't know what a "brep" is, for
starters, and couldn't find any samples in this matter..
Any more than conceptual info, sample pointers, etc. would be greatly
apprectiated.
Thanks,
Janko Jerinic