Skip to content

LayerDialogService

Canonical path: NemAll_Python_BaseElements.LayerDialogService

Implementation of the LayerDialog service

Methods:

ShowLayoutFilterDialog staticmethod

ShowLayoutFilterDialog(
    doc: DocumentAdapter,
    drawingFileNumber: int,
    visibleLayers: VecUShortList,
    layoutFileType: int,
    layoutFileTypeOrLayerSet: int,
    drawingType: int,
    scale: float,
) -> tuple[int, int, int]

Show the layer filter dialog in the layout mode

Parameters:

  • doc (DocumentAdapter) –

    Document

  • drawingFileNumber (int) –

    Drawing file number

  • visibleLayers (VecUShortList) –

    Visible layers

  • layoutFileType (int) –

    Layout file type state

  • layoutFileTypeOrLayerSet (int) –

    Layout file type or layer set state

  • drawingType (int) –

    Drawing type

  • scale (float) –

    Scale

Returns:

  • tuple[int, int, int]

    tuple(Layout file type state, Layout file type or layer set state, Drawing type)

Placeholder