See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Writable comand to replace Esc key.

  1. #1
    Member
    Join Date
    2013-11
    Posts
    4
    Login to Give a bone
    0

    Default Writable comand to replace Esc key.

    Hey there.

    Im using excel to generate coordinates, used for lines and such. im having trable finding a command (such as ¨line¨ or ¨_dimangular¨) that works just like pressing the Esc key.

    You can see the code (copied from an excel column) here:

    In between some of those actions, Id like to have the ¨press esc¨order to help smooth out the _dim* lines, which are terribly wonky.

    Thanks in advance.

    Feel free to ask for more data about the code. Also, Im on Win XP and Acad 2008.

  2. #2
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Writable comand to replace Esc key.

    I do not know if this will work in your context, but you might try using the AutoLISP exit command by typing:
    (exit)
    where you want to "escape".

  3. #3
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Writable comand to replace Esc key.

    Quote Originally Posted by matib88438333 View Post
    im having trable finding a command (such as ¨line¨ or ¨_dimangular¨) that works just like pressing the Esc key.
    Have you tried (command)
    R.K. McSwain | CAD Panacea |

  4. #4
    Member
    Join Date
    2013-11
    Posts
    4
    Login to Give a bone
    1

    Default Re: Writable comand to replace Esc key.

    Quote Originally Posted by dkoch View Post
    I do not know if this will work in your context, but you might try using the AutoLISP exit command by typing:
    (exit)
    where you want to "escape".
    Almost. There was an error, but the previous command was still active. Thanks anyway!

    Quote Originally Posted by rkmcswain View Post
    Have you tried (command)
    YES! I get a *cancel* followed by "command: nil". Thanks a lot, now I can get this pipes flowing.

Similar Threads

  1. remember last type number for comand
    By sergiu_ciuhnenco688457 in forum AutoLISP
    Replies: 0
    Last Post: 2015-03-13, 06:22 AM
  2. Missing comand Text
    By eweber in forum AutoCAD General
    Replies: 1
    Last Post: 2009-09-15, 06:02 PM
  3. What is the Best Comand In ACad?
    By sandeep_koodal in forum AutoCAD General
    Replies: 39
    Last Post: 2008-10-02, 10:52 AM
  4. OPEN comand does not work
    By Spanky in forum AutoCAD General
    Replies: 39
    Last Post: 2008-02-14, 06:42 PM
  5. Replies: 9
    Last Post: 2006-11-02, 06:05 PM

Posting Permissions

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