omc-layer.lsp

Define comandos para controlar layers e suas propriedades de acordo com as configurações especificadas no arquivo oh-my-cad/config/layer.conf.

Functions

(omc-layer-name prefix stem)

Returns the full layer name properly prefixed.

(omc-layer-create prefix stem)

Creates a layer with the name properly prefixed and sets its properties.

(omc-layer-set stem selection verbose)

Move selection to layer.

(omc-layer-generate-commands)

Generate layer setting commands.

(omc-layer-configure)

Read and load layer configuration from layer.conf files.

Global variables

  • *omc-layer-no-prefix* assigned in

    • omc-layer-configure
  • *omc-layer-prefix* assigned in

    • omc-layer-configure
  • *omc-layers* assigned in

    • omc-layer-configure

Functions called on load

  • princ