MLightCAD
    Preparing search index...
    interface AcApSetLayerOnOptions {
        switchCurrentLayer?: boolean;
    }
    Index

    Properties

    switchCurrentLayer?: boolean

    When turning off or freezing the current layer, switch CLAYER to another layer first.

    • CLI commands default to false and skip the current layer in batch ops.
    • UI callers (AcApLayerStore, Vue useLayers) default to true so the user can hide or freeze the active layer without leaving drawing on a hidden/frozen layer.