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

Returns the element ID of this element's owner.

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

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