Table of Contents

Method SelectWindow

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SelectWindow(GeoPoint2, GeoPoint2)

Gives the objects that lie wholly inside a window, as the Window option of "Select objects:" takes them. Where the session has a window, only objects the view shows are taken, as AutoCAD's does; with none, every object. Objects on locked layers are in. The pickfirst selection is not changed.

public IReadOnlyList<string> SelectWindow(GeoPoint2 first, GeoPoint2 second)

Parameters

first GeoPoint2

One corner, in the world.

second GeoPoint2

The opposite corner.

Returns

IReadOnlyList<string>

The handles, in the order the space lists its objects.

Exceptions

ArgumentException

Thrown when a corner is not a finite point.