Mariyan Developer
Mariyan Developer
  • 57
  • 279 845
Flatten GeometryElement with TDD: Writing your First Failing Test
LinkedIn : www.linkedin.com/in/mariyan-slesar-a29a90249/
Website: mariyandeveloper.com/
Join me in today's episode of "Mastering Reusable Solutions” as I focus on implementing a Flatten function for the GeometryElement object. Watch as we write our very first failing test, setting the stage with our expected result and observing the test fail. This introductory session is perfect for developers looking to understand the fundamentals of TDD and how it applies to operations in Revit.
Timecodes:
0:00 Intro
2:34 - Understanding why we need Flatten functionality
12:30 - Exploring GeometryElement Tree Structure
15:30 - Writing a list of tests
18:15 - Writing an expected result
22:50 - Writing a failing implementation of Flatten method
24:00 - Understanding Extension methods
25:30 - Run your first failing test
Don't forget to like, subscribe, and share your thoughts in the comments below.
#BIM#RevitPluginDevelopment#CodeReuse
มุมมอง: 526

วีดีโอ

Designing a Geometry Elements Domain from Revit for C# Testing
มุมมอง 7486 หลายเดือนก่อน
LinkedIn : www.linkedin.com/in/mariyan-slesar-a29a90249/ Website: mariyandeveloper.com/ Join us in today's episode of "Mastering Reusable Solutions" as we delve into creating our own domain of classes inspired by Revit's geometry, including Solids, Curves, and GeometryElement. We'll also introduce you to the concept of records in C# and demonstrate how to set up data for testing effectively. Ti...
Advanced C# for Revit Developers: Data Structures & IEnumerable Explained
มุมมอง 1.3K6 หลายเดือนก่อน
Today, we will continue our exploration of creating reusable code for Revit API, diving into the intricacies of Data Structures and the IEnumerable interface in C#. In This Video, You Will Learn: - Iterator Pattern in C#: Uncover the fundamentals of the iterator pattern and its implementation in C#, setting the stage for advanced data handling in your applications. - The Power of IEnumerable: D...
Mastering Reusable Solutions for Revit Plugin Development | Intro
มุมมอง 8516 หลายเดือนก่อน
Welcome to my comprehensive course designed for developers seeking to master the art of writing clean, efficient, and reusable code for Revit plugins. Dive deep into the world of Revit API with us, as we guide you through the process of transforming your coding practices to achieve higher efficiency and scalability in your projects. *Why This Course?* In the vast sea of internet resources, find...
Revit API: Master the Basics!
มุมมอง 3.1K7 หลายเดือนก่อน
Revit API Course with Exercises and a chat with me and other participants: mariyandeveloper.com/courses/revit-api-mastery/ For more questions, please contact me at: marianslesar.08@gmail.com Live-format course where you can learn Revit API from me in a live format: Discord Server link: discord.com/invite/G8X9q7FZ Are you intrigued by the power of Revit to build custom applications and automate ...
Advanced Parameters Course in Revit API | Create Extension Methods
มุมมอง 1.2Kปีที่แล้ว
In this insightful video, we guide you through the art of utilizing extension methods to enhance your workflow and empower you to work with parameters more efficiently in the Revit environment. Welcome to Advanced Parameters Course in Revit API. Here we will cover everything you need about interaction with Parameters via Revit API. Topics: -Parameters in depth -Shared parameter file -Adding gro...
Advanced Parameters Course in Revit API | Add Shared Parameters
มุมมอง 2.4Kปีที่แล้ว
In this tutorial, you'll learn how to use Revit API to add Shared Parameters to your Revit Document. Shared Parameters are a powerful tool in Revit that allows you to add custom data to your elements and easily share this data across your project files. With the Revit API, you can automate the process of adding Shared Parameters, saving you time and ensuring consistency across your projects. In...
Advanced Parameters Course in Revit API | Read Project Parameters
มุมมอง 1.5Kปีที่แล้ว
Learn the ins and outs of Revit API in this informative video! Discover the power of the Revit API and how it can help you to read parameters from your Revit models with ease. We'll be diving into the concepts of an internal definition, and how to access them to extract meaningful information. Join us as we explore the world of Revit API and take your skills to the next level! I hope you enjoy ...
Advanced Parameters Course in Revit API | Classes for Parameters
มุมมอง 1.4Kปีที่แล้ว
In this video, you will learn everything you need to know about working with parameters in the Revit API. We will cover topics such as the limitations of parameters, how to add and work with shared parameter files, and various classes such as BindingMap, TypeBinding, InstanceBinding, Internal/External Definition, and CategorySet. By the end of the video, you will have a full understanding of ho...
Advanced Parameters Course in Revit API | Understand Parameters
มุมมอง 1.5Kปีที่แล้ว
In this video, you will learn everything you need to know about Parameters in Revit API. Welcome to Advanced Parameters Course in Revit API. Here we will cover everything you need to know about interaction with Parameters via Revit API. Topics: -Parameters in depth -Shared parameter file -Adding groups and parameters to shared parameter file -Adding Parameters to a document -All classes regardi...
Advanced Parameters Course in Revit API | Intro
มุมมอง 2.2Kปีที่แล้ว
Welcome to Advanced Parameters Course in Revit API. Here we will cover everything you need to know about interaction with Parameters via Revit API. Topics: -Parameters in depth -Shared parameter file -Adding groups and parameters to shared parameter file -Adding Parameters to a document -All classes regarding Revit Parameters -Limitations of parameters -Storage of shared parameters in a Documen...
Revit API Course - Lesson 10 | Master Transform
มุมมอง 5Kปีที่แล้ว
In this video, you will master the transform class. You will learn what is a transform, and how to move, rotate, and visualize it. I will show you what objects have transform object, so you can read information about it. Timecodes: 0:00 - Intro 0:13 - Complete Revit API Course 1:19 - What is a Transform 5:17 - How to visualize a transform 14:12 - How to get a transform object of a family instan...
Install these programs to start your Revit API Journey
มุมมอง 1.5Kปีที่แล้ว
What programs to install to begin your Revit API Journey. In this video, I will show you each step to get the most out of Revit API. 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. Timecodes: 0:00 - Intro 0:56 - The list of programs for Revit API 2:02 - How to install Visual Studio 2:46 - How...
The Ultimate Guide to Polymorphism
มุมมอง 952ปีที่แล้ว
In this video, you will master polymorphism. I will walk you through the real examples, and how they can help in writing code better. Timecodes: 0:00 - Intro 0:45 - What is a Polymorphism? 1:15 - What is the difference b/w Statically and Dynamically typed languages? 4:25 - Polymorphism is the most important concept in OOP 5:45 - Add-hoc polymorphism 7:34 - Parametric polymorphism 8:37 - Code wi...
The Only OOP Video You Need to Watch
มุมมอง 1.3Kปีที่แล้ว
Email : marianslesar.08@gmail.com In this video, you will understand object-oriented programming using a real example. You will learn how to model the real world with OOP. We will go through a 3D program called Revit and check out how it works with the help of OOP. 0:00 - Intro 0:20 - Revit API Course announcement 0:48 Object-oriented programming and everything you need to know about it 10:30 -...
Learn How To Use Revit API In This Course!
มุมมอง 2.2Kปีที่แล้ว
Learn How To Use Revit API In This Course!
Revit add-in and everything you need to know about it
มุมมอง 1.7Kปีที่แล้ว
Revit add-in and everything you need to know about it
Revit API Course - Lesson 9 | Get geometry from Revit elements
มุมมอง 6Kปีที่แล้ว
Revit API Course - Lesson 9 | Get geometry from Revit elements
Revit API Course - Lesson 8 | Advanced Vectors
มุมมอง 3.8K2 ปีที่แล้ว
Revit API Course - Lesson 8 | Advanced Vectors
8 Steps to Master Geometry in Revit API
มุมมอง 6K2 ปีที่แล้ว
8 Steps to Master Geometry in Revit API
Revit API Course - Lesson 7 - Vector and everything you need to know about it
มุมมอง 6K2 ปีที่แล้ว
Revit API Course - Lesson 7 - Vector and everything you need to know about it
Revit API Course for beginners | Lesson 6 | GET ELEMENTS FROM LINKED AND CURRENT DOCUMENTS
มุมมอง 7K2 ปีที่แล้ว
Revit API Course for beginners | Lesson 6 | GET ELEMENTS FROM LINKED AND CURRENT DOCUMENTS
Revit API Course for beginners | Lesson 5 | Master ISelectionFilter
มุมมอง 6K2 ปีที่แล้ว
Revit API Course for beginners | Lesson 5 | Master ISelectionFilter
Master Vectors in Dynamo | Measure the distance between points along a given vector
มุมมอง 1.8K2 ปีที่แล้ว
Master Vectors in Dynamo | Measure the distance between points along a given vector
Master Vectors in Dynamo | Dot product | Part 2
มุมมอง 1.3K2 ปีที่แล้ว
Master Vectors in Dynamo | Dot product | Part 2
Master Vectors in Dynamo | Essentials | Part 1
มุมมอง 4.4K2 ปีที่แล้ว
Master Vectors in Dynamo | Essentials | Part 1
C# LINQ and everything you need to know about it | Delegates, Extension Methods, Lambda
มุมมอง 1.8K2 ปีที่แล้ว
C# LINQ and everything you need to know about it | Delegates, Extension Methods, Lambda
Revit API Course for beginners | Lesson 4 | Working with parameters
มุมมอง 8K2 ปีที่แล้ว
Revit API Course for beginners | Lesson 4 | Working with parameters
Revit API Course for beginners | Lesson 3 | Element Selection
มุมมอง 14K2 ปีที่แล้ว
Revit API Course for beginners | Lesson 3 | Element Selection
Revit API Course for beginners | Lesson 2 | Understand Revit API Documentation and OOP
มุมมอง 14K2 ปีที่แล้ว
Revit API Course for beginners | Lesson 2 | Understand Revit API Documentation and OOP

