Table of Contents

Method GetObjects

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

GetObjects(CadObjectFilter)

Reads the objects that match a filter, in the order of the drawing: model space first, then each layout, each in the order its objects were made.

public IReadOnlyList<DxfEntity> GetObjects(CadObjectFilter filter = null)

Parameters

filter CadObjectFilter

The filter; null for every object.

Returns

IReadOnlyList<DxfEntity>

Copies of the objects as they are now.

Exceptions

CadRemoteException

Thrown when the drawing is closed or the filter names a layout the drawing has not.