I'm trying to build this Lisp routine and I've gotten it down to almost everything I need it to do except the last function gives me an error. All this does is moves something for me the I want to immediately copy and paste it to another coordinate. It will copy but will not let me paste. Here's what I've got so far.
Code:
(defun c:MM( / ss )
(if (setq ss (ssget "_:L"))
(command "_.move" ss "" "_non" '(0. 0. 0.) "_non" '(-9.7825 -91.2564 0.0000))
)
(command"copybase""23.8593,24.3588")
(command"pasteclip""23.9599,10.4819")
(princ)
)