Table of Contents

Class CadEditScope

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What an edit's action is given to write with: the document and the drawing, and the way to add an entity so that it is recorded. An entity of the drawing is changed through its own members (TransformBy, its setters, Erase); the edit's planned records say which.

public sealed class CadEditScope
Inheritance
CadEditScope
Inherited Members

Properties

Database

Gets the drawing.

Document

Gets the document.

Methods

Added(CadSpace, DxfEntity)

Records an entity a call of the library added to a space by itself, as WblockCloneObjects adds its copies.

Append<T>(CadSpace, T)

Adds an entity made in code to a space and records it as added.

IsHandled(string)

Gets whether the owner of an entity took its planned edit and made the change itself (a mark moved by the drawing that owns it), so that the action leaves that entity alone; false for an entity the presenter edits itself.

Record(CadEditRecord)

Records a change the planned records did not name, found while writing.