Table of Contents

Method Apply

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Apply(CadDocument, IEnumerable<string>)

Gets the objects of a list that pass, in the order given; handles the document has no entity of are passed over.

public IReadOnlyList<string> Apply(CadDocument document, IEnumerable<string> handles)

Parameters

document CadDocument

The document.

handles IEnumerable<string>

The handles.

Returns

IReadOnlyList<string>

The handles that pass.

Exceptions

ArgumentNullException

Thrown when the document or the handles are null.

InvalidOperationException

Thrown when the groups of the lines are not well formed (Validate()).