Results 1 to 2 of 2

Thread: Need Help

  1. #1
    Member
    Join Date
    2016-03
    Posts
    4
    Login to Give a bone
    0

    Default Need Help

    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)
    )
    Last edited by rkmcswain; 2017-12-14 at 02:52 PM. Reason: added [CODE] tags

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,665
    Login to Give a bone
    0

    Default Re: Need Help

    Why wouldn't you use the COPY command? The only time I use COPYBASE is between different drawings or layouts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •