Write all roomnubers to adjacent walls

Hi, need some help. I try to write the roomnubers of all rooms to the walls adjacent to them.
So far I get all walls and rooms but I can’t figure out how to combine these two lists.
I somehow need to sort the roomnubers and remove the duplicate walls…


1118_Wandoberflächen_nach_Räumen_2-16.dyn (92.1 KB)

Hi, maybe this way (There must be more efficient)

Sincerely
christian.stan

1 Like

Seems you have a similar problem to this: List Management Rooms and Walls - #10 by jacob.small

Hi @Nicolai_Neumann ,

What exaclty do you mean by the following?

To me it seems logical that some walls are adjacent to multiple rooms (and vice versa). So for me it makes more sense to have (for each room) a sublist of walls adjacent to them, allowing for duplicates?

I would do it like this, based on @christian.stan 's answer:

2 Likes

Hi everyone and thanks for your tips!
It helped me a lot and I was able to finish my script.

Here the “final” version:

Hi @Nicolai_Neumann ,

If you use the camera tool, make sure to zoom in otherwise the node names aren’t visible. Additionally you could also upload your .dyn-file here aswel.

Thanks for the info!
Here the script for everyone:
1118_Wandoberflächen_nach_Räumen_2-16.dyn (84.1 KB)

2 Likes

Would it be possible to get a copy of the script with the code blocks and group descriptions translated to English?