Table of Contents

Method Apply

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Apply(IReadOnlyList<CadEditRecord>, Action<CadEditScope>)

Makes an edit of the command through ApplyEdit(string, IReadOnlyList<CadEditRecord>, Action<CadEditScope>); all the edits of one run are one undo step. A refusal or failure is written into the history.

public CadEditResult Apply(IReadOnlyList<CadEditRecord> planned, Action<CadEditScope> apply)

Parameters

planned IReadOnlyList<CadEditRecord>

The changes planned to existing entities; null or empty where it only adds.

apply Action<CadEditScope>

Writes the change.

Returns

CadEditResult

What came of it.