Table of Contents

Class CadPurgeRequest

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The Purge dialog of PURGE, as data its command and the window share: the named objects nothing uses, by kind, the lines and arcs of no length and the texts of no content; and, for its Find Non-Purgeable Items mode, the named objects in use with the reasons. Purge(IReadOnlyList<CadPurgeItem>) purges while the dialog stays open, each purge one undo step, and reads the drawing again. A drawing with the layers OLD_GRID and TMP unused lists them under Layers (2).

public sealed class CadPurgeRequest
Inheritance
CadPurgeRequest
Inherited Members

Properties

Action

Gets or sets what the window's dialog was closed with: Cancel for Close, Select objects; Cancel until set.

ConfirmEach

Gets or sets whether each object is asked about before it is purged (Confirm each item to be purged); true until set.

Document

Gets the document.

EmptyText

Gets how many texts and MTEXTs of no content it holds.

InUse

Gets the kinds of named object, each with those of it in use, the reasons given.

PurgeEmptyText

Gets or sets whether a purge erases the texts of no content too.

PurgeNested

Gets or sets whether what a purge leaves unused is purged too, again until nothing more is (Purge nested items): a block purged that held the only INSERT of another purges that one as well. True until set.

PurgeZeroLength

Gets or sets whether a purge erases the geometry of no length too.

Purgeable

Gets the kinds of named object, each with those of it nothing uses, in alphabetical order of the kinds.

Selected

Gets or sets the object in use whose objects Select Objects selects.

ZeroLength

Gets how many lines, arcs, circles and polylines of no length the drawing holds.

Methods

Purge(IReadOnlyList<CadPurgeItem>)

Purges objects of Purgeable, with the geometry of no length and the empty texts where the options say so, as one undo step, each asked about first where ConfirmEach says so; the lists read again.