I’ve pyRevit installed for Revit 2024 and 2025 and use my own extension.
As everybody know pyRevit will work in every installed Revit-version.
In Revit 2025 I see my custom extension and it loads my custom python modules.
I do not have to add any path in my Python-code.
pyRevit - Bundle Lib & bin
MyPanel.panel/
├── lib/
│ └── some_python_module.py
│
├── bin/
│ └── SomeRequired.dll
│
├── MyButton1.pushbutton/
├── MyButton2.pushbutton/
└── MyButton3.pushbutton/
I have a Dynamo-script with python-nodes. The nodes uses Python-functions of the loaded Python-module.
When I start my Dynamo-script in R25 it works 100%. (custom Python-functions are loaded/available)
When I start the same Dynamo-script in R24 it does not work. It gives: “importerror: no module named …”
So it can not find my custom Python-module and so it does not load my custom python functions.
In R25 I use the new Pythonnet3 package
In R24 I use IronPython 2.7 package
What can be the issue and whats is the solution?
The do not want to add any path in a Python-code. With pyrevit installed you have to do this.