mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-29 13:26:49 -06:00
Typed -LAYER (and LAYER in scripts and headless sessions) now starts the option loop instead of listing the layers and ending: ?, Make, Set, New, Rename, ON, OFF, Color (with Truecolor), Ltype, LWeight, TRansparency, Plot, Freeze, Thaw, LOck, Unlock and Description, until Enter. MATerial, stAte and rEconcile report "not available yet" without taking the next token. Every option runs the layer.* command bodies, so the session is one undo step and refusals match the JSON form. Turning the current layer off asks first; freezing it is refused. layer.new and layer.set now reject a linetype that is not loaded (or ByLayer/ByBlock), and layer.set refuses to rename a layer onto the name of another existing layer. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>