SDK JS
    Preparing search index...

    Interface BslSublayerState

    One BSL sublayer's applied state — see I3sBuildingLayer.sublayerStates.

    interface BslSublayerState {
        discipline?: string;
        hiddenReason: BslHiddenReason | null;
        id: number;
        layerType: BslSublayerType;
        modelName?: string;
        name: string;
        opened: boolean;
        serviceVisibility: boolean;
        visible: boolean;
    }
    Index

    Properties

    discipline?: string

    Discipline tag (Architectural, Structural, …), when the service declares one.

    hiddenReason: BslHiddenReason | null

    null when visible; otherwise why not. See BslHiddenReason.

    id: number
    layerType: BslSublayerType

    The sublayer type — only '3DObject' sublayers are opened today.

    modelName?: string

    Semantic category (Overview, FullModel, Walls, …), when the service declares one.

    name: string
    opened: boolean

    True when this layer opened an engine for the sublayer (so toggling it does something).

    serviceVisibility: boolean

    The service's own declared visibility flag, verbatim.

    visible: boolean

    What the layer is actually drawing right now.