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
databaseDxfDatabaseThe drawing.
pathIReadOnlyList<string>The names of the filter; none for All.
invertboolWhether the layers that fail the filter are listed instead.
viewportDxfViewportThe viewport VPFROZEN is read in; null for none.