Revit API Course for beginners | Lesson 6 | GET ELEMENTS FROM LINKED AND CURRENT DOCUMENTS
Learn about interfaces, delegates, extension methods, and SOLID with Revit API. In this video, I will show you how to create your method for UIDocument class. We will go through refactoring, adding comments, creating interfaces, polymorphism, creating factory classes, learning about SOLID principles, and more! Stay tuned! Timecodes 0:00 - Intro 0:48 - What we need to refactor 1:23 - Extension Methods for Revit classes 6:53 - The problem with conditions (if/switch) 10:28 - Replace Type Code with State/Strategy Pattern. (Open-closed principle) 11:05 - Create your first interface 13:00 - Get elements from the current document implementation 15:55 - Dependency Inversion Principle 17:08 - Create your first Factory class 22:34 - Get elements from linked document implementation 29:37 - LINQ for Revit users 30:26 - Get elements from both documents implementation 33:53 - Polymorphism in action! 36:57 - Create more Factories! 38:54 - Select elements from Revit! 39:56 - Interfaces in depth! 41:35 - Go through the whole code! 47:20 - Document your code! 52:00 - Thank you for watching! I hope you enjoy the session and learn something new! Feel free to comment with any feedback/questions below, or follow my channel if you enjoyed this. If you want to get online classes text me on instagram. Follow me on social media: / marianslesar #BIM#Revit#Dynamo

Revit API Course - Lesson 7 - Vector and everything you need to know about it

Revit API Course for beginners | Lesson 4 | Working with parameters

Revit API Course for beginners | Lesson 5 | Master ISelectionFilter

Complete GitHub Actions Course - From BEGINNER to PRO

Advanced C# for Revit Developers: Data Structures & IEnumerable Explained

Dynamo Basics Training - Lesson 1

Gemini CLI Essentials – Full Course
![Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]](https://i.ytimg.com/vi/X48VuDVv0do/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDNg7nINwKqigXGqrL80FN9YuTNGg)
Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]

Revit API Course for beginners | Lesson 3 | Element Selection

🔥 GOD UNLEASHES the Truth | Psalms 23, 35, 91 and 112 To Break Curses and Activate Abundance

AI Course for Developers – Build AI-Powered Apps with React

Power BI DAX Tutorial for Beginners (2025): Master DAX in ONE Course!

MIT Just Revealed the AI Bubble's Fatal Flaw

„Man wird ganze Regionen abschalten müssen“ – Prof. Fritz Vahrenholt im Interview

Master Vectors in Dynamo | Essentials | Part 1

Revit API Course - Lesson 8 | Advanced Vectors

Revit API Course - Lesson 10 | Master Transform

Power BI FULL COURSE for Beginners | Learn Dashboards & Reports Fast!

How to Lose a Global AI Monopoly in One Afternoon

