Sorting Elements and Points from RayBounce.ByOriginDirection Node

Hello everyone,

I want to create a new list from the list of the RayBounce.ByOriginDirection node with
elements as the main list and the points as the associated sublist. I have drawn in the screenshot in the Dictionary.ByKeysValues ​​node how I would like it.

I have already searched here in the forum and tried everything I could think of. Unfortunately I didn’t get the right result.

Many thanks for helping me out and best regards to everyone!

hi,
try this
Your must have “String” for Key in Dictionnary Definition


cordially
christian.stan

4 Likes

Great, thank you! So my thought process of using a dictionary was correct, but i missed to use a String for Key in Dictionary Definition.

1 Like

Just noticed another issue… dont know why the values are not matching with the keys. In Watch Node everything is fine, but in Dictionary.ByKeysValues Node it tooks only the Value of Dictionary 0 from RayBounce.ByOriginDirection Node.

Hi,
It seems that you have 2 strictly identical keys (floor N°Id 2918973)
, this must generate problems

Sincerely
christian.stan

1 Like