Closest grid intersection to Revit elements using Dynamo!

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 59

  • @denitsas_simulation
    @denitsas_simulation 3 года назад +2

    "Geometry could be heavy sometimes" - totally agree :) Thank you for this practical tutorial!

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад +1

      You're welcome! Thursday's video will use a platform more capable of handling geometry.

  • @leventeczutor8239
    @leventeczutor8239 Год назад +1

    Finally, it worked. Very useful video. I only needed it with certain elements that my Dynamo file automatically placed on the grid, so instead of select all elements, I only chose those family instances. I also need some reverse engineering now, because I want the closest vertical and the closest horizontal grid information separately.

    • @AussieBIMGuru
      @AussieBIMGuru  Год назад +1

      Glad to hear the video has helped and that your adjustments ended up working in the end also.

  • @BIMGenie
    @BIMGenie 3 года назад +1

    This is way better than my current workflow. To the point where, I don't really know what I was trying to pull of previously....but my grids all always perfect too...😁👍
    Cheers from 🇨🇦!

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад +1

      Glad to show you an alternative method! Thursday's method using Rhino Inside will be even more direct and fast.

  • @czh998
    @czh998 3 года назад +2

    Great video. Very inspiring & useful. For example, if I want naming all my pits (or light poles etc) according to the grids, this dynamo script can be very helpful. Thanks Gavin.

  • @christianboeg-skov1917
    @christianboeg-skov1917 7 месяцев назад +1

    Nice! Thanks once again for a great tutorial! Worked perefctly

  • @mihailsheinin5091
    @mihailsheinin5091 2 года назад +1

    Hi @Gavin. This tutorial real helped me :) Thank.

  • @bonavconsolidate
    @bonavconsolidate 10 месяцев назад +1

    NICE TUTORIAL VIDEO

  • @DanielCohen-th9rk
    @DanielCohen-th9rk Месяц назад

    A really nice video, I took one step at a time and my grids in the project are simple and similar to what you did in his film, but I end up with the same grid no matter which element I choose

    • @DanielCohen-th9rk
      @DanielCohen-th9rk Месяц назад

      Not bad, I really succeeded, thanks, amazing video, it was something with the Levels

    • @DanielCohen-th9rk
      @DanielCohen-th9rk Месяц назад

      I even managed to put it in the parameter. The question is how can I select several components and make a loop over them so that it will pick up the position and put the parameter in each component

    • @AussieBIMGuru
      @AussieBIMGuru  Месяц назад

      Yes definitely a levels/lacing issue for sure. Many on one outcomes tend to be due to this.
      To put the parameter in multiple components you will need to manage this data in parallel structure to the elements themselves. I thought this workflow achieved this last I checked, maybe I'm mistaken?

  • @miki-ve3wp
    @miki-ve3wp 3 года назад +1

    Thanks for the great video! I can't find the Element Centroid node, what package is it?

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад +1

      Crumple. I think Sparrow has one also.

  • @markthorpe1661
    @markthorpe1661 2 года назад +1

    great video, quick question is there a way to make it read like a proper grid reference instead of closest so it always reads across then down ?

    • @AussieBIMGuru
      @AussieBIMGuru  2 года назад

      If you want it to find the nearest grids in a given direction only (e.g. west/north most), you could solve this in quite a few ways, none super simple. The main one I can think of is to generate planes for the grids and then generate a large mesh and use a mesh ray intersection to test the first grid hit in a given direction such as up the Y axis, or back across the X axis.

  • @teodoraninovska5178
    @teodoraninovska5178 Год назад +1

    Hi Gavin, thank you so much for this great video! I am trying to recreate your script, but unfortunatlly my company doesn't have any extra packages for Dynamo avaliable. Is it possible to recreate the same Centeroid function without the extensions? I have to also say this is my first Dynamo script ever! :D

    • @AussieBIMGuru
      @AussieBIMGuru  Год назад

      Yes you can get the bounding box of an element, convert to cuboid and get the centroid of that solid instead to avoid needing a node for that. All those nodes come with dynamo.
      Welcome to the world of Dynamo!

    • @teodoraninovska5178
      @teodoraninovska5178 Год назад

      @@AussieBIMGuru Thank you so much! It works! :D I have one more small question, because my grid names are pretty long, where can I insert the Symbol "/" between the vertical and horisontal Axes?

    • @AussieBIMGuru
      @AussieBIMGuru  Год назад

      @@teodoraninovska5178 you could add this character to the In output at 7:09 before joining them with the Out output from the same boolean mask, then add that together like I did before afterwards.

    • @teodoraninovska5178
      @teodoraninovska5178 Год назад +1

      @@AussieBIMGuru thank you so much for your fast reply! It works perfectly and it saved me a looot of time :)

    • @AussieBIMGuru
      @AussieBIMGuru  Год назад

      @@teodoraninovska5178 glad to hear!

  • @jonathanmontgomery2934
    @jonathanmontgomery2934 3 года назад +1

    Gavin, this is excellent and super handy! A question I have is how would you go about filtering down the list of grids to only show the whole numbers/letters or primary grids? Often we specify our items based on the nearest primary grid intersection like B4 vs something like B.1 and 4 (B.14) . I have tried setting up Primary Grids and Secondary Grids and using boolmask (which separates them perfectly) but can't get them back to reading the grid name. Any suggestions would be awesome, thanks!

  • @DelaGrzeg
    @DelaGrzeg 3 года назад +1

    Great video! Really useful!
    I am experiencing some problems when connecting the centroid node with the simple code block formula (10:25). It gives me the following error: “internal error, please report: Dereferencing a non-pointer”. Does anyone know how can I solve that issue? Thanks!

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад

      Hrm not sure what could cause that error in such a simple code block. Maybe check that you have an ; after the first line? Otherwise use the Point.X and Point.Y nodes instead.

    • @DelaGrzeg
      @DelaGrzeg 3 года назад

      Thanks for your quick response :). Unfortunately It is still not working. I will try to reinstall crumple package, as it seems to be reason of the problem 🤞🏻

  • @moelprenselprens1425
    @moelprenselprens1425 3 года назад +1

    Great video as usual thanks
    I wondering if is possible to do dimension from element face to nearest grid

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад +1

      Yes the genius loci node has packages which can do this. You would need to check which refefences of an element are parallel and closest to the grids though, quite a big script to put together. I'll show how this package works next month by dimensioning column centres to grids.

    • @moelprenselprens1425
      @moelprenselprens1425 3 года назад +1

      Thanks for a quick reply i really appreciated and i really looking forward your next videos
      Thabks alot

  • @mohamedfaisal6654
    @mohamedfaisal6654 3 года назад +1

    As usual a great script, sir I have been following your videos lately for learning dynamo and they are great and I have been learning a lot from them, but my only request will be can you recreate them using this resolution of the screen and in a hierarchical order, so noobs like me can follow a sequence to learn them, or if you have any online resource please suggest them.
    Thank You

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад +3

      Thanks Mohamad! Unfortunately my recorder resolution is capped at 1920x1080 but some of my old videos were in widescreen which wasnt good.
      I will aim to repackage a lot of what I do here in courses instead to give them order and structure.
      courses.bimguru.education

  • @timmcguire9831
    @timmcguire9831 3 года назад +1

    Nice. Is this one you will upload to your github?
    This could be useful in Column Schedules or as part of Graphical Column schedules

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад

      It should be there, check under the dynamo script folder.

    • @timmcguire9831
      @timmcguire9831 3 года назад +1

      @@AussieBIMGuru Great, useful script

  • @Ayakunita
    @Ayakunita 4 месяца назад

    Thanks you so much every you tube instructions! helps me so much, by the way, by Revit2022 ElementsCentroid node dose not show in library it there another way to go? especially i would like to set for beam family, and how to sort out error at point by coordinates?

    • @AussieBIMGuru
      @AussieBIMGuru  3 месяца назад

      My Crumple package should still have it under revit > elements.
      In principle all it does is get the element's bounding box, then get the centre of that bounding box using it's min/max point.

  • @metalrocks5345
    @metalrocks5345 2 года назад

    Great Script. I'm a begginer in Dynamo and I work on a project with axis that are not parallel. You explain that there are possibilities to adapt the script for that case but I'm still too novice and don't know how to handle it. Do you have any tips?

    • @AussieBIMGuru
      @AussieBIMGuru  2 года назад

      Get the curves of the grids, check their direction and compare its angle to the Y axis using angle between vectors. Grids that are off axis will usually have a non whole number for this angle.

  • @saugatabhattacharya5084
    @saugatabhattacharya5084 Год назад

    Hi Gavin,
    I am getting error Index was out of range, in List.Get Item At Index node. can you help please?

    • @AussieBIMGuru
      @AussieBIMGuru  Год назад

      Its a fairly common error and means there was no match in a list when trying to find an index (-1), or there is less items in the list than what you are indexing the list for.

  • @leventeczutor8239
    @leventeczutor8239 Год назад

    My grid list just says "null". Why am I unable to select my grids?

    • @AussieBIMGuru
      @AussieBIMGuru  Год назад

      Maybe theyre on a design option? Generally it should find them if they are live in the model though.

    • @leventeczutor8239
      @leventeczutor8239 Год назад +1

      @@AussieBIMGuru Thank you! I found a way to make them show up. I just used Categories, and selected Grids from the list, instead of Category.ByName

  • @Mrplayit973
    @Mrplayit973 2 года назад

    Hey i know this video is pretty old but i keep getting a Null after the Elements Centroid Node when it goes into the Code Block pt.x; pt.y; ?? please help!!!

    • @AussieBIMGuru
      @AussieBIMGuru  2 года назад

      Try doing element bounding box > to cuboid > centroid instead as 3 nodes. Thats effectively what my node does.

  • @shitos1409
    @shitos1409 3 года назад

    hello I cant find element centroid after search I found compute centroid but not working with my daynamo version any one can send it to me or send this code dynamo i really need it
    thanks

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад

      Its on my github, link in my channel profile. It is built for dynamo 2.3/revit 2020 ideally.
      Element.centroid is from my custom package (crumple).

  • @immi85
    @immi85 3 года назад +1

    one request from me, give dimension to structure column center from nearest grid.😉

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад +2

      I've just finished this tutorial and scheduled it for release on May 10th.

  •  3 года назад

    Doing same than Navisworks

    • @AussieBIMGuru
      @AussieBIMGuru  3 года назад

      Yes in this case we're reintroducing the data to the native modelling environment, and we don't need clashes to return a grid reference. It's quite different in approach in my opinion.