Dynamo List sorting - various methods, different Packages, plus a bit of Python?

Posted by Unknown Minggu, 19 Januari 2014 0 komentar
Check out the solution suggested by Andreas Dieckmann:

"I ended up using one of Python's abilities to handle lists which is called groupby() because I did not want my head to hurt thinking about how to go about this in Dynamo... ;-)
Here's how:
  1. Sort list by X values using the method Steve explains above
  2. Sort list by Z values 
    (Notice that within each group of equal Z values, the X values retain their order from the previous sort operation)
  3. Create a list of lists with XYZ values (sublist 0) and just Z values (sublist 1)
  4. Group that list of lists by the Z values (using a custom node with some Python code inside)
  5. Extract only the list of lists of XYZs by combining two map nodes
You will need the package Group List of Lists By Key for this to work.
(For what it's worth, I also uploaded another package called Sort List Of Lists this week which was related to that project but isn't needed here. But it might be worth checking out, too.)"



Heads-up:
https://twitter.com/Jbenoit44/status/420673580838293504
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Dynamo List sorting - various methods, different Packages, plus a bit of Python?
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidtv7.blogspot.com/2014/01/dynamo-list-sorting-various-methods.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android tv.