Dictionaries and XRecords from the drawing.
The reconstructed filter tree.
Prefer ACLY_DICTIONARY_NAME when present (supports nesting). Fall back to the legacy flat ACAD_LAYERFILTERS_NAME dictionary.
Legacy property-filter XRecord layout (documented VBA samples):
(1 name) (1 expression) (1 colorPat) (1 linetypePat) (70 flags) (1 ...) (1 ...)
Group filters additionally store layer object IDs as soft/hard pointers
(group codes 330 / 340 / 350 / 360).
Reads an AcLyLayerFilterTree from Layer Table extension-dictionary objects (
ACAD_LAYERFILTERS/ACLYDICTIONARY+ XRecords).