pyM4B
pyRevit extensions
pyMacro4BIM is a free extension of pyRevit which contain script and solution which span into different disciplines.
It is built mainly as a result of the Macro4BIM community and of course, our researches.
How to install
There is not a real installation, all you have to do is download all the scripts, similar to what you do when downloading a new Dynamo package. As the project it is hosted on Github, you can easily clone the repository following one of this two options:
option 1: pyRevit CLI
Very easy, open the command prompt and type:
1pyrevit extend ui pyM4B https://github.com/GiuseppeDotto/pyM4B.extension.git --branch=main
copied!
If you execute the command with Revit opened, remember to refresh your pyRevit.
option 2: extensions.json
Open the JSON file which is usually located at %appdata%\pyRevit-Master\extensions
(it might change depending on how/were you installed pyRevit) and copy paste the below portion of code
1{ 2 "builtin": "False", 3 "default_enabled": "True", 4 "type": "extension", 5 "rocket_mode_compatible": "True", 6 "name": "pyM4B", 7 "description": "Macro4BIM extension for PyRevit", 8 "author": "Giuseppe Dotto", 9 "author_profile": "https://github.com/GiuseppeDotto", 10 "url": "https://github.com/GiuseppeDotto/pyM4B.extension.git", 11 "website": "https://www.macro4bim.com/", 12 "image": "", 13 "dependencies": [] 14}
copied!
Related blog posts
We are working on it