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
plannedIReadOnlyList<CadEditRecord>The changes planned to existing entities; null or empty where it only adds.
applyAction<CadEditScope>Writes the change.
Returns
- CadEditResult
What came of it.