Message 1 of 2
TransientManager fatal error
Not applicable
12-10-2012
12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good afternoon.
Sometimes when you call
TransientManager.CurrentTransientManager.EraseTransients (TransientDrawingMode.DirectShortTerm, 128, new IntegerCollection ()); fatal error occurs (may 1000 run normally, and then put AutoCAD). There is so deep that the try / catch does not help. The call is from OnGripStatusChanged (Entity entity, GripStatus status)
add this:
Autodesk.AutoCAD.GraphicsInterface.TransientManager.CurrentTransientManager.AddTransient (entity, Autodesk.AutoCAD.GraphicsInterface.TransientDrawingMode.DirectShortTerm,
128, new IntegerCollection ());
I update:
TransientManager.CurrentTransientManager.UpdateTransient (entity, new IntegerCollection ());
Is it possible to somehow prevent the bug or correct drown?
Thank you.