Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbDatabase::approxNumObjects Method
Syntax
C++
OdInt32 approxNumObjects() const;

Returns the approximate number of objects in this database object.

This function returns a value greater than or equal to the number of objects in this database object. 

This number is used to construct an OdDbObjectIdArray that can hold all the objects in the database, avoiding memory fragmentation and increasing performance.

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