Results 1 to 3 of 3

Thread: (command "_quit" "_y") returns "function cancelled"

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2016-12
    Posts
    1
    Login to Give a bone
    0

    Default (command "_quit" "_y") returns "function cancelled"

    I'm migrating my application from 2014 to Autocad 2016. But this command, which was working on 2014, is not working on Autocad 2016:

    (command "_quit" "_y")
    Autocad always prints "Funcion Cancelled".

    if I try to write _quit and then _y in the command line, it works! But not with my lisp program.

    Do you know what was changed in Autocad 2016? I know that Command was migrated but it seems it still launch commands.

    Sorry for my french English, waiting for your help!

    Pierre.

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

    Default Re: (command "_quit" "_y") returns "function cancelled"

    Surprised you had it working in 2014, I thought it would not work on an MDI. This lisp should solve your problem: http://www.cadforum.cz/cadforum_en/h...saving-tip7723

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

    Default Re: (command "_quit" "_y") returns "function cancelled"

    Explore the lisp function (initcommandversion) too.
    R.K. McSwain | CAD Panacea |

Similar Threads

  1. Replies: 8
    Last Post: 2012-08-18, 01:31 AM
  2. Replies: 0
    Last Post: 2012-06-06, 11:54 AM
  3. ENTIDADES EN ALIGNMENT COMO "FIXED", "FLOTING" y "FREE"
    By cadia in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2009-02-01, 04:21 AM
  4. Replies: 4
    Last Post: 2006-11-10, 03:50 PM
  5. Replies: 1
    Last Post: 2006-06-13, 06:36 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
  •