We use _extrude command with path in lisp routine. This function has never crashed on AutoCAD 2010 release. With 2013 release, we have a random crash with a low frequency, but it’s very serious ( Fatal Error: Access Violation Reading 0xffffffff Unhandled Exception at?????604h the five first numbers can change at each time). After the crash, we can restart AutoCAD, the _extrude command with path still work in the line command of AutoCAD, but when we use sweep command or _extrude with path in lisp function, AutoCAD is crashed each time. To solve that, we have only one solution, uninstall AutoCAD and install this a new time.
Somebody have the same crash or not?
My AutoCAD application has crashed for the second time this week with the same troubles after.
Try to set Normal property of extruded frame the same as of
tangent to start point of extruded path or if your frame is region,
then rotate3d extruded path relatively to region , e.g as Z axis vector
of current UCS, then rotate3d newly created solid back
I use only lwpolyline for the frame. Start point of the path is tangent of the frame and the start of path is perpendicular of the frame in all extruded commandes. Now with exactly the same drawing and the same script, you can make many command of sweep and extrud without trouble, and for one time per month autocad is crashed without reason in the drawing or in the script. Many time, you can do the same on other computer without crash after one week you try a new time and the autocad is crashed. Autocad is crashed only in autolisp at the command function with "._extrude" and "._sweep" for the first arguments.
To repare we must uninstall and install autocad a new time.