Table of Contents

Method SelectAll

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SelectAll(Func<DxfEntity, bool>)

Gives the objects of the working space (model space while a viewport is worked through, else the space shown), as the All option of "Select objects:" takes them: the first viewport of a layout left out, objects on locked layers in. The pickfirst selection of the drawing is not changed: set it with Selection.

public IReadOnlyList<string> SelectAll(Func<DxfEntity, bool> filter = null)

Parameters

filter Func<DxfEntity, bool>

Keeps the objects it says true of; null keeps all.

Returns

IReadOnlyList<string>

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