Property ApproxNumObjects
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ApproxNumObjects
Gets how many objects the drawing holds, as AutoCAD's ApproxNumObjects: those GetObject(string) finds by
handle, the entities of every space and block with their vertices and attributes, the objects of the OBJECTS section,
and the five tables it reads with their records; those erased left out. AutoCAD counts the records of the tables the
library has no class for as well (APPID, VPORT, VIEW, UCS) and the BLOCK and ENDBLK of each block, so its number is
somewhat higher. A drawing of R12 that writes no handles counts none. The drawing is walked once for each question, its
entities and its records under the lock ItemByHandle(string) takes, so that it may be asked while other threads
copy from it or look objects up by handle.
public int ApproxNumObjects { get; }