Mariyan Developer
Mariyan Developer
  • 57
  • 295 032
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
Переглядів: 587

Відео

Designing a Geometry Elements Domain from Revit for C# Testing
Переглядів 7988 місяців тому
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,4 тис.8 місяців тому
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
Переглядів 9148 місяців тому
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,6 тис.9 місяців тому
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,3 тис.Рік тому
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,5 тис.Рік тому
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,6 тис.Рік тому
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,5 тис.Рік тому
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,6 тис.Рік тому
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,5 тис.Рік тому
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
Переглядів 6 тис.Рік тому
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,6 тис.Рік тому
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
Переглядів 9952 роки тому
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,4 тис.2 роки тому
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,2 тис.2 роки тому
Learn How To Use Revit API In This Course!
Revit add-in and everything you need to know about it
Переглядів 1,8 тис.2 роки тому
Revit add-in and everything you need to know about it
Revit API Course - Lesson 9 | Get geometry from Revit elements
Переглядів 7 тис.2 роки тому
Revit API Course - Lesson 9 | Get geometry from Revit elements
Revit API Course - Lesson 8 | Advanced Vectors
Переглядів 4,1 тис.2 роки тому
Revit API Course - Lesson 8 | Advanced Vectors
8 Steps to Master Geometry in Revit API
Переглядів 6 тис.2 роки тому
8 Steps to Master Geometry in Revit API
Revit API Course - Lesson 7 - Vector and everything you need to know about it
Переглядів 7 тис.2 роки тому
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
Переглядів 8 тис.2 роки тому
Revit API Course for beginners | Lesson 6 | GET ELEMENTS FROM LINKED AND CURRENT DOCUMENTS
Revit API Course for beginners | Lesson 5 | Master ISelectionFilter
Переглядів 7 тис.2 роки тому
Revit API Course for beginners | Lesson 5 | Master ISelectionFilter
Master Vectors in Dynamo | Measure the distance between points along a given vector
Переглядів 1,9 тис.2 роки тому
Master Vectors in Dynamo | Measure the distance between points along a given vector
Master Vectors in Dynamo | Dot product | Part 2
Переглядів 1,3 тис.2 роки тому
Master Vectors in Dynamo | Dot product | Part 2
Master Vectors in Dynamo | Essentials | Part 1
Переглядів 4,8 тис.2 роки тому
Master Vectors in Dynamo | Essentials | Part 1
C# LINQ and everything you need to know about it | Delegates, Extension Methods, Lambda
Переглядів 1,9 тис.2 роки тому
C# LINQ and everything you need to know about it | Delegates, Extension Methods, Lambda
Revit API Course for beginners | Lesson 4 | Working with parameters
Переглядів 8 тис.2 роки тому
Revit API Course for beginners | Lesson 4 | Working with parameters
Revit API Course for beginners | Lesson 3 | Element Selection
Переглядів 15 тис.2 роки тому
Revit API Course for beginners | Lesson 3 | Element Selection
Revit API Course for beginners | Lesson 2 | Understand Revit API Documentation and OOP
Переглядів 14 тис.2 роки тому
Revit API Course for beginners | Lesson 2 | Understand Revit API Documentation and OOP

