Community
Solution here👇🏼
that lisp works nice, but after undoing it unchecked my Snap selections..
If it source lisp add (setvar 'osmode x) at end the x is your osnap settings value, just set all osnaps how you like and type osmode a number will appear
Did not download.
Well, it's really old thread. I the meantime ALIGN moved from the express tools to the core, so I would use that...
(defun c:Coalign ( / s e) (if (and (setq s (ssget "_:L")) (setq e (entlast)) (setq e (progn (while (entnext e) (setq e (entnext e))) e)) (vl-cmdf "_.copy" s "" "_non" '(0 0 0) "_non" '(0 0 0)) (setq s (ssadd)) ) (progn (while (setq e (entnext e)) (ssadd e s)) (command-s "_.align" s ""))) (princ) )