Open
Description
Describe the bug
RevitLookup.SnoopElement from InitScript init.py no longer works.
The error message when trying to execute SnoopElement is:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 92, in SnoopElement
AttributeError: 'RevitLookup.Views' object has no attribute 'ObjectsView'
This could be because the 'ObjectsView' class has been removed in RevitLookup in this commit:
lookup-foundation/RevitLookup@7fe319d
Experiencing this error with RPS 2.0.2 and RevitLookup 2024.1.4 running on Revit 2024
To Reproduce
Steps to reproduce the behavior:
- Open Revit Python Shell inside Revit
- execute a SnoopElement such as
_revitlookup.SnoopElement(doc.ActiveView)
- See error messae
Metadata
Metadata
Assignees
Labels
No labels