Results 1 to 2 of 2

Thread: Alias Lisp Multiple Keyword

  1. #1
    Login to Give a bone
    0

    Default Alias Lisp Multiple Keyword

    I'm trying to make an Alias "DR" command. I have put the following into a Lisp File:

    (defun C:DR ( / )
    (command "Multiple" "Line")
    (princ)
    );defun

    If I simply keyboard in the command "Multiple" followed by the keyword "Line" everything works fine. However, when I place these commands into a Lisp file as shown above, it does not work. Almost seems to try and run twice?

    Sincerely,

    Christmas May
    Last edited by rkmcswain; 2020-05-19 at 01:41 PM.

  2. #2
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    561
    Login to Give a bone
    0

    Default Re: Alias Lisp Multiple Keyword

    try this

    Code:
    (command "_line" (getpoint "\nStart point"))
    (while (= (getvar "cmdactive") 1 )
    (command (getpoint (getvar 'lastpoint) "\nPick next point"))
    )

Similar Threads

  1. Overkill ==> "Invalid option keyword."
    By A Myth in forum AutoCAD General
    Replies: 8
    Last Post: 2007-05-03, 11:11 AM
  2. keyword search in DWF Viewer
    By huntd in forum DWF Viewer - Wish List (Closed)
    Replies: 2
    Last Post: 2006-07-15, 04:02 PM
  3. Keyword Search within Autocad Files?
    By Youngst in forum AutoCAD General
    Replies: 5
    Last Post: 2004-09-02, 09:04 PM

Tags for this Thread

Posting Permissions

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