КОМЕНТАРІ

  • @just_a_statistic
    @just_a_statistic 2 дні тому

    Telegram link ?

  • @werghemimehdi3852
    @werghemimehdi3852 20 днів тому

    nice work and presentation, if you don't mind I can have the script.

  • @kmutech718
    @kmutech718 21 день тому

    built file i mean dll file is missing in associate folder how to find path

  • @rocketman1058
    @rocketman1058 Місяць тому

    a very good lesson

  • @МаксимАлексеев-л5в

    Смотрю видео и понимаю что вы тоже смотрели канал Simple Code =)

  • @kmutech718
    @kmutech718 Місяць тому

    Hi Mariyan, its great i a learning lots form your videos but i want to learn one thing i.e. how an extensive method create i collection of multiple category method so while selecting you can select multiple category such as at a time i can select walls and floors but not to disturbed i selection class only to be update in main class it should be extensive method pls create video and upload pls

  • @rezamr
    @rezamr 2 місяці тому

    Amazing! Thank you 👍

  • @TireSpare
    @TireSpare 2 місяці тому

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

  • @atharvapurohit3585
    @atharvapurohit3585 2 місяці тому

    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 2 місяці тому

    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 3 місяці тому

    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 3 місяці тому

    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 3 місяці тому

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

  • @Илья-ш3н3т
    @Илья-ш3н3т 3 місяці тому

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

  • @nodisturbX
    @nodisturbX 4 місяці тому

    Thats a great tutorial, thank you!

  • @maherworld1
    @maherworld1 4 місяці тому

    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 4 місяці тому

      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 4 місяці тому

    cant use uiapplication as var

  • @PANDURANG99
    @PANDURANG99 4 місяці тому

    need code files

  • @vaibhavgexc
    @vaibhavgexc 4 місяці тому

    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 4 місяці тому

      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 4 місяці тому

    Thanks so much, man.

  • @sciencena4340
    @sciencena4340 4 місяці тому

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

  • @AbdulQuadirJilani-co5ss
    @AbdulQuadirJilani-co5ss 4 місяці тому

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

  • @winngwe1519
    @winngwe1519 5 місяців тому

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

    • @mariyandeveloper8437
      @mariyandeveloper8437 5 місяців тому

      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 5 місяців тому

    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 5 місяців тому

    Can you share me the file? Thank you

  • @jskbim
    @jskbim 5 місяців тому

    Hi can you share the mind map ?

  • @home_engineers
    @home_engineers 5 місяців тому

    hello, can you share the file

  • @fahrularifin751
    @fahrularifin751 5 місяців тому

    Please show us, how to make a spiral rebar family

  • @fahrularifin751
    @fahrularifin751 5 місяців тому

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

  • @Zokaoolmolk
    @Zokaoolmolk 6 місяців тому

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

  • @Un-Arq
    @Un-Arq 6 місяців тому

    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 6 місяців тому

    me pareció muy instructivo tu video GRACIAS!

  • @klaatubarada6200
    @klaatubarada6200 6 місяців тому

    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 6 місяців тому

    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 7 місяців тому

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

  • @architect330
    @architect330 7 місяців тому

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

    • @nodisturbX
      @nodisturbX 4 місяці тому

      its a family right?

  • @VitaliyAlt
    @VitaliyAlt 7 місяців тому

    Please share your file with me. Thanks!

  • @digitallyaligned
    @digitallyaligned 7 місяців тому

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

  • @محمدالمرايات-د6ق
    @محمدالمرايات-د6ق 8 місяців тому

    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 8 місяців тому

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

  • @LesterMolinaCartuchoDesigns
    @LesterMolinaCartuchoDesigns 8 місяців тому

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

  • @nastyachaur7790
    @nastyachaur7790 8 місяців тому

    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 8 місяців тому

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

  • @Tomuki27
    @Tomuki27 8 місяців тому

    Well done, nice trick. Thanks for sharing!

  • @olgaryabinkova2180
    @olgaryabinkova2180 8 місяців тому

    Thank you for sharing this elegant solution!

  • @bimnodes
    @bimnodes 8 місяців тому

    Thank you for sharing us your knowledge with us 🫶

  • @deankic
    @deankic 8 місяців тому

    Good Video! Waiting for the next one👍

  • @abdelazizsaidoun
    @abdelazizsaidoun 8 місяців тому

    thnak you very much

  • @Никита-к8ф8в
    @Никита-к8ф8в 8 місяців тому

    great work, very appreciate it Mariyan

  • @jessedellemann2939
    @jessedellemann2939 8 місяців тому

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

  • @mariyandeveloper8437
    @mariyandeveloper8437 8 місяців тому

    My website with courses: mariyandeveloper.com/

  • @sandycooper9593
    @sandycooper9593 8 місяців тому

    promo sm

  • @rubenacue
    @rubenacue 8 місяців тому

    Waiting for the next videos!🙌🏽