Let me know if you use any other software for your Development. 😅So far I have forgotten to mention: ✅𝐍𝐨𝐭𝐞++ - It's a very light and fast text editor. It's good when you need to open a file for a quick little change and you don't want to wait for pyCharm or another big IDE to load up. Link((notepad-plus-plus.org/))
As I mentioned there is little difference between the two. So I would recommend looking for the best course you can on either language to pick up basics. pyRevit use to use IronPython 2.7.7 but couple months ago IronPython 3.x came out and I believe pyRevit has started using it instead.
pyCharm is like a text editor on steroids. Bunch of useful features, but the most important for beginners is the ability to add Revit API stubs - This will make autocomplete when you use Revit API classes and methods. then I use Visual Studio for creating custom GUI (WPF). I thought that I will cover making custom GUI by now, but I decided that I need to learn more about them if I want to teach them and I don't have time for that now. My current workflow works for me, but not good enough to teach others, so I need to improve a bit. Sorry for confusion
Only if you need libraries that work only on CPython, such as pandas, numpy... There are a few struggles when you want to use CPython, as I have heard from others. Otherwise, I would stick with IronPython. Not such a big difference and you often need to use List() from System.Colections.Generic which is not accessible in CPython.
I have Revit 2022 and had trouble installing Revit Lookup. I dont know what installer you used and when I downloaded the latest file there was no msi file in the folder. Is Revit Lookup absolutely necessary?
Hi, They have made some updates and now there is single installer for all versions since Revit 2015. Try getting latest version from here: github.com/jeremytammik/RevitLookup/releases/tag/2023.1.0 and Yes, Revit Lookup is quite necessary. You can avoid using it, but it will make it so much easier to look inside your elements and explore Revit API if you have it.
hi... thank you for your videos, they are very helpfull... ^^... btw is it possible to install revit lookup without admin permission? and is it worth it learning C# when it comes to making revit tools? I notice that there are similarities between python and C#... thanks ^^ thank you ^^
Glad you liked them! I know it's possible to place .dll file of a plugin to the right folder and normally it should appear, but it depends if placing a file in that folder is right protected or not. There are indeed a lot of similarities between them, mainly due to the fact we have to call a lot of Revit API classes and methods, and they won't change across languages. It depends. Python is much easier to learn and much faster in development. On the other hand C# can run scripts faster but you have to compile your code, which has pros and cons. main pro - you can protect your source code, con - you have to restart Revit to apply changes. pyRevit extensions are open source, so you can see all the code in my EF-Tools for example. But you can share them privately across your office, without issues. In my case I am biased towards python + I would open-source it anyway. I would recommend starting with python, and later switching to C# if you have to. It is going to be much easier, because a lot of stuff can be transferred between these languages.
Hold ALT and click on any pyRevit tool (Incl. additional extensions) This will open folder where python file is located and you can explore it. Alternatively, you can look for GitHub repositories of these extensions and download/read it there.
Visual Studio doesn't support IronPython anymore. I code with pyCharm and debug live in Revit by running my tools and seeing error messages. It's quick and easy
VStudio is great for creating UI with WPF. VSCode is a good alternative to pyCharm, but I code with pyCharm in my Tutorials, so it might be easier for people to follow.
IronPython 2.7.7 is used by default and py3 is not so different, so don't worry you will be fine. Python3 make sense in Revit if you want to use packages like numpy for your add-in. Otherwise you can stick with ipy 2.7.7.
If i understood correctly - You would need to download Revit API stubs. Check out the updated video on how to setup Dev Environment for Revit API on my channel ;) It's more up to date and provides a link to download.
I think so, but not any time soon. I know how to make a GUI that works, but I would need to learn how to do it properly before I start teaching it. I want to make a flexible form that can be reused with python, but I have some gaps with WPF at the moment, and no time to explore.
Yes it's available. You can install the latest version, and it should work just fine for many Revit versions. They have updated it since, so they removed older verisons of Revit Lookup
Have a look here: github.com/jeremytammik/RevitLookup/releases If you scroll down to Assets, you will see installation files for different Revit Version. Maybe that will help ;)
Hi Erik, Excellent Video, excellent channel, I would like to know how to configure pycharm for revit api autocomplete, it would be great if you make a video for this, Thanks.👏👏👏
1. I had no issues with RevitLookup for RVT23. Have you downloaded the latests release from github repo? 2. Why could not you install pyCharm ? Did you get an error or it failed installation?
@@ErikFrits hello Erick, thanks for your answer. I installedpyCharm, but there is an error appeared when I downloaded python 2.7 but when I downloaded phyton 3.12 the problem disappeared. I follow the instruction about add-in Revit API but it does not work, can you help me with that. thanks
I had similar issue with python 2.7.0 but 2.7.18 worked well. I heard someone else having the same experience. What do you mean by "add-in Revit API"? If you get error messages, it's good to send them, otherwise I can't just guess the problem.
@@ErikFrits I tried to Setup Revit API with pycharm as you explain in your video no3, but it looks different from what I am trying to do. I sent you an email with pictures. thanks
Let me know if you use any other software for your Development.
😅So far I have forgotten to mention:
✅𝐍𝐨𝐭𝐞++ - It's a very light and fast text editor. It's good when you need to open a file for a quick little change and you don't want to wait for pyCharm or another big IDE to load up. Link((notepad-plus-plus.org/))
Change in the lighting shows how much effort went into this video. Thanks man! 👏
Thank you, I think am quite slow with recording 😅
You are doing a great job with these getting started videos @erik, Keep on!
Thanks Jean-Mark!
I appreciate it to hear that from another expert 😉
Brilliant! I'll support you on Patreon as soon as I get the chance!
💟 Thank you so much for becoming one of my supporters, it's really motivating for me!
🙏 I'm so glad you're enjoying my content so much
Thats a briliant explanation!
Thanks!
There are updated videos available for the same topic:
ruclips.net/video/O9Xt6iUynvw/видео.html
Nice Erik, Great Content !! I need to start learning now!
Thanks. Welcome on board 😁
hey man , thanks for those videos!
i surely gonna learn from them alot.
and again, thanks
Hey, Thanks for the feedback, I appreciate that!
Erik, should we learn Python 3.11 or Python 2.7?
As I mentioned there is little difference between the two. So I would recommend looking for the best course you can on either language to pick up basics.
pyRevit use to use IronPython 2.7.7 but couple months ago IronPython 3.x came out and I believe pyRevit has started using it instead.
Hi Erik, why you download Visual Studio and Pycharm? what to do for each of the IDE for developing Revit API? Thanks.
pyCharm is like a text editor on steroids. Bunch of useful features, but the most important for beginners is the ability to add Revit API stubs - This will make autocomplete when you use Revit API classes and methods.
then I use Visual Studio for creating custom GUI (WPF). I thought that I will cover making custom GUI by now, but I decided that I need to learn more about them if I want to teach them and I don't have time for that now. My current workflow works for me, but not good enough to teach others, so I need to improve a bit.
Sorry for confusion
@@ErikFrits Thanks, Erik. Do you have any resources can help set up python revit api environment in visual studio step by step? Much appreciated.
There are some articles for VS Code online, but Visual Studio is not so popular for python, not sure if any guide is available
@@ErikFrits Thanks Erik.
Does it makes sense to use CPython? Does the auto completion work as well?
Only if you need libraries that work only on CPython, such as pandas, numpy... There are a few struggles when you want to use CPython, as I have heard from others.
Otherwise, I would stick with IronPython. Not such a big difference and you often need to use
List() from System.Colections.Generic which is not accessible in CPython.
I have Revit 2022 and had trouble installing Revit Lookup. I dont know what installer you used and when I downloaded the latest file there was no msi file in the folder. Is Revit Lookup absolutely necessary?
Hi, They have made some updates and now there is single installer for all versions since Revit 2015. Try getting latest version from here:
github.com/jeremytammik/RevitLookup/releases/tag/2023.1.0
and Yes, Revit Lookup is quite necessary. You can avoid using it, but it will make it so much easier to look inside your elements and explore Revit API if you have it.
@@ErikFrits thanks, I was about to skip that step completely!
hi... thank you for your videos, they are very helpfull... ^^... btw is it possible to install revit lookup without admin permission?
and is it worth it learning C# when it comes to making revit tools? I notice that there are similarities between python and C#... thanks ^^
thank you ^^
Glad you liked them!
I know it's possible to place .dll file of a plugin to the right folder and normally it should appear, but it depends if placing a file in that folder is right protected or not.
There are indeed a lot of similarities between them, mainly due to the fact we have to call a lot of Revit API classes and methods, and they won't change across languages.
It depends. Python is much easier to learn and much faster in development. On the other hand C# can run scripts faster but you have to compile your code, which has pros and cons. main pro - you can protect your source code, con - you have to restart Revit to apply changes.
pyRevit extensions are open source, so you can see all the code in my EF-Tools for example. But you can share them privately across your office, without issues.
In my case I am biased towards python + I would open-source it anyway.
I would recommend starting with python, and later switching to C# if you have to. It is going to be much easier, because a lot of stuff can be transferred between these languages.
in the min 6 you said u can learn from extensions and how people wrote their script , how ?? i installed pyrevit and ef tools but couldn't find how ?
Hold ALT and click on any pyRevit tool (Incl. additional extensions)
This will open folder where python file is located and you can explore it.
Alternatively, you can look for GitHub repositories of these extensions and download/read it there.
@@ErikFrits thnx very much
can you make a video to setup visual studio community to debug the tools in revit with python plz?
Visual Studio doesn't support IronPython anymore.
I code with pyCharm and debug live in Revit by running my tools and seeing error messages. It's quick and easy
Can you use VSCode instead of full VStudio?
VStudio is great for creating UI with WPF.
VSCode is a good alternative to pyCharm, but I code with pyCharm in my Tutorials, so it might be easier for people to follow.
Hi Erick, I am studying Python3 instead of Python2. Is there a way to use Python 3 for Revit API? Or should I learn Python2?
IronPython 2.7.7 is used by default and py3 is not so different, so don't worry you will be fine.
Python3 make sense in Revit if you want to use packages like numpy for your add-in. Otherwise you can stick with ipy 2.7.7.
@@ErikFrits Thank you so much!🙏
Can't find Revit Pyton Shell installer for 2023..
I think the latest installer will be fine for RPS 2023.
Try that one
Thank You.
You're welcome!
tnx Erik. i wan to know how to import revit api to pycharm. there is no api folder in my pycharm env.
If i understood correctly - You would need to download Revit API stubs.
Check out the updated video on how to setup Dev Environment for Revit API on my channel ;)
It's more up to date and provides a link to download.
Very interesting, would you be make videos about GUI implementation? 🙏
I think so, but not any time soon. I know how to make a GUI that works, but I would need to learn how to do it properly before I start teaching it.
I want to make a flexible form that can be reused with python, but I have some gaps with WPF at the moment, and no time to explore.
Can you tell me if RevitLookup is still available for Revit 2020? I did not find
Yes it's available.
You can install the latest version, and it should work just fine for many Revit versions. They have updated it since, so they removed older verisons of Revit Lookup
Have a look here:
github.com/jeremytammik/RevitLookup/releases
If you scroll down to Assets, you will see installation files for different Revit Version. Maybe that will help ;)
Hi Erik, Excellent Video, excellent channel, I would like to know how to configure pycharm for revit api autocomplete, it would be great if you make a video for this, Thanks.👏👏👏
Hi, Thanks !
It is coming up next.
I think it's an essential thing for beginners. I remember when I was coding without it for months in the beginning😅
Hello @erik I have Revit 2023, and I could not install RevitLookup and pyCharm, I could no see it on add-ins what should I do.
1. I had no issues with RevitLookup for RVT23. Have you downloaded the latests release from github repo?
2. Why could not you install pyCharm ? Did you get an error or it failed installation?
@@ErikFrits hello Erick, thanks for your answer. I installedpyCharm, but there is an error appeared when I downloaded python 2.7 but when I downloaded phyton 3.12 the problem disappeared. I follow the instruction about add-in Revit API but it does not work, can you help me with that. thanks
I had similar issue with python 2.7.0 but 2.7.18 worked well. I heard someone else having the same experience.
What do you mean by "add-in Revit API"?
If you get error messages, it's good to send them, otherwise I can't just guess the problem.
@@ErikFrits I tried to Setup Revit API with pycharm as you explain in your video no3, but it looks different from what I am trying to do. I sent you an email with pictures. thanks
I replied to your email, I hope you find it useful.
Happy Coding!
111 th Like and i am a fan of your videos
Thanks, I appreciate that!