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
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
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
Thanks! But, is there a way to do the same from DDE ?
Bendik
close all
Clean Reactor on close