Null output from Dynamo (Revit 2024) Door.Rooms

I am trying to get the “from room” and “to room” values from my doors, The clockwork package seems to have the Node I need (Door.Rooms) how ever I seem to be struggling to get the node to work. I am in Revit 2024.

I have tried changing the Phase also

hi @jonny.pyeHMSQY are you sure you have dynamoironpython 2.7 package installed…btw welcome to the forum :wink:

2 Likes

Dynamo literally has the best Forum! Thank you Sovitek

2 Likes

Hi I’m having a similar issue but with Revit 2023, I have dynamo 2.16.4 and Revit 23.1.6 installed and I can’t seem to get the Door.Rooms node to work. I’m very new to Dynamo so I’m sure it’s obvious.

Any assistance would be great! thanks!

allright and you are sure you have ironpythonpackage 2,7 version 2.5 installed from PM manager

Hi, I have double checked and I had IronPython2.7.3.2.1 installed. I have uninstalled and gone back to the earlier version of 2.7.2.5 and it still isn’t working. As I mentioned I’m new to Dynamo so I’m sure it’s something simple.

hi is it the newest clockwork package you have ?

I do have the latest version of Clockwork 2x 2.12.2

I have managed to get it to work and thought I’d post my solution here. Within the Door.Rooms Node there is a python script. I had to change the version of python from Python3 to IronPython2. I knew it would be something simple.

Thanks everyone for their help

@nicholas.t2TDBX I’m having the same issue where Door.Rooms is returning null for the “To” and “From” rooms even though I have Clockwork 2.12.2 and IronPython2.7.2.5 installed. I have checked the Python script within Door.Rooms and found mine looks different (see below). Do you mind sending a screenshot of what your Door.Rooms looks like as well as the python script code please? Thanks!

That Python looks correct.

Do your doors have their room calculation points turned on? You can check by setting up a schedule view in Revit.

Hi Jacob, yes I believe they do. When I create a Door schedule the “From Room: Name” and “To Room: Name” parameters are both populated. One thing to note, the doors and rooms are coming from a linked model, so not sure if that impacts the Door.Rooms method.

Yes, it very much does.

Post a sample model with four rooms and three doors and the host model containing the info you’re looking at with matching configuration and your graph to date so that people can help with context.

Hi Jacob, I was actually able to get it to work. I ended up referencing the following page and by copying the content from Door.Rooms into my workspace the script worked properly. Not sure why, but this worked for me in case anyone else runs into a similar issue using Door.Rooms with linked models To Room/From Room From a linked model - Dynamo

1 Like