OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on February 25, 2010, 05:56:05 AM

Title: closing a modeless form when acad closes
Post by: andrew on February 25, 2010, 05:56:05 AM
right now my modeless form will stay open when i close acad completely
is there a way to have the modeless form close when acad closes
or should i redefine the close command to send the close form command to the modeless form

Title: Re: closing a modeless form when acad closes
Post by: Fred Tomke on February 25, 2010, 07:52:37 AM
Hi, andrew, since the loaded OpenDCL library will be destroyed when AutoCAD is closing/crashing, the modeless form will be closed, too.
Have a look into the taskmanager, if the acad.exe is still listed in the process list.

Fred
Title: Re: closing a modeless form when acad closes
Post by: BazzaCAD on February 25, 2010, 09:38:34 AM
I think he means when he closes all his DWG's but Acad is still open in a NoDoc state.
If that's the case Andrew, then have a look at the "OnEnteringNoDocState" event for your Modeless form.