Closed RhysProbyn closed 8 years ago
There is a pull request to fix this I believe
-matt
On Aug 28, 2015, at 1:24 AM, RhysProbyn notifications@github.com wrote:
This is an old issue, seen in this thread: http://dynamobim.com/forums/topic/error-with-doc-activeview-and-structural-plans/
Document.ActiveView throws an error when used with a "structural plan" in Revit, however "floor plans" work fine.
Error log:
Warning: Document.get_ActiveView operation failed. Unable to cast object of type 'Revit.Elements.UnknownElement' to type 'Revit.Elements.Views.View'.
— Reply to this email directly or view it on GitHub.
https://github.com/DynamoDS/DynamoRevit/pull/550 Looks like Dimitar has solved it as well?
This is an old issue, seen in this thread: http://dynamobim.com/forums/topic/error-with-doc-activeview-and-structural-plans/
Document.ActiveView throws an error when used with a "structural plan" in Revit, however "floor plans" work fine.
Error log:
Warning: Document.get_ActiveView operation failed. Unable to cast object of type 'Revit.Elements.UnknownElement' to type 'Revit.Elements.Views.View'.