Table of Contents

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

matched IReadOnlyList<string>

The handles Match(string, string, CadQuickSelectOperator, string, bool, Tolerance) gave.

append bool

Whether Append to current selection set is ticked.

Returns

string

The line for the command line.

Exceptions

ArgumentNullException

Thrown when the handles are null.