Table of Contents

Method ListObjects

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

ListObjects(IEnumerable<string>)

Asks the app for the lines AutoCAD's LIST writes for some entities: the kind and layer, the space, the handle and the shape of each (the length and angle of a line, the centre and radius of a circle). The app runs LIST in a command session of its own, so its command line, its selection and its undo list are as they were.

public IReadOnlyList<string> ListObjects(IEnumerable<string> handles)

Parameters

handles IEnumerable<string>

The handles of the entities.

Returns

IReadOnlyList<string>

The lines.

Exceptions

ArgumentNullException

Thrown when the handles are null.

CadRemoteException

Thrown when the drawing is closed or has no entity of a handle.