In-memory tree of Layer Manager filters for a drawing database.

Mirrors the AutoCAD .NET LayerFilterTree wrapper around the ObjectARX AcLy* filter hierarchy. The tree is typically accessed through AcDbDatabase.layerFilters.

AutoCAD exposes the tree by value: callers should get the tree, mutate root / nested filters, then assign it back to the database.

const tree = db.layerFilters;
const unlocked = new AcLyLayerFilter();
unlocked.name = 'Unlocked Layers';
unlocked.setFilterExpression('LOCKED=="False"');
tree.root.addNested(unlocked);
db.layerFilters = tree;

Constructors

Accessors

Methods

Constructors

Accessors

Methods