Results 1 to 3 of 3

Thread: How to close AutoCAD from other application

  1. #1
    Bendik Engebretsen Guest

    How to close AutoCAD from other application

    Is there a any command that will close the AutoCAD application itself ?
    What about a command to close a document without being asked to save changes
    ?

    Thanks!

    Bendik

  2. #2
    CS Guest
    in VBA

    AcadApplication.ActiveDocument.Close False
    ' to close the drawing without saving

    AcadApplication.ActiveDocument.Close True
    'to close and save a drawing

    AcadApplication.ActiveDocument.Close True, "C:\Some Path\Copy.dwg
    'to close and save a drawing as for SaveAs Copy or Saving a drawing that
    'was just created


    AcadApplication.Quit
    'seems self explanitory.


    Regards,
    Corey


    "Bendik Engebretsen" <kidneb.nesterbegne@tfoshcet.on> wrote in message
    news:con5ur$goh$1@news.tdcnorge.no...
    Is there a any command that will close the AutoCAD application itself ?
    What about a command to close a document without being asked to save
    changes
    ?

    Thanks!

    Bendik

  3. #3
    Bendik Engebretsen Guest
    Thanks! But, is there a way to do the same from DDE ?

    Bendik

Similar Threads

  1. Spaces in path to start application from autocad
    By connie in forum Customization
    Replies: 4
    Last Post: 04-04-2005, 05:08 PM
  2. close all
    By domenico in forum Customization
    Replies: 10
    Last Post: 03-31-2005, 05:02 PM
  3. Execution error on close
    By in forum Customization
    Replies: 1
    Last Post: 02-26-2005, 01:34 AM
  4. On close run macro function
    By BEN EADIE in forum SolidWorks
    Replies: 2
    Last Post: 02-04-2005, 02:13 PM
  5. Clean Reactor on close
    By Rad_Cadder in forum Customization
    Replies: 1
    Last Post: 01-21-2005, 06:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum