API Reference > OdBr Classes > OdBrEntity Class > OdBrEntity Methods > OdBrEntity::getUniqueId Method
OdBrEntity::getUniqueId Method
Syntax
C++
OdUInt64 getUniqueId() const;

Unique ID of the object.

Returns the unique ID of the object.

The ID is valid as long as the object exists at runtime. I.e., the ID shouldn't be saved in the file or used after operations that modify topology. Can be used as a key in an associative container.

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