Table of Contents

Method WithoutPartners

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

WithoutPartners(CadDocument, IReadOnlyList<string>)

Gets the handles given with a clipped viewport's partner left out where the viewport or its boundary comes before it, as AutoCAD's pick takes the two for one object: the Selection list of a click on the boundary shows one row, not the boundary and the viewport under it. The order of the rest is kept.

public static IReadOnlyList<string> WithoutPartners(CadDocument document, IReadOnlyList<string> handles)

Parameters

document CadDocument

The document.

handles IReadOnlyList<string>

The handles of the objects under a pick, the nearest first.

Returns

IReadOnlyList<string>

The handles, one for each pair.

Exceptions

ArgumentNullException

Thrown when the document or the handles are null.