The pyRevit rapid application development environment can be used for the entire add-in lifecycle, supporting rapid debugging, testing and deployment as well.
Here is a very short post to highlight Ali Tehami's enthusiastic and
inspiring comment on
Joshua Lumley's five secrets of Revit API coding that
is certainly of interest to many others, extolling the virtues of pyRevit
:
I successfully implemented invoking an external command defined in a stand-alone Revit plugin assembly from pyRevit!
It's proving extremely useful... managed to easily maintain a single DLL assembly on the network server and distributed the functionality through pyRevit's amazing capabilities to almost everyone at my firm.
It feels amazing when you can make updates on the fly to a single DLL and have it live-ly updated in real-time to all active Revit users in the whole office.
Another very useful outcome of this implementation was the ease of debugging and testing whether the code base would fail in any different Revit versions... I tested the plugin for all version from 2016 to 2019 in seconds!
For future reference of everyone, I put an example on my GitHub recycling Joshua's provided sample code into a pyRevit
.pushbutton
in my pyRevit beta ideas repository on GitHub.
Many thanks to Joshua for his great tips, and many thanks to Ali for making such great use combining them with pyRevit and highlighting this for the community!