Method SetCurrent
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SetCurrent(CadDocument, IReadOnlyList<string>)
Marks the filter the layer list shows as the current one, as AutoCAD does when one is chosen in its tree (group 290 of its XRECORD); none marks All.
public static CadEditResult SetCurrent(CadDocument document, IReadOnlyList<string> path)
Parameters
documentCadDocumentThe document.
pathIReadOnlyList<string>The names of the filter; none for All.
Returns
- CadEditResult
What came of it; a filter AutoCAD makes, or one only ACAD_LAYERFILTERS keeps, is not marked and is not an error.