# Door Handing

**URL:** <https://forum.dynamobim.com/t/door-handing/63345>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [April 27, 2021, 2:28pm UTC](https://forum.dynamobim.com/t/door-handing/63345 "2021-04-27T14:28:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![augustinpe](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@augustinpe](https://forum.dynamobim.com/u/augustinpe)\
**Post date:** [April 27, 2021, 2:28pm UTC](https://forum.dynamobim.com/t/door-handing/63345/1 "2021-04-27T14:28:29Z")

</div>

I created this script:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/c/7cea9a525af6748abced52ac05974035041061a5.png)

The doors circled in red have the handing indicated in red in the screenshot below. I am not sure why. Wouldn’t the Door on the right be a RHR? I have similar issues with other doors in the project.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/3/23d7ecbd8a2f5a780a9f36823958510da101a622.png)

Is there something wrong with the script?

---

<div class="post-metadata">

**Author:** ![augustinpe](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@augustinpe](https://forum.dynamobim.com/u/augustinpe)\
**Post date:** [April 27, 2021, 2:34pm UTC](https://forum.dynamobim.com/t/door-handing/63345/2 "2021-04-27T14:34:19Z")

</div>

I forgot to mention:

This door says it is LH:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/8/e8458d2cbd310178cefed264e982ce8640ae1f01.png)

Weird…

---

<div class="post-metadata">

**Author:** ![haganjake2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/haganjake2/32/119069_2.png) [@haganjake2](https://forum.dynamobim.com/u/haganjake2)\
**Post date:** [April 27, 2021, 2:55pm UTC](https://forum.dynamobim.com/t/door-handing/63345/3 "2021-04-27T14:55:13Z")

</div>

It could be a lacing issue as you are only giving each ‘SetParameterValueByName’ 1 value.

Set the lacing for each SetParameterValueByName node to ‘longest’ so that it will apply the value you require to each instance of the door which it receives as an input.

Also check out the primer for an explanation of lacing if the concept is new to you:  
[https://primer.dynamobim.org/06\_Designing-with-Lists/6-1\_whats-a-list.html](https://primer.dynamobim.org/06_Designing-with-Lists/6-1_whats-a-list.html)

---

<div class="post-metadata">

**Author:** ![augustinpe](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@augustinpe](https://forum.dynamobim.com/u/augustinpe)\
**Post date:** [April 27, 2021, 3:03pm UTC](https://forum.dynamobim.com/t/door-handing/63345/4 "2021-04-27T15:03:41Z")

</div>

I just changed the lacing to longest. Didn’t work. Any other ideas? Thanks!

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 27, 2021, 3:04pm UTC](https://forum.dynamobim.com/t/door-handing/63345/5 "2021-04-27T15:04:09Z")

</div>

Is that not determined by the associated room? Are your room parameters correct?

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [April 28, 2021, 1:16am UTC](https://forum.dynamobim.com/t/door-handing/63345/6 "2021-04-28T01:16:35Z")

</div>

Going out on a limb here, but maybe your door families are modelled in the opposite orientation to the node author’s intent? I’d compare them to the default Autodesk door facing, which has the default position as LHR to exterior side.

---

<div class="post-metadata">

**Author:** ![leonHKFTG](https://avatars.discourse-cdn.com/v4/letter/l/ac91a4/32.png) [@leonHKFTG](https://forum.dynamobim.com/u/leonHKFTG)\
**Post date:** [July 23, 2021, 12:34am UTC](https://forum.dynamobim.com/t/door-handing/63345/7 "2021-07-23T00:34:34Z")

</div>

I believe Nick is on the right track. I used that node yesterday and I was very happy it all worked well, or so I thought. Then I tested with a new file, added some doors in all possible positions, and run the script again. I only got out-swing doors, no matter how I changed their positions. So, I introduced a room in that space, and then I did get everything to read correctly. I opened the node for inspection and it contains a Python script node:

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/c/1cf482b29e59d1a17ba4b7ac1d4713579bff566a.png)

So it seems it is dependent on rooms, if there is none, it provides a default value, but it can be incorrect. Bottom line, to have this script run correctly I believe rooms must be present.
