on my graph, i managed to dissect the prefix and suffix by it’s levels, but not with functions. For the running numbers (functions) I did manage to dissect it by floor, then by function but the problem is I cannot join them in to get the index properly. I’ve attached the graph. Hope someone can help me. thanks. DoorNumFunc.dyn (57.6 KB)
otherwise, it would be necessary to create a room with volume defined by the levels up and down at the level of the patios and outside and filter by these elements present then the rest would be the interior doors
here is script if you want to go in that direction Forum english 19 aout 2023.dyn (37.0 KB)
edit: without raybounce
with room surface limit (if patio or not)
it should be clearer like this
Hi, I forgot to mention that node 4 of the 1st branch is from the Clockwork Package
I had created the rooms (in lazy mode) but here Mr. Jacob explained everything well, if you want to follow his protocol here for the automation of this one (the outer room)
The potential patios could be the subject of another subject (may already be present, should I look)
Hi Stan, just an update, i was trying to build your script node by node but then I can’t find the node RayBounce.ByOriginDirection i don’t think it is included in my Dynamo build. Hence, I cannot grasp the idea on how to get it by geometry. I’ll make sure I’ll take into it once I got lesser things on my plate. Thanks for the idea.
Anyway, I went back to my script and reassess what causing me the trouble, and that was the segregation of function to renumber (exterior, interior) and putting back together to their original indices. So what i did is I just manipulated the list, augment the running numbers and return them to their original indices. That way I will eliminate the problem of putting it back together.
element_list = IN[0]
result = []
for item in element_list:
mod_list = []
int_num = 0
ext_num = 0
for element in item:
if element == 0:
int_num += 1
mod_list.append(int_num)
else:
ext_num += 1
mod_list.append(ext_num)
result.append(mod_list)
OUT = result
Hi @jmark if you cant find the ootb raybounce when you search,in the library, try search on the canvas iand i think you will find it,…you could try datashapes raybouunce as well