Python Basics for Revit Users: The Ultimate Beginner's Course

preview_player
Показать описание
📙 Get Free E-Book: Beginner's Guide to Revit API:

🎯 Interested in Learning Revit API in the fastest way possible?

--------------------------------------------------
🔗 Links from Video:

--------------------------------------------------
📝 Video Summary:

Welcome to my Mini-Course that will take you on a journey of learning python programming language inside of Autodesk Revit. Python is an incredible language that can do just about anything, and learning it will make your life easier in ways you never thought possible. I will cover basics that you need to know:

You may think that this seems like a lot of information, but don't worry—I'll walk you through everything step-by-step and it will start making sense eventually if you put it to practice.

There are 3 ways to access python inside of Revit:
- python node inside of Dynamo
- pyRevit - The Best Option for making your python tools in Revit
- RevitPythonShell - Interactive shell. Ideal for debugging and learning Revit API
I will use RevitPythonShell so everybody can follow along without making your development environment.

--------------------------------------------------
🎬 Chapters:
00:00 Intro
01:00 How to use python in Revit?
02:05 Hello World script
02:45 Variables
04:20 Simple Data Types
05:20 Operators
06:35 Iterable Data Types
14:05 Type Conversion
15:45 Conditional Statements
19:35 Loops
23:45 Functions
28:25 Error Handling
30:05 Outro
30:50 Python Secret

--------------------------------------------------
⌨️ Happy Coding!

Tags: #LearnRevitAPI #RevitAPI #pyrevit
Рекомендации по теме
Комментарии
Автор

Very nice intro video. Concise and straight to the point.
I have some experience in python and experience in Revit+Dynamo, but never had the time to sit down to explore both togehter neither Revit API.
Thanks for putting this together

miguelbaztan
Автор

Great video Erik, so much ground covered in half an hour! Keep up the great work.

AussieBIMGuru
Автор

I just found you by exploring pyRevit's extensions and I'm very impressed - great content, great delivery, nicely edited videos

RevitExperiments
Автор

Very interesting, thanks Erik and I can't wait the course release

AliMaher-qbzq
Автор

Thank you so much Erik for this video. I’m a beginner too. Let me start from scratch and try to implement in Precast modeling process. Later I may bother you with lot’s of queries.
Please keep doing such videos. Sharing your knowledge in such platforms is not a simple thing. I always appreciate your efforts.
Thanks again. ❤️ from Dubai.

prasadshetty
Автор

Hi Erik!, Thank You very much for this amazing content,
Greetings from Mexico! 😃

zapateroz
Автор

This is a great intro to Python as it applies to Revit. I especially like the comparisons to Revit for programming concepts like variables etc. This is also nicely produced with little tooltips throughout for a little expansion on some concepts. I also love the inclusion of error handling, very important to know!
Can't wait for your Revit API and future videos!

harley
Автор

Muy útil su video, muy práctico. Gracias por compartir su conocimiento. Éxitos

arielamadorleon
Автор

Amazing content Erik! I was always scared to explore this side of Revit because i thought coding is not my thing. But after you explained it with such a simplicity, it has changed my mind! Thank you for that! 😁

Also a small request, if you can share the steps/ helpful contents you referred to while learning the coding from scratch it'll be a great help! Thank you again! Keep making such amazing videos! 💙

alexd
Автор

Erik first of all thank you very much for these great videos, they are very clear and full of knowledge.
I have tried to sign up to e-mail list but it gives me an error.

metalmonster
Автор

Looks like a really informative video, are you able to compare the effort it takes to recreate the same task but in ArchiCAD.?

OsKaRR
Автор

Wow! Seriously I have no idea about it before until now. Interested in learning. Can you share me the installation links pls.
Kudoos.

ahmedfadhil
Автор

Have you made the full revit api plus python course yet? How do I support you? Thanks!

willlywillly
Автор

Great Video, thanks a lot. I just have one question about RevitPythonShell, can we update the IronPython 2.7.7 to 3.7? Thanks in advance.

toannghiale
Автор

It would be very appreciated if you make the files for codes that you have typed.

rafaybukhari
Автор

Hello again; first, when will you release the Revit python course? I cannot wait for that. Secondly, how can I call the value located in the project properties? For example, I want to make a comparison between beams in my project using python, and I want to select the shortest beam. How can I do that using the values of the beams in the properties list?

husamaljawhar
Автор

first, i want to thank u for what tou are giving to the community <3, , thanks a lot,
then i want to ask you if i can run a dynamo python script in a pyrevit script ? it works with the same syntax, importation ....
i want also to ask about using pythonshell, we can directly start programming without importing revit.db ?

ghassenmhmh
Автор

Hi Erik, do you think about making a video about pithon + civil3D? Thank you

alessandrocasalicchio
Автор

Hi Erik! Do you know if there is a code for Revit that converts a 3d model into specific templates to create plans for small projects? I'd like to try to code something that includes the information needed to print construction documents quickly and accurately but although I've searched I don't know if something like this has already been created.

Lumarez
Автор

Hi Erik, how can I connect the Revit python shell with my extension which I made in Pycharm? For example, if I code by using RevitPythonShell to call all walls area in my building and I found this function is very important so I decided to add this function inside my extinction tools. How can I do that?

husamaljawhar