2010-03-28 22:16 UTC
First real project in ODCL. I've worked on this about 6 hours over two days and am getting nowhere. Probably something really simple. I've read through all the samples and looked at most of the code posted in the forums but I'm coming up empty.
Two problems:
1. Reloading the lsp file in Autocad 2010 after editing the lisp in Textpad or the ODCL does not appear to update the files in Autocad -- I get the same operation as before the edits unless I close and re-open Autocad. Is this normal?
2. The first time I run this I can enter data, but the Cancel and OK buttons do not work. If I exit (upper right X) then run again I see the previous data and the OK button works, but the variables that should print after close are all nil. Before I added the edit boxes I could get data on the option buttons.
This is obviously a work in progress. I don't have all the initialization done, and I haven't done anything with the bottom edit box yet.
Also, has there been a syntax change for edit boxes? The samples seem to have the form c:faultdrop_FaultBox_AFC-data_OnEditChanged (NewValue /) but the GUI cut and paste shows the form c:AFC-data_OnEditChanged (NewValue /)
Any help would be appreciated.
Martin
Two problems:
1. Reloading the lsp file in Autocad 2010 after editing the lisp in Textpad or the ODCL does not appear to update the files in Autocad -- I get the same operation as before the edits unless I close and re-open Autocad. Is this normal?
2. The first time I run this I can enter data, but the Cancel and OK buttons do not work. If I exit (upper right X) then run again I see the previous data and the OK button works, but the variables that should print after close are all nil. Before I added the edit boxes I could get data on the option buttons.
This is obviously a work in progress. I don't have all the initialization done, and I haven't done anything with the bottom edit box yet.
Also, has there been a syntax change for edit boxes? The samples seem to have the form c:faultdrop_FaultBox_AFC-data_OnEditChanged (NewValue /) but the GUI cut and paste shows the form c:AFC-data_OnEditChanged (NewValue /)
Any help would be appreciated.
Martin