Method AddToRefEdit
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
AddToRefEdit(IReadOnlyList<string>)
Adds objects of the drawing to the working set, as REFSET Add: they are written into the block when the edit is saved, and the objects of the block that were taken out of the set (RemoveFromRefEdit(IReadOnlyList<string>)) go back into it. Objects that are in the set already, are not in the space the reference stands in, are the reference itself, or are references of the block being edited or of a block that places it (they would make it place itself) are left out. One undo step.
public CadEditResult AddToRefEdit(IReadOnlyList<string> handles)
Parameters
handlesIReadOnlyList<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 could be added.
Exceptions
- ArgumentNullException
Thrown when the handles are null.