Understanding list levels in Dynamo!

  Рет қаралды 12,302

Aussie BIM Guru

Aussie BIM Guru

2 жыл бұрын

This is challenging but essential trick to master in Dynamo. In this video I share some tips and tricks I often use when teaching the concept to others.
I hope you enjoy the session and learn something new! Feel free to comment any feedback/questions below, or follow my channel if you enjoyed this.
Learn more about Dynamo at;
primer.dynamobim.org/
Software used;
Autodesk Revit 2020: www.autodesk.com/products/rev...
Dynamo: dynamobim.org/
DaVinci Resolve: www.blackmagicdesign.com/au/p...
OBS: obsproject.com/
Hardware used;
Webcam: support.logitech.com/en_us/pr...
Laptop: www.msi.com/Workstation/WT75-...
Microphone: www.jbhifi.com.au/products/ro...
Audio interface: focusrite.com/en/usb-audio-in...
#revit #dynamo #bim

Пікірлер: 55
@Akira-xr2zb
@Akira-xr2zb 3 ай бұрын
Great explaination about List, thank you!
@AussieBIMGuru
@AussieBIMGuru 3 ай бұрын
You're welcome Akira!
@klasrobertsson3943
@klasrobertsson3943 2 жыл бұрын
The best and most useful of all your dynamo tutorials in my opinion. Often return to this one...
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Happy to hear that!
@kirkm4079
@kirkm4079 2 жыл бұрын
Great idea, like you said, for adding a header row to excel, I've been using add item to front for each column individually, this would be so much easier!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks! Yep I use this technique all the time, but I did begin with simpler/longer methods as well.
@MR0MYSTERY87
@MR0MYSTERY87 Жыл бұрын
Really love your Dynamo tutorial videos, cheers !
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Glad you like them!
@borun67
@borun67 3 ай бұрын
very helpful for list and list level. Thank you very much.
@AussieBIMGuru
@AussieBIMGuru 3 ай бұрын
You're welcome!
@Negotium2
@Negotium2 2 жыл бұрын
Gavin, thanks for your work, Greetigs from Poland! cheers:)
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Glad you like it, and great to know I have viewers in Poland :)
@manuelcoletto8766
@manuelcoletto8766 Жыл бұрын
Thats great! Thanks for sharing!
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Thanks for watching!
@TheGlennovitS
@TheGlennovitS 2 жыл бұрын
Nice demo. The walls example really helped 💪🏼 thanks 😄
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
You're welcome!
@harilalmn
@harilalmn 2 жыл бұрын
Very good demonstration.!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks!
@christopherhanson9351
@christopherhanson9351 2 жыл бұрын
A bit delayed but I just saw this. Your discussion was very helpful and this video has been too, thank you!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
You're welcome Christopher! Thanks for the query.
@jeffclassics
@jeffclassics 2 жыл бұрын
That's a wonderful example of an inefficient serparameter scenario. Btw, @L2 in element then the rest is default I believe also works the same, I'll check later. But Having used dynamo for maybe thousands of times I still trial and error in a scaled down list to be sure I get it right before publishing it to the team. Nested For loops and zip is easier or direct tbh.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks! Yes I think you're right, there's a few levels combinations that could work in these scenarios. I use Python loops a lot now too, but I guess a lot of users don't know that side of Dynamo as well. I find frustration with levels is why most users move to Python.
@alleskaese
@alleskaese Жыл бұрын
@@AussieBIMGurumy problem is that i don't really know python (find it more complicated than c#) and i wish there was a c# node in dynamo like in grasshopper, also it would be great if dynamo could use grasshopper as a example for the lists
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
@@alleskaese maybe look into zero touch node development which supports C#. I doubt Dynamo will go down the path of data trees as other programming languages tend to also be list based like dynamo is.
@muratovbim
@muratovbim 2 жыл бұрын
Hi! It seems we can make it in easier way. We don't need to make a long lacing in the Set parameter node. We can turn on L1 for element list, don't change level on second input with list of parameter names, and turn on L2 on third input with data. In this case we take each element and each sublist of data and write the data in parameters list. We have similar lengths of lists with parameter names and data, so it'll work. I test it in my script now and it works. I can't add here a screeshot unfirtunately.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Thanks! Yes various combinations of lacing and levels can usuallt achieve the same outcome. I try to use parallel levels for list structures where possible, but other approaches are certainly viable.
@bittor735
@bittor735 2 жыл бұрын
Very clear example! Although I think that you mixed up your final video hahaha
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Indeed I did *facepalm*. Good to know someone made it to the end!
@DesignTechUnraveled
@DesignTechUnraveled 2 жыл бұрын
Wanted to give you a heads up. The audio from 01:19 - 11:26 is only in the left audio channel. Not a huge deal when on desktop audio, but fairly difficult to listen to with headphones on.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Yeah thanks I recwntly struggled across an issue with my audio interface and OBS. Should hopefylly be addeessed in future videos.
@andriyborysov4469
@andriyborysov4469 2 жыл бұрын
Thanks for the video! Really helpful. But something wrong with the sound. I heard your voice only in one ear using my headphones. Of course, it is not a big problem for short videos, but it would be great if you will fix it!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Yes it's a recording setting I forgot to fix in post production, thanks for letting me know. My recording device is mono so I usually have to mirror the sound in my editor, every now and then I forgot - whoops!
@dykodesigns
@dykodesigns 2 жыл бұрын
@@AussieBIMGuru I think the XLR mic is plugged in the first input of the audio interface, which would be the left channel. What you can do is use a mixer in conjunction with an audio interface, I have the stereo output of the mixer go into inputs 1 and 2 of the interface. Allthough a mixer will generally keep the two mic channels separated. I recently switched from a USB mic to and XLR condensor mic so it’s an issue I have to keep in mind as well. As far as I’m aware OBS might be able to double the mono channels so that the left channel is also mirrored to the right channel.
@dykodesigns
@dykodesigns 2 жыл бұрын
Edit / Addendum: I have the mic (which is mono) plugged into the first input of the mixer. The two mic inputs are also mono. However, the “Pan” knob is set to the centre position, so the mixer puts this mono channel on both the left and the right equally on the main mix. If you turn the pan knob fully to left, if will only be heard on the left channel. When you turn fully to the right, it will only be on the right channel. By turning the pan knob, you can control how strong the signal is on the left or right channel. When it’s in the centre, it’s balanced equally. A mixer gives you a lot of flexibility in that regard.
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
@@dykodesigns ah that was very helpful, I managed to get my mono channel going through L/R equally using these tips! Thanks so much mate.
@Hygio
@Hygio Жыл бұрын
Do you have a good method of practicing this with uneven sublists? Such as deleting only curves of a polycurve that have a certain condition?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Generally I would use nodes like take items @L2 set to shortest lacing to trim sublists down to shortest depth. Typically uneven sublists are a good case to investigate how the lists became uneven, as in many cases they might be due to an error or a better way of managing data upstream.
@Hygio
@Hygio Жыл бұрын
@@AussieBIMGuru Today's script I was able to filter out unwanted elements not by removal but by replacing them. THEN apply the List.FilterByBooleanMask to get them out. It concerned deleting Gridline segments that were evaluated based on a shuffled list. So Polycurves were each evaluated by a list that was in a transposed order. So transposing them back would wrongly align them if items were dropped. If this makes any sense haha.
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
@@Hygio ah yes transpose only works for equal lists generally. I mostly use it when working with matrices of data like excel/csv.
@tikytak21
@tikytak21 Жыл бұрын
How does one remove redundant list levels?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
A combination of list levels and the list.flatten node works best for that.
@vrbaac1641
@vrbaac1641 2 жыл бұрын
hi, very nice topic but i am not sure why there is no sound after your introduction... i need to review this tutorial ^^ i hope the audio can be fixed ^^ thank you
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Ah sometimes my sound settings are off and headphones or mono speakers miss the right sound channel.
@vrbaac1641
@vrbaac1641 2 жыл бұрын
@@AussieBIMGuru ahh yes... I think will try another headphone... my headphone as of now have a defective left ear piece..
@mostafamagdy7995
@mostafamagdy7995 2 жыл бұрын
I have a problem if you can help me I want to copy dimensions between revit files same views same geometry but when i bind the dimensions disappear
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
It sounds like they may be struggling to find valid refefences. When dimensions are copied they usually search for new references and sometimes this doesn't succeed. Usually i suggest copying elements across with dimensions where possible, but otherwise it isn't going to be as reliable. Cross check the model coordoninates match also, other than that not sure if there's anything else that can be done.
@mostafamagdy7995
@mostafamagdy7995 2 жыл бұрын
@@AussieBIMGuru thank you it's the a multiple binded but still same model so i guess the problem happens when binding take a place
@ningzhou8397
@ningzhou8397 Жыл бұрын
one of the reasons that confusing me is that "reversed" order, L1 should be always 1st level which is outmost, in fact, it's innermost
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Yes levels at first feel like they should work in vs outward, but over time you'll find more often than not you usually will want to access sublists this way due to not always knowing the depth of incoming list structures. I believe reversing @L1 would generally not achiece a lot as it would work at object level. Generally level 2+ would have more desired results.
@ningzhou8397
@ningzhou8397 Жыл бұрын
@@AussieBIMGuru right, that makes sense
@aethylwulfeiii6502
@aethylwulfeiii6502 Жыл бұрын
Just tell me how to get multiple outputs from one node!
@aethylwulfeiii6502
@aethylwulfeiii6502 Жыл бұрын
So that I can use them as multiple inputs for another node.
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Make a code block and type data[x], where x is the index of the item or sublist in your data. You can use the ; character to make a new line im the same code block to get multiple outputs.
Walls following topography in Revit using Dynamo!
16:22
Aussie BIM Guru
Рет қаралды 9 М.
Duct support placement using Dynamo!
31:46
Aussie BIM Guru
Рет қаралды 21 М.
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 24 МЛН
Create a Shared Parameters File using Dynamo!
11:52
Aussie BIM Guru
Рет қаралды 14 М.
Dynamo Tutorial - List Lacing 101 (Office Hour Sessions)
5:01
TheRevitKid
Рет қаралды 4,1 М.
Introduction to Dynamo BIM - twisting tower tutorial
11:37
Belinda Carr
Рет қаралды 28 М.
Dynamo Basics 05: Creating, Modifying and Nesting Lists Inside Dynamo
41:59
Dynamo [Node Explanation]: List.SortByKey
14:46
Your Ydea
Рет қаралды 11 М.
What CAD software should you learn?
12:56
SolidWorks With Aryan Fallahi
Рет қаралды 292 М.
Learn Dynamo - Lesson 5: Design Script and Code Blocks
16:10
Aussie BIM Guru
Рет қаралды 17 М.
05 - Understanding lacing in Dynamo (Dec 2020)
46:48
Autodesk Community
Рет қаралды 1,1 М.
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01