Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I maintain a Revit addin that we ship for Revit versions 2019 through 2022. Recently we've been receiving some strange error reports through our automatic error-reporting back-end. The "Document" parameter of DocumentCreatedEventArgs and DocumentOpenedEventArgs, which trigger when the user creates a new or opens an existing Revit document, is null. I haven't been able to replicate the exception as of yet, so gathering more information is difficult.
Are there known situations in which either the DocumentOpened or DocumentCreated events, or both, have a null Document?
Solved! Go to Solution.