Share

AcDb2dPolyline::appendVertex

C++

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

Description

This function appends the AcDb2dVertex object pointed to by pNewVert to the vertex list of the polyline, establishes the polyline as the vertex's owner, and adds the vertex 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

AcDb2dPolyline

Was this information helpful?