Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbObjectIterator::entity Method
Syntax
C++
virtual OdDbEntityPtr entity(OdDb::OpenMode openMode = OdDb::kForRead, bool openErasedEntity = false) = 0;

Opens and returns the entity currently referenced by this Iterator object. 

 

Parameters
Description
openMode
[in] Mode in which to open the entity.
openErasedEntity
[in] If and only if true, erased records will be opened or retrieved.

Returns a SmartPointer to the opened entity if successful, otherwise a null SmartPointer.

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