Message 1 of 2
Exception Handling in Revit Api.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to handle an exception in a Revit 2025 add-in, but none of the standard managed exception classes are catching it, causing Revit to crash during an AddCoedge() attempted read/write operation. In Revit 2024, I was able to successfully handle this using the base Exception or InternalException classes. However, due to Revit 2025's migration to .NET Core (.NET 8), these exceptions are bypassed. Are there any recommendations or workarounds for catching or preventing this exception?
2025
2024
Revit Automation Plugins