How I’d Learn Revit API in 2024 (If I Could Start Over)

  Рет қаралды 11,673

Erik Frits

Erik Frits

Күн бұрын

Пікірлер: 32
@ФилиппХомяков-б2ъ
@ФилиппХомяков-б2ъ 2 ай бұрын
I started learning the basics of programming this year. I have already written 5-6 relatively small scripts of up to 500 lines, one large script with 1500 lines and another with approximately 700 lines. But this was in the Dynamo environment. And yes, I am still learning; I believe there are many gaps in my knowledge, and of course, there are things I still plan to study. Just recently, thanks to your incredible work and the opportunities provided by PyRevit, I finally transitioned to developing in a proper IDE and creating my own panel based on your toolkit. So by the end of this year, I will have my own extension made up of multiple scripts.
@ErikFrits
@ErikFrits Ай бұрын
These are awesome news and these are not so small scritps! Definetely mid to large in size, great job! Keep creating awesome tools for Revit, and don't forget to share with the world at least how they work (GIF/Video). LinkedIn community loves seeing results. Happy Coding!
@RevitGord
@RevitGord 11 ай бұрын
Meeting you as a pycharm user was a game changer for me. Thanks once again
@ErikFrits
@ErikFrits 11 ай бұрын
pyCharm is great, but I noticed that it gives lots of headaches to people while configuring it. I'm starting to experiment with VS Code from time to time ;)
@yousufleads
@yousufleads 4 ай бұрын
Would you use Macros instead of external tools? Code is easy to create
@ErikFrits
@ErikFrits 4 ай бұрын
I find pyRevit the best for prototyping and even creating office toolbars. And most importantly - quick
@sonij5155
@sonij5155 11 ай бұрын
Great man! Great attitude! Big Fan❤
@yeldaq
@yeldaq 6 ай бұрын
you are amazing! so plain, directly to the subject without any show off, you teach like a father rather than a teacher hahaha and i love that
@ErikFrits
@ErikFrits 6 ай бұрын
Thanks ! I need to add dad jokes 😂
@Tomekaek
@Tomekaek 11 ай бұрын
Also need films that focus on the journey of learning! Great video, not to much slices ;)
@ErikFrits
@ErikFrits 11 ай бұрын
Thanks Tomekaek 😉
@parimalvala8742
@parimalvala8742 6 ай бұрын
Hi Eric, Great Stuff. Is there any student discount you provide for your course ? Thanks. :)
@ErikFrits
@ErikFrits 6 ай бұрын
Hi, yes I provide students discounts too. Write me to support@LearnRevitAPI.com , and we can talk about
@Khurram864
@Khurram864 6 ай бұрын
CS50P is really good( but i thing one from MIT is also good, have not attended yet)...You have only mentioned Python...and don't you think C# or C++ are sometime more advantageous over python for complex and large Addons etc?I am also learning to CODE , not an expert but is mentioned by many experts.
@ErikFrits
@ErikFrits 6 ай бұрын
I tried MIT when I started with python many years ago. It was good but it's a much longer course and it also covers more ground about computer science in general. C# and C++ definitely have a bunch of advantages over python: Execution speed, protected source code, better handling of .NET features.... But python is by far easier and quicker to begin with and it's also possible to push it really far to create advanced tools. My goal is to help AEC expert to begin coding, and python is much better choice since it takes less time to begin with. And people can always switch to other languages much easier. And Revit API logic will pretty much stay the same. C# and C++ requires you to dive much deeper before you can start make your first Add-Ins so therefore I focus primarily on python for beginners. The good thing about programming - is that all the languages are similar. The computation logic stays the same, we just need to express it with different words and additional symbols (syntax)
@giancarloarciniegas136
@giancarloarciniegas136 11 ай бұрын
why learn python and not C#? If I don't want my code to be open source, I have to program in C#? thanks for the video.
@ErikFrits
@ErikFrits 11 ай бұрын
Python is much easier to pick up and quicker to start using in comparison to C#. Most of us working in AEC don't have much time, so python makes a great choice to start quick and dirty and improve along the way. The great thing about programming is that next language is always much quicker to learn, because the main programming concepts are nearly all the same. You just learn different syntax and then you get used to it. But yeah, if your end goal is to make compiled plugins, C# might be the way to go.
@leoleosen3261
@leoleosen3261 11 ай бұрын
Very good point, Python is useful in dynamo script, but for Revit API C# or other. NET languages would be much better.
@ErikFrits
@ErikFrits 11 ай бұрын
​@@leoleosen3261 It Depends. Python is great for quick development and it has far more open-source examples at our hands directly in pyRevit and its additional extensions. And creating a new extension is just as easy as copying folder structure and renaming a few things. Also pyRevit has bunch of pre-written functions we can use for creating UI Forms and executing certain Revit API functionality. But again, it's also a personal preference. And luckily switching to C# from python will be quite easy, as computational logic stays nearly the same as Python
@AntonRaj-t1c
@AntonRaj-t1c 10 ай бұрын
Is Revit API Developer role is good for fresher to choose career in this?
@ErikFrits
@ErikFrits 10 ай бұрын
It will certainly help you stand out from the competition. In the beginning when freshers come out of university, their portfolio and additional skills speak louder than the name of the institution. So showing potential employer additional skills will certainly help. Programming gives you a good leverage on your time, and bigger the office the more impact you will be able to have. You might spend a few days making a button that saves 10 minutes, but if that button will be used by many people on daily basis, the compounding return to the office will be huge, and therefore this skill is greatly appreciated when put into use. Also programming opens new opportunities in the field in general😉
@RevitGord
@RevitGord 11 ай бұрын
Good one
@andreheynes4646
@andreheynes4646 11 ай бұрын
Hi hope i can afford your course when it comes out. I follow you here on youtube though. I tried you that fancy creating a family by first using that fancy element filter script you wrote but cant get it to work. Could i contact you somehow to help me get it to work?
@ErikFrits
@ErikFrits 11 ай бұрын
Hi, Do you get any error messages, or what didn't work? I don't do 1on1 consulting at the moment.
@andreheynes4646
@andreheynes4646 11 ай бұрын
@@ErikFrits hi thanks for the reply man. My problem is around placing structural families especially beams. The error i get is Exception : System.MissingMemberException: 'type' object has no attribute 'ValueProvider'
@ErikFrits
@ErikFrits 11 ай бұрын
@@andreheynes4646 Check out the example 'Create Beam' that you will find on this page. learnrevitapi.com/python-snippets P.S. Use to find it, I haven't had time to organize this page better yet...
@andreheynes4646
@andreheynes4646 11 ай бұрын
@@ErikFrits thanks so much Erik this is going to be a great resource.
@andreheynes4646
@andreheynes4646 11 ай бұрын
Hi Eric. I think I found where the error was originating from the filter function for filtering by type name you created in your video on filtering. I dont know how to fix it but I'll give it a go. As for the code snippets you provided...it works fine for creating a beam.
@precastdetailing
@precastdetailing 3 ай бұрын
I am at the stage of 0. i know 0 revit, and zero about the API as well.
@ErikFrits
@ErikFrits 3 ай бұрын
You probably should start with Revit and understand the software before you dive into automating it. Otherwise you might be automating things that are natively possible inside of Revit, or not understand how Revit operates. Afterall, Revit is full of workarounds because there are so many missing features in it.
@neharawat6037
@neharawat6037 4 ай бұрын
I am at stagr 1
@ErikFrits
@ErikFrits 4 ай бұрын
We all start somewhere! Just start with the basics and learn the rest by doing it! Happy Coding!
Installing pyRevit for Autodesk Revit 2025: WIP Version
3:33
Erik Frits
Рет қаралды 1,5 М.
Learn By Building: Language Server Protocol
1:59:54
TJ DeVries
Рет қаралды 85 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 67 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 54 МЛН
Python for Beginners - Learn Coding with Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 19 МЛН
Tips for Getting Started with the Revit API + Python
15:19
Erik Frits
Рет қаралды 10 М.
Revit API Intro
1:15:50
Learn Dynamo From Zero
Рет қаралды 178
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
How To Use Developer Documentation
17:09
Codecademy
Рет қаралды 124 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 259 М.