• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Visual LISP, AutoLISP and General Customization

    Reply
    Active Member
    Posts: 7
    Registered: ‎01-12-2010

    Crash with extrud and _sweep command in lisp function

    143 Views, 3 Replies
    06-19-2012 02:06 PM

    hi,

     

    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.

     

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎01-12-2010

    Re: Crash with extrud and _sweep command in lisp function

    07-26-2012 07:28 AM in reply to: Sodep_ing

    Somebody have the same crash or not?

     

    My AutoCAD application has crashed for the second time this week with the same troubles after.

    Please use plain text.
    *Expert Elite*
    Hallex
    Posts: 1,334
    Registered: ‎10-08-2008

    Re: Crash with extrud and _sweep command in lisp function

    07-26-2012 11:38 AM in reply to: Sodep_ing

     

    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

    hth,

     

    ~'J'~

    _____________________________________
    C6309D9E0751D165D0934D0621DFF27919
    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎01-12-2010

    Re: Crash with extrud and _sweep command in lisp function

    07-26-2012 12:31 PM in reply to: Hallex

    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.

     

    Many thanks.

    Please use plain text.