architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
490 stars 112 forks source link

Fix set CollectorExt.m_app error #128

Closed CyrilWaechter closed 1 year ago

CyrilWaechter commented 1 year ago

Purpose

Assigning m_app is apparently not required anymore in last RevitLookup versions and not even possible.

Description

Avoid error when loading RevitLookup. Error:

Traceback (most recent call last):
  File "<string>", line 83, in <module>
  File "<string>", line 63, in __init__
TypeError: can't set attributes of built-in/extension type 'CollectorExt'

Declarations

Check these if you believe they are true

Reviewers

@daren-thomas or @eirannejad ?