Table of Contents

Method SelectWindow

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

SelectWindow(GeoPoint2, GeoPoint2)

Takes the objects that lie wholly inside a window, as the Window option of "Select objects:" does: where the app has a window, only objects its view shows. The objects the user has selected stay selected.

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

Parameters

first GeoPoint2

One corner.

second GeoPoint2

The opposite corner.

Returns

IReadOnlyList<DxfEntity>

Copies of the objects as GetObjects(CadObjectFilter) gives them.

Exceptions

CadRemoteException

Thrown when the drawing is closed.