I really have to do some simple task. But I havn't written any LISP/Script yet.
I have 'n' layers and want
1- qselect(Quick select)
2- Quick select
Apply to: entire drawing
Object type: Multiple
Properties: Layer
Operator: equal
value: layername
2- Bring all elements oof 'layername' to top. by draworder and
save dwg.
Any help ?
Qselect or filter commands will not work with scripts, try this line at the top of your script to filter for your layer then follow it with the draworder and save
(setq ss1 (ssget "X" ' ((8 . "yourlayername"))))
I tried this already
(defun c:SALL ()
(setq ss1 (ssget "X" ' ((8 . "LC"))))
)
but running command SALL doesn't do anything. No error.
Any lisp to bring selected objects front or back by using draworder
Can't find what you're looking for? Ask the community or share your knowledge.