Table of Contents

CadPurgeItem

from OpenCAD2D import CadPurgeItem

class CadPurgeItem(System.Object) ยท CadPurgeItem in the .NET reference

A named object of a drawing as the Purge dialog lists it: its kind, its name, and for one in use the reasons it cannot be purged and the objects of the space shown that use it.

Properties and fields

Kind

.NET

@property
def Kind(self) -> str

Gets the kind as the dialog's tree names it, Layers.

Name

.NET

@property
def Name(self) -> str

Gets the name, OLD_GRID.

Objects

.NET

@property
def Objects(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets the handles of the objects of the space shown that use it, in ordinal order, which Select Objects selects.

Reasons

.NET

@property
def Reasons(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets why an object in use cannot be purged, a sentence each, as "Layer WALLS is the current layer." and "Used by 214 objects in model space and 3 in layouts."; empty for one that can.