API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > OdDbObject::ownerId Method
OdDbObject::ownerId Method
Syntax
C++
OdDbObjectId ownerId() const;

Returns the Object ID of this object's owner.

Returns a null ID if this object has not been added to a database, or if OdDbObject::setOwnerId has not been called.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.