Share

AcDbObject::ownerId

C++

ACDBCORE2D_PORT AcDbObjectId ownerId() const;

Description

Returns the objectId of the owner of the object. If the object does not yet have an owner, or the ownerId data member has not yet been set using AcDbObject::setOwnerId, then the returned objectId will be set to AcDbObjectId::kNull.

Appending the object to a BlockTable record, a symbol table, or a dictionary automatically calls AcDbObject::setOwnerId.

Links

AcDbObject

Was this information helpful?