.NET

Reply
T72
New Member
T72
Posts: 2
Registered: ‎10-28-2012
Message 1 of 2 (176 Views)

TransientManager fatal error

176 Views, 1 Replies
12-10-2012 12:44 AM

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.

ADN Support Specialist
Balaji_Ram
Posts: 701
Registered: ‎03-21-2011
Message 2 of 2 (132 Views)

Re: TransientManager fatal error

12-14-2012 09:13 AM 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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.