Share

AcDbPolyFaceMesh::appendVertex

C++

Acad::ErrorStatus appendVertex(
    AcDbPolyFaceMeshVertex*
);

Description

This function appends the AcDbPolyFaceMeshVertex object pointed to by pNewVert to the end of the vertex list of the PolyFaceMesh, establishes the PolyFaceMesh as the vertex's owner, and adds the vertex to the database that contains the PolyFaceMesh (the PolyFaceMesh must be database-resident for this function to succeed).

The appended vertex must be explicitly closed by the calling application after the appendVertex() call returns.

Returns Acad::eOk if successful. If this function is called with the PolyFaceMesh's face count > 0, then the call fails and Acad::eVertexAfterFace is returned.

Warning

All vertices must be appended before any FaceRecords are appended. Once even one FaceRecord has been appended, the appendVertex() methods no longer work.

Parameters

Parameters Description
unnamed Input pointer to vertex to append to mesh

Links

AcDbPolyFaceMesh

Was this information helpful?