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

Returns the Object ID of this object.

Returns a null ID if this object has not been added to a database.

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