Finally pyRevit 4.4 is here. Here is a list of the most important changes:
revitpythonwrapper
extension. You should disable/remove the revitpythonwrapper
extension if you already have it. It’s not necessary anymore. The rpw inside pyRevit will be updated on a weekly basis to always have the most recent stable version. Read more below.pyRevit_eirannejad_config.ini
is now pyRevit_config.ini
). This should help sysAdmins to push pyRevit configurations easier.__context__ = 'zerodoc'
inside your scripts)THIS UPDATE INCLUDES A CORE UPDATE AND NEEDS TO BE DONE WHEN REVIT IS CLOSED.
See this video on how to update pyRevit.
https://www.youtube.com/watch?v=9HIjzfY9xz8
I talked about the change from revitutils
to rpw
in a previous post (Read here). I have started this process and as of now the revitpythonwrapper
module has been added to the pyRevit standard library. I will be working on upgrading the existing tools to use the rpw for Revit API access. Through this process we will improve the rpw further more so hopefully all you can have access to a more comprehensive wrapper for Revit API.
As of now, you can import rpw in your scripts. Read the Basic Components section on revitpythonwrapper website for more information on rpw’s capabilities.
pyRevit installer now includes an option to install pyRevit for All users or for the Current user only.
See this video on how to install pyRevit using the new installer
https://www.youtube.com/watch?v=9HIjzfY9xz8
install_addin.bat
now has a --alluser
options, the admin can:REM Install using silent installer
pyRevitSetup-v4.exe /VERYSILENT /DIR="C:\\pyRevit"
REM then change directory to the release directory inside pyrevit repo
cd \\D "C:\\pyRevit\\pyRevit\\release"
REM remove the current addin files
uninstall_addin.bat
REM re-create the addin files using the --allusers option
install_addin.bat --allusers