Author Topic: Transient graphics AutoCad crash  (Read 1855 times)

0 Members and 1 Guest are viewing this topic.

hellios8502

  • Guest
Transient graphics AutoCad crash
« on: October 12, 2011, 04:56:49 PM »
Hi, while playing with the transient graphics I came across a strange crash and I am wondering if anybody has observed the same strange crashes. I can create the entities with no problem and for about 1 minute Autocad is stable but after that it suddenly crashes without any apparent reason. I have tried Kean's code from the ThroughTheInterface blog. I just modified the ClearTransGraphics void by removing everything so that I can keep the graphics

Code: [Select]
private static void ClearTransGraphics(

      List<Drawable> drawables

    )

    {

      // Clear the transient graphics for our drawables
      //TransientManager.CurrentTransientManager.EraseTransients(

    //   TransientDrawingMode.DirectShortTerm,

      //  128, new IntegerCollection()
      );

       // Dispose of them and clear the list

      // foreach (Drawable d in drawables)
   //   {
   //     d.Dispose();
   //   }
     // drawables.Clear();
   // }

  }


« Last Edit: October 12, 2011, 05:07:28 PM by hellios8502 »

Jeff_M

  • King Gator
  • Posts: 4087
  • C3D user & customizer
Re: Transient graphics AutoCad crash
« Reply #1 on: October 12, 2011, 05:00:17 PM »
"strange crash" being defined as....? What version? What kind of graphics?

hellios8502

  • Guest
Re: Transient graphics AutoCad crash
« Reply #2 on: October 12, 2011, 05:04:27 PM »
Both acad 2010 and 2012. For example it crashes after I span the selection window twice over the transient graphics  :|.