create_layer
Creates a drawing layer with optional ACI color and linetype, leaving existing layers unchanged and warning if already present. Use before drawing on a new layer.
Instructions
Cria uma camada (se já existir, não altera nada e avisa).
QUANDO USAR: antes de desenhar/inserir em uma camada nova. Não é destrutivo. Parâmetros: name (sem < > / \ " : ; ? * | , = `), color (índice ACI 1-255 ou nome: red/vermelho, yellow, green, cyan, blue, magenta, white), linetype (deve estar carregado; HIDDEN/CENTER/DASHED/PHANTOM são carregados de acad.lin automaticamente). Exemplo: create_layer("SUPORTES", color="green", linetype="Continuous").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| linetype | No | Continuous |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||