Table of Contents

Method OnLayer

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

OnLayer(string)

Gets the shapes on a layer, in the order of the file.

public IReadOnlyList<DxfShape> OnLayer(string layer)

Parameters

layer string

The name of the layer. Names are compared as AutoCAD compares them, letters of either case the same, so Steel finds the entities on STEEL.

Returns

IReadOnlyList<DxfShape>

The shapes on that layer, a new list on each call; empty where there are none.

Exceptions

ArgumentNullException

Thrown when the name is null.