Method Apply
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Apply(IReadOnlyList<string>, bool)
Applies a match to the document's selection, as OK does: appended to it, or in its place; and says "N item(s) selected." of the selection made.
public string Apply(IReadOnlyList<string> matched, bool append)
Parameters
matchedIReadOnlyList<string>The handles Match(string, string, CadQuickSelectOperator, string, bool, Tolerance) gave.
appendboolWhether Append to current selection set is ticked.
Returns
- string
The line for the command line.
Exceptions
- ArgumentNullException
Thrown when the handles are null.