I have noticed that when I run lisp routines to insert a block with an attribute, the properties palette does not show the current layer.
This happens with autocad 2018.
The ribbon will show the correct layer, but the properties palette shows the "test" layer.Code:(defun c:test2 () (setq melay (getvar "clayer")) (command "-layer" "m" "test" "" ) (setvar "attdia" 0) (setq meattval "x") (command "-insert" "myblock_with_attribute" "s" "1" "r" "0" pause meattval ) (setvar "clayer" melay) (setvar "attdia" 1) )
Any help with this?