Revit API Course for beginners | Lesson 6 | GET ELEMENTS FROM LINKED AND CURRENT DOCUMENTS

Mariyan Developer
Mariyan Developer
7.1 هزار بار بازدید - 2 سال پیش - Learn about interfaces, delegates, extension
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:
Instagram: marianslesar
#BIM#Revit#Dynamo
2 سال پیش در تاریخ 1401/05/30 منتشر شده است.
7,156 بـار بازدید شده
... بیشتر