Share

AcDbDatabase::addAcDbObject

C++

ACDBCORE2D_PORT Acad::ErrorStatus addAcDbObject(
    AcDbObject* pObj
);

Description

Adds the object pointed to by pObj to the database, giving it a handle and an object ID. This version of addAcDbObject() does not return the new object ID for the object being added, so this needs to be obtained some other way to establish ownership for the new object.

Parameters

Parameters Description
pObj Input pointer to object to be added to the database

Notes

This method is intended for internal use and not for third-party developers.

Links

AcDbDatabase Class

Was this information helpful?