Pyrevit Noob asks

Hello, I recently transitioned from Dynamo to pyRevit and am currently developing some tools for myself. Could anyone assist me? I have a question: is it possible to achieve in pyRevit what we can do in Dynamo?

I have been using pyRevit, but for some tools that I have already created in Dynamo, I haven’t seen many out-of-the-box tools built by others like i have used c# add-ons.

Hello, as a noob myself I’ll try to answer your questions:

is it possible to achieve in pyRevit what we can do in Dynamo?

Surely it is. remember that pyRevit, beside set of tools that comes with it, enables you to develop your own tools using Python language. If you have wrote Python script nodes in Dynamo then you probably have used Revit API. So overall transistion will be easier. If not you will have to learn a bit about Python and API.
As I wrote, it also depends on your knowledge of Python. If what you understand by “what we can do in dynamo” is to have real time preview of your action you will have to check how to write script on non-modal windows and revit external events.
PyRevit also gives you more possibilities than Dynamo, you will be able to use shortcuts to your tools or create dockable pane that will either show specific information about selected elements or will allow you to quickly change view settings or filters. The only thing that what restricts you is Revit API.

Also, every tool that comes with PyRevit is written in Python so it’s great amount of knowledge if you wish to analyse those scripts.

I haven’t seen many out-of-the-box tools built by others like i have used c# add-ons.

As for that you should check github, you should find some tools there. PyRevit is an opensource tool and with that it’s harder to monetise and keep the source code closed to external users. So in my opinion it’s more often used by power users that need to have specialised tools or ordered by companies that wish to have their own tools that can be easily modified in future.

2 Likes

Also keep in mind that if you are creating ribbon tab(s) using pyRevit to make it easy for your users to access your customizations, you can also create ribbon tools to run Dynamo graphs. That may allow you to get a functional ribbon tab up and running faster than if you wait until you have created python scripts to replace all of your Dynamo graphs.

1 Like