Share

addAcDbObject Method

Overload List

Method Description
AcDbDatabase::addAcDbObject (AcDbObject*) 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.
AcDbDatabase::addAcDbObject (AcDbObjectId&, AcDbObject*) Adds the object pointed to by pObj to the database, giving it a handle and an object ID. The new object ID is returned in the objId argument.

Was this information helpful?