Table of Contents

Method Visible

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Visible(DxfDatabase, IReadOnlyList<string>, bool, DxfViewport)

The names of the layers a filter lists: those that pass it (those that do not where invert), the filter found by its names from the top, or by the name of one AutoCAD makes. A path that names no filter, and an empty one, is All: every layer.

public static HashSet<string> Visible(DxfDatabase database, IReadOnlyList<string> path, bool invert, DxfViewport viewport)

Parameters

database DxfDatabase

The drawing.

path IReadOnlyList<string>

The names of the filter; none for All.

invert bool

Whether the layers that fail the filter are listed instead.

viewport DxfViewport

The viewport VPFROZEN is read in; null for none.

Returns

HashSet<string>

The names, letters of either case alike.