Warning Error Handling

Warning Error Handling

arshad.k
Enthusiast Enthusiast
327 Views
1 Reply
Message 1 of 2

Warning Error Handling

arshad.k
Enthusiast
Enthusiast

Hello Guys!!! 

Anybody Help me in Handling this Error.

arshadk_0-1638442280927.png

@naveen.kumar.t 

 
0 Likes
328 Views
1 Reply
Reply (1)
Message 2 of 2

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @arshad.k ,

Please have a look at these below links

 

https://giobel.github.io/RevitWarnings/ 

https://thebuildingcoder.typepad.com/blog/2009/06/autoconfirm-save-using-dialogboxshowing-event.html 

https://thebuildingcoder.typepad.com/blog/2010/04/failure-api.html 

https://thebuildingcoder.typepad.com/blog/2009/10/dismiss-dialogue-using-windows-api.html 

 

If you follow the steps mentioned in the 2nd link, use this below code 

 

TaskDialogShowingEventArgs e2;
e2.OverrideResult((int)DialogResult.OK);

 

 

I hope this helps.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes