C++
Acad::ErrorStatus appendVertex( AcDb2dVertex* );
Description
This function appends the AcDb2dVertex object pointed to by pNewVert to the vertex list of the polyline and establishes the polyline as the vertex's owner. In addition, if the polyline is resident within an AcDbDatabase, the vertex will be added to the same database. If the polyline is not database-resident, then when it is added to a database, the vertex will be added as well.
If the polyline is database-resident, then the appended vertex must be explicitly closed by the calling application after the appendVertex() call returns. If the polyline is not database-resident, then there is no need to close the vertex since it hasn't been added to the database yet (calling close() on such a vertex will return Acad::eNoDatabase).
Returns Acad::eOk if successful.
Parameters
Parameters | Description |
---|---|
unnamed | Input pointer to the vertex to add to the polyline |