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
layerstringThe name of the layer. Names are compared as AutoCAD compares them, letters of either case the same, so
Steelfinds the entities onSTEEL.
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.