- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a palette with a button to run a lisp that draws a bunch of circles.
The lisp is run with T Tanzillos InvokeLisp, and runs fine from other situations.
I am wondering, normally I lock the document when running stuff (synchronously) from a modelss dialog.
When I use a lisp though, there is no document locking mechanism.
I am doing this in my button callback:
Autodesk.AutoCAD.Internal.Utils.PostCommandPrompt(); ResultBuffer ret = HALispVars.InvokeLisp(args, ref stat); Autodesk.AutoCAD.Internal.Utils.PostCommandPrompt();
What happens is the first run always works.
The second time I pick the button from the palette, I get an internal error.
Is this something obvious I am missing? (Assume the lisp is not erroring, I checked that).
It seems like it has to be related to focus issues or db access as its only with the palette that I get the issue.
thanks
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties
Solved! Go to Solution.