I'm trying to get the active view of my family's document but it returns null. In Revit 2019, it would always return a value however I've recently switched to Revit 2020 and it seems to be giving me an issue.
Has anyone else run into this yet and come across a solution?
I've stumbled across this post but its recommendation is to use a filtered element collector which I am not a fan of. I'm having issues passing it to other classes. Revit 2019 seemed so simple.
Note: this also persists in Revit 2021
Here's a picture of my debug showing its null
and then here's a picture of my Snoop for the family document after it is open and activated showing it has a value.