Table of Contents

CadDocumentChangedEventArgs

from OpenCAD2D import CadDocumentChangedEventArgs

class CadDocumentChangedEventArgs(System.EventArgs) ยท CadDocumentChangedEventArgs in the .NET reference

What changed in a document: the entities touched, the spaces whose display lists were dropped, and why.

Properties and fields

Handles

.NET

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

Gets the handles of the entities touched, in ordinal order, each once.

Kind

.NET

@property
def Kind(self) -> CadChangeKind

Gets what made the change.

Spaces

.NET

@property
def Spaces(self) -> System.Collections.Generic.IReadOnlyList[CadSpace]

Gets the spaces whose display list and pick index were dropped, in the order of their tabs; the canvas draws them again.

StepName

.NET

@property
def StepName(self) -> str | None

Gets the name of the step applied, undone or redone; null for a regen or a save.

TablesChanged

.NET

@property
def TablesChanged(self) -> bool

Gets whether a table of the drawing changed, so that the layer box and the Layer manager read it again.