API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::elementId Method
OdDgElement::elementId Method
Syntax
C++
OdDgElementId elementId() const;

Returns the Object ID of this object.

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

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