Table of Contents

Method CountEmptyObjects

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

CountEmptyObjects(int)

Counts the empty objects of the drawing, as AutoCAD's CountEmptyObjects: those of the kinds the flags of DxfEraseFlags name, in model space, paper space and every block, as EraseEmptyObjects(int) would erase them.

public int CountEmptyObjects(int flags)

Parameters

flags int

The kinds, flags of DxfEraseFlags: (int)DxfEraseFlags.ZeroLengthCurve for the curves of no length, -1 for every kind.

Returns

int

How many there are.