OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Aleksandr Tkachenko on October 08, 2009, 11:02:18 PM

Title: Bug Palettes Form OnEnteringNoDocState 6.0.0.7 Autocad 2006
Post by: Aleksandr Tkachenko on October 08, 2009, 11:02:18 PM

drawing close event is triggered OnEnteringNoDocState.

(defun c:PForm_OnEnteringNoDocState ( /)
     (if (dcl_Form_IsActive PForm)
       (dcl_form_close PForm)
     )
)


open a new drawing, autocad - fatal error
Title: Re: Bug Palettes Form OnEnteringNoDocState 6.0.0.7 Autocad 2006
Post by: owenwengerd on October 12, 2009, 01:10:39 AM
Is the SDI system variable set to 1 or 0?
Title: Re: Bug Palettes Form OnEnteringNoDocState 6.0.0.7 Autocad 2006
Post by: Aleksandr Tkachenko on October 12, 2009, 02:11:19 AM
Quote from: owenwengerd on October 12, 2009, 01:10:39 AM
Is the SDI system variable set to 1 or 0?

set to 1 - error

set to 0 - ok
Title: Re: Bug Palettes Form OnEnteringNoDocState 6.0.0.7 Autocad 2006
Post by: owenwengerd on October 12, 2009, 02:25:02 AM
I think I've fixed the problem. Please test the next build and let me know whether the problem is resolved.
Title: Re: Bug Palettes Form OnEnteringNoDocState 6.0.0.7 Autocad 2006
Post by: Aleksandr Tkachenko on October 13, 2009, 10:48:42 PM
 6.0.0.8 problem persists.
Title: Re: Bug Palettes Form OnEnteringNoDocState 6.0.0.7 Autocad 2006
Post by: owenwengerd on October 14, 2009, 09:11:02 PM
Please let me know the exact steps to reproduce the problem.