Creates a new AcLyLayerFilterTree.
Optionalroot: AcLyLayerFilterRoot filter. When omitted, a default "All" root is created.
Optionalcurrent: null | AcLyLayerFilterCurrently active filter (defaults to root).
Gets the currently active filter.
The current filter, or null.
Sets the currently active filter.
Filter to make current, or null.
Gets the root filter of this tree.
The root AcLyLayerFilter.
Creates a shallow copy of this tree that shares the same filter instances.
A new AcLyLayerFilterTree.
StaticcreateCreates the default root property filter used by AutoCAD (All).
A root AcLyLayerFilter.
In-memory tree of Layer Manager filters for a drawing database.
Mirrors the AutoCAD .NET
LayerFilterTreewrapper around the ObjectARXAcLy*filter hierarchy. The tree is typically accessed through AcDbDatabase.layerFilters.Remarks
AutoCAD exposes the tree by value: callers should get the tree, mutate root / nested filters, then assign it back to the database.
See
https://help.autodesk.com/view/OARX/2024/ENU/?guid=OARX-RefGuide-AcLy_Classes
Example