How to find idexes of points in nested list


Hello, I am having trouble finding the indexes of points that I sorted. I want to get the indexes so I can sort the cooresponding rectangles that correspond to these indexes. Any one know how to do it?


I think you just need to use list levels and switch your inputs.


is this the same question as here?

if so, does this then solve your question?


@erfajo So am I reading this correctly, that each number in each sublist corresponds to the “parent” list that the item is found in, with the last index in each sublist being the actual item that I am looking for in that list?
like this:


correct :slight_smile:


Do you have a node that works with this IndexOf node that will replace items or Get items at these index locations, defined by this list structure?


that is a good idea, i will try to make that node… as soon as i get some spare time :slight_smile:


Here you go… a new node for replacing items at indices (full path).

Besides, I have also uploaded a major update of the DanEDU Dynamo package, among others a new look and all nodes are totally recoded.

searchRecursive.dyn (10.1 KB)