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?
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.
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!