• Preparing search index...
  • The search index is not available
RealDWG-Web
  • RealDWG-Web
  • @mlightcad/data-model
  • acdbReadLayerFilterTree

Function acdbReadLayerFilterTree

  • acdbReadLayerFilterTree(
        source: AcDbLayerFilterPersistSource,
    ): AcLyLayerFilterTree
  • Reads an AcLyLayerFilterTree from Layer Table extension-dictionary objects (ACAD_LAYERFILTERS / ACLYDICTIONARY + XRecords).

    Parameters

    • source: AcDbLayerFilterPersistSource

      Dictionaries and XRecords from the drawing.

    Returns AcLyLayerFilterTree

    The reconstructed filter tree.

    Remarks

    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).

    • Defined in packages/data-model/src/ly/AcLyLayerFilterIO.ts:119

Settings

Member Visibility
RealDWG-Web
  • Loading...

Generated using TypeDoc