Closest grid intersection to Revit elements using Dynamo!

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024

ความคิดเห็น • 55

  • @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.

  • @christianboeg-skov1917
    @christianboeg-skov1917 4 หลายเดือนก่อน +1

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

  • @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.

  • @bonavconsolidate
    @bonavconsolidate 7 หลายเดือนก่อน +1

    NICE TUTORIAL VIDEO

  • @mihailsheinin5091
    @mihailsheinin5091 ปีที่แล้ว +1

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

  • @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

  • @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!

  • @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

  • @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.

  • @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.

  • @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

  • @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.

  • @Ayakunita
    @Ayakunita 26 วันที่ผ่านมา

    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  วันที่ผ่านมา

      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.

  • @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!

  • @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.

  • @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 🤞🏻

  • @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.

  • @Mrplayit973
    @Mrplayit973 ปีที่แล้ว

    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  ปีที่แล้ว

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

  • @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

  • @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).

  •  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.