Share

AcDb3dPolyline::appendVertex

C++

Acad::ErrorStatus appendVertex(
    AcDbObjectId& objId, 
    AcDb3dPolylineVertex*
);

Description

This function appends the AcDb3dPolylineVertex object pointed to by pNewVert to the vertex list of the polyline, establishes the polyline as the vertex's owner, and adds the vertex to the AcDbDatabase that contains the polyline (the polyline 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 the polyline is not yet database-resident, then Acad::eNoDatabase will be returned.

Parameters

Parameters Description
objId Output object ID of the added vertex
unnamed Input pointer to the vertex to add to the polyline

Links

AcDb3dPolyline

Was this information helpful?