pyRevit v4.8.5
New Features, Tools
-
Preflight Checks: pyRevit Extensions can now include a
checks/
directory with python scripts engine in*_check.py
and implementing a Preflight Check type. These checks will automatically show up in the new Preflight Checks tool -
Custom IronPython Engine: pyRevit now includes a custom IronPython engine. This engine is NOT the default for this release, so we have a chance to get it tested, but it will be the default soon. All previous engines are still supported. The custom engine provides a solution to all the IronPython conflicts and
import wpf
errors hopefully. To use this, go to pyRevit settings and switch the IronPython engine under Core Settings to this new custom engine, or use the pyRevit CLI to attach using this enginepyrevit attach master default --installed
-
Added New
doc-updater
hook: This hook is executed every time a model is updated. See example here this example hook, automatically updates the height of new walls to 5 when they are created -
Added New Tool (#883: Tool to Clear BIM360 Collaboration Cache): Find under Wipe tools
-
Added ReKey buttons to Keynote Manager (#701: Keynote Manager Needs Keynote-Edit-KEY Button): Both categories and keynotes can be rekeyed now
Breaking Changes
- There are no
.run
extensions anymore. Run script can now be included inside any extension under thecommands/
directory and ending in*_command.py
. pyRevit CLI when batch processing usingpyrevit run
can find these commands. See example here
Tools
- Resolved Issue (#1143: Keynote Manager setup issue BIM 360)
- Added grids and levels to ReNumber tool
- Fixed many keynote manager bugs
- Resolved Issue (#1140: Handled rvt links not loaded + not displyaing warnings section when no warning)
- Resolved Issue (#1077: Save Families fails to overwrite families)
- Resolved Issue (#1076: Parameter framework modification)
- Resolved Issue (#1117: Modification to Import/Export Family Configs)
- Fixed bad schedule export in 2021
- Updated the import export family config tools
Supported Revits
- Added Revit 2021.1.2
Framework Updates
- Resolved Issue (#1133: output: not able to save the js part of the output windows as html + js dependencies)
Telemetry
- Added hooks to the script telemetry system
Extensions
- added MEPDesign to extensions
- added pyStructure extension
API
- Fixed file info bug with newer Revit models
Other
If you are upgrading from pyRevit 4.7.* see these release notes as well: