Table of Contents

Method RemoveFromRefEdit

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

RemoveFromRefEdit(IReadOnlyList<string>)

Takes objects out of the working set, as REFSET Remove: they stay in the drawing as its own objects, and the objects of the block they came from leave the block when the edit is saved, and come back to it if the edit is discarded; an object added to the set from the drawing is simply the drawing's again. Objects not in the set are left out. One undo step.

public CadEditResult RemoveFromRefEdit(IReadOnlyList<string> handles)

Parameters

handles IReadOnlyList<string>

The handles of the objects.

Returns

CadEditResult

What came of it: refused where no edit is open or a command's group of edits is; done with no record where no object was in the set.

Exceptions

ArgumentNullException

Thrown when the handles are null.