ความคิดเห็น

  • @rezamr
    @rezamr 13 วันที่ผ่านมา

    Amazing! Thank you 👍

  • @TireSpare
    @TireSpare 14 วันที่ผ่านมา

    great video........ but they are roughly helping you create the facades of aqua tower.......... not exact voids made though

  • @atharvapurohit3585
    @atharvapurohit3585 16 วันที่ผ่านมา

    Hi Mariyan, thank you for your efforts! I'm not able to use PickElements I mean the uidoc is not having PickElement method for me, what you think is going wrong at my end?

  • @lab-revit2135
    @lab-revit2135 20 วันที่ผ่านมา

    Hey, I'm really glad I found your channel and I really like your content, congrats! I've learned a lot from your videos, specially the API Course. I'd like to know if you talk about changing visibility/graphics in links somewhere or a related content. For instance, I need to turn off the grids of all links I have and this is such a boring task to do manually (talking about 15 links or more). Thanks!

  • @yousufleads
    @yousufleads หลายเดือนก่อน

    Macro Manager says in Revit it's tested and compiled without issues yet the app can't run, what could be the cause that it's grey?

  • @joshickkirrin8083
    @joshickkirrin8083 หลายเดือนก่อน

    The polycurve offset node cant be found in Revit 2023, the current offset node in dynamo requires a vector (?) and the script doesn’t work.

    • @himanshu2666
      @himanshu2666 หลายเดือนก่อน

      dont give any vector. node is called polycurve offset too many

  • @user-jf1mq3fr9d
    @user-jf1mq3fr9d 2 หลายเดือนก่อน

    Почему на русском или украинском не делаешь видео ?

  • @nodisturbX
    @nodisturbX 2 หลายเดือนก่อน

    Thats a great tutorial, thank you!

  • @maherworld1
    @maherworld1 2 หลายเดือนก่อน

    if i want to get the distance along the x axis or y axis, couldnt i just subtract x coordinates from both points ? and then get the absolute value to remove the negatives ? isnt that easier or that is not reliable solution ?

    • @mariyandeveloper8437
      @mariyandeveloper8437 2 หลายเดือนก่อน

      Yes, you could, but it will only work for basis vectors. However, in practice, most of the time, we need to measure things along vectors that don't match any of the basis vectors.

  • @PANDURANG99
    @PANDURANG99 2 หลายเดือนก่อน

    cant use uiapplication as var

  • @PANDURANG99
    @PANDURANG99 2 หลายเดือนก่อน

    need code files

  • @vaibhavgexc
    @vaibhavgexc 2 หลายเดือนก่อน

    You should be criminally prosecuted for keeping the font so low..... I'm re watching this video 3rd time now, my eyes are hearting and haven't understand a single word

    • @mariyandeveloper8437
      @mariyandeveloper8437 2 หลายเดือนก่อน

      Thank you for your feedback. I'm sorry to hear that you had trouble with the font size in this video. I'll make sure to increase the font size in future videos to improve readability.

  • @andremartins4770
    @andremartins4770 2 หลายเดือนก่อน

    Thanks so much, man.

  • @sciencena4340
    @sciencena4340 3 หลายเดือนก่อน

    thanks for lesson. where can i find video "how to use recursive functions to easily get all geometries"

  • @AbdulQuadirJilani-co5ss
    @AbdulQuadirJilani-co5ss 3 หลายเดือนก่อน

    I wanted to join fresh classes for revit api, i have 4years of experience in bim modelling.

  • @winngwe1519
    @winngwe1519 3 หลายเดือนก่อน

    Thank u so much Sir. Can try this course on macOS?

    • @mariyandeveloper8437
      @mariyandeveloper8437 3 หลายเดือนก่อน

      You're welcome! You can try, but the limitations are dictated by Revit. Using Revit on macOS might not be easy due to compatibility issues.

  • @AlAshcroft
    @AlAshcroft 3 หลายเดือนก่อน

    Hi, Thanks for the videos. I'm looking at doing some automation for our revit team, who draw a concrete foundation, and then I want to add concrete footings to the floor, from a family they have created. I was thinking of once the user selects a floor, getting the geometry of the floor so I can determine the co-ordinates of the corners, then somehow adding the footing into the floor (as they do from the front end). Does this approach seem feasible? Sorry, am a complete newbie at revit, but seasoned developer. Another question, does Revit come with the Snoop Objects window, or is that something extra you use? Cheers!

  • @Franz__2018
    @Franz__2018 3 หลายเดือนก่อน

    Can you share me the file? Thank you

  • @jskbim
    @jskbim 3 หลายเดือนก่อน

    Hi can you share the mind map ?

  • @home_engineers
    @home_engineers 4 หลายเดือนก่อน

    hello, can you share the file

  • @fahrularifin751
    @fahrularifin751 4 หลายเดือนก่อน

    Please show us, how to make a spiral rebar family

  • @fahrularifin751
    @fahrularifin751 4 หลายเดือนก่อน

    How can we make our costumize spiral rebar family?? i can't found it on rebar shape template to make it.

  • @Zokaoolmolk
    @Zokaoolmolk 4 หลายเดือนก่อน

    Hi! Its amazing. Could you please send the file to me? Thank you.

  • @Un-Arq
    @Un-Arq 4 หลายเดือนก่อน

    Good afternoon, what would the process be like when working with the 3 axes (x,y,z) to make the vector.dot, if you could make a video it would be great, thank you for the contribution.

  • @Un-Arq
    @Un-Arq 4 หลายเดือนก่อน

    me pareció muy instructivo tu video GRACIAS!

  • @klaatubarada6200
    @klaatubarada6200 4 หลายเดือนก่อน

    I am facing an error whenever I try to debug: "A fatal error has occurred and debugging needs to be terminated. The debugger was configured to use the Desktop CLR (.NET Framework) Managed debugger, but the target process loaded the CoreCLR (.NET Core) runtime. To debug this project, configure it to use the 'Managed (CoreCLR)' debugger." Does anybody know how to fix it, please?

  • @mutludogan5408
    @mutludogan5408 4 หลายเดือนก่อน

    Thank you so much for your nice video. It's been very clear for me with what to move on in the future.

  • @RanveerSingh-sv9co
    @RanveerSingh-sv9co 5 หลายเดือนก่อน

    hello, is it possible to make multiple views with the same name?

  • @architect330
    @architect330 5 หลายเดือนก่อน

    I don't have metric mass.rte file where i can find it.. my version is revit 2021

    • @nodisturbX
      @nodisturbX 2 หลายเดือนก่อน

      its a family right?

  • @VitaliyAlt
    @VitaliyAlt 5 หลายเดือนก่อน

    Please share your file with me. Thanks!

  • @digitallyaligned
    @digitallyaligned 5 หลายเดือนก่อน

    what do you think of learning revit API only using python ?

  • @user-gw5gf2nk1o
    @user-gw5gf2nk1o 6 หลายเดือนก่อน

    You are great man thank you no body will believe such a great content is free. Please can you talk about the results after gaining this knowledge from the career point of view where can we work? What doors it can open for us and any advices in this topic... Big thank you

    • @mariyandeveloper8437
      @mariyandeveloper8437 6 หลายเดือนก่อน

      I am really glad you find the content helpful! Yeah, for sure, I will create a video regarding this topic =)

  • @LesterMolinaCartuchoDesigns
    @LesterMolinaCartuchoDesigns 6 หลายเดือนก่อน

    This was awesome! Thanks a lot. You sir are very knowledgeable and clear when explaining complex issues. Appreciate it.

    • @mariyandeveloper8437
      @mariyandeveloper8437 6 หลายเดือนก่อน

      It's my pleasure! Really glad you find it helpful!

  • @nastyachaur7790
    @nastyachaur7790 6 หลายเดือนก่อน

    Hi, Mariyan! Thank you for a great tutorial! I faced one issue while following your tutorial. My family instance has nested families. However, they don't appear in GetSubComponentIds() list. Do you have any hint why is it so?

    • @nastyachaur7790
      @nastyachaur7790 6 หลายเดือนก่อน

      Already found the answer😅it’s because a nested family was not shared

  • @Tomuki27
    @Tomuki27 6 หลายเดือนก่อน

    Well done, nice trick. Thanks for sharing!

  • @olgaryabinkova2180
    @olgaryabinkova2180 6 หลายเดือนก่อน

    Thank you for sharing this elegant solution!

  • @bimnodes
    @bimnodes 6 หลายเดือนก่อน

    Thank you for sharing us your knowledge with us 🫶

  • @deankic
    @deankic 6 หลายเดือนก่อน

    Good Video! Waiting for the next one👍

  • @user-ms2ln2uc4r
    @user-ms2ln2uc4r 6 หลายเดือนก่อน

    thnak you very much

  • @Никита-к8ф8в
    @Никита-к8ф8в 6 หลายเดือนก่อน

    great work, very appreciate it Mariyan

  • @jessedellemann2939
    @jessedellemann2939 6 หลายเดือนก่อน

    Thanks, i'm, looking forward to the next vids ;)

    • @mariyandeveloper8437
      @mariyandeveloper8437 6 หลายเดือนก่อน

      My pleasure =) The next video is already published =)

  • @mariyandeveloper8437
    @mariyandeveloper8437 6 หลายเดือนก่อน

    My website with courses: mariyandeveloper.com/

  • @sandycooper9593
    @sandycooper9593 6 หลายเดือนก่อน

    promo sm

  • @rubenacue
    @rubenacue 6 หลายเดือนก่อน

    Waiting for the next videos!🙌🏽

  • @mariyandeveloper8437
    @mariyandeveloper8437 6 หลายเดือนก่อน

    My website: mariyandeveloper.com/

  • @yafimski
    @yafimski 7 หลายเดือนก่อน

    Not related to the content, but, what digital pen and surface are you using? :)

  • @leoleosen3261
    @leoleosen3261 7 หลายเดือนก่อน

    I loved ur content, I normally used adaptive components with dynamo to do the same, but this one I think is better, could we do the same with spacing instead of number of amount beams? For purlings and corrugated steel deck or roof it would be more suitable.

  • @Vusal_Abbasov_3D
    @Vusal_Abbasov_3D 7 หลายเดือนก่อน

    Thanks a lot. It works

  • @JMCiller
    @JMCiller 7 หลายเดือนก่อน

    Looking forward to watching those upcoming video about Revit plugins with C# and Revit API!

  • @MohamedSabith-wl1ii
    @MohamedSabith-wl1ii 7 หลายเดือนก่อน

    I understand that you have discussed this in the video. But I'll ask anyways - Can I Learn Revit API with C# directly, without learning Python first ?