Set wondows parameter from room's number


#1

Hi,

I’m at beginning with Dynamo so maybe the problem is easy to solve: I would like to set the windows parameter “Comment” in every instance from Number’s room parameter so that the parameter value “Comment” is equal to the value of the parameter of the rooms “Number”. Can you help me?


#2

This is fairly difficult but possible.

 

Assuming your windows are modeled “correctly”, exterior side of window to exterior of building. (see image) we will be able to flip them to get the room and assign the comments.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

You can download this node on Ayuda on the package manager.


#3

And here’s a video of it in action.

https://knowledge.autodesk.com/community/screencast/ec3c0b31-b301-4b9f-b300-090dcd834544


#4

Hi Luigi,

Here is another method using custom node “Tools.GetSurroundingElements” from Steam nodes package. First you need to collect windows in each room using this custom node and then you group elements and get room number parameter. See below workflow for more information, make sure you set lacing to longest as shown. Good Luck!

 


#5

Hi, thanks to all.