.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TransientManager fatal error

1 REPLY 1
Reply
Message 1 of 2
T72
Explorer
376 Views, 1 Reply

TransientManager fatal error

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.

1 REPLY 1
Message 2 of 2
Balaji_Ram
in reply to: T72

Sorry, but there is not much suggestion that can be provided for such rarely reproducible problems.

You may need to isolate the part of the code that uses the transient graphics and try to reproduce the crash.

 

I can understand that this is quite difficult but I dont see any other way to know what could be causing it.

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost