After creating lib files I get the different errors:
Traceback (most recent call last):
File "L:\0_8_REVIT\09_S3A_Tools\S3A_Tools.extension\S3A_Tools.tab\07_Andere Tools.Panel\Verwijder Rooms.pushbutton\verwijder rooms_script.py", line 5, in <module>
File "C:\Users\PieterL\AppData\Roaming\pyRevit-Master\pyrevitlib\rpw\__init__.py", line 35, in <module>
File "C:\Users\PieterL\AppData\Roaming\pyRevit-Master\pyrevitlib\rpw\__revit.py", line 25, in <module>
File "C:\Users\PieterL\AppData\Roaming\pyRevit-Master\pyrevitlib\rpw\utils\dotnet.py", line 32, in <module>
ImportError: cannot import Enum from System
IronPython Traceback:
Traceback (most recent call last):
File "L:\0_8_REVIT\09_S3A_Tools\S3A_Tools.extension\S3A_Tools.tab\04_Views en Sheets.Panel\Views en Sheets 1.stack\Kopieer Views.pushbutton\Kopieer Views_script.py", line 6, in <module>
File "C:\Users\PieterL\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\__init__.py", line 94, in <module>
File "C:\Users\PieterL\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\framework.py", line 26, in <module>
AttributeError: 'module' object has no attribute 'Linq'
Different tools give different errors
My lib consists of subfolders. In those folders I have an init-file and some python files with definitions. In scripts where I don’t use pyrevit libraries there are no issues.
What could be the problem?