Flip Door Direction

Just wondering if there is a way to flip the orientation of a Revit door from inside grasshopper.

Placing them works great but the orientation of the door doesn’t seem to be effected by the orientation of the location plane input.

I found the “Flip Door Panel” parameter which can toggle the door swing left/right, but is there a way to toggle in/out?

Any suggestions would be greatly appreciated!

Flip Element Component will get you there.

Awesome thanks!

You could also test to see if the door swing is going into the room and then change the ones that aren’t.

Very nice!

Hello @Japhy, I would like to follow up on this topic with a feature request.

Although the flipping component seems to be a good fix for a few instances, there are cases where defining the direction of the door just like one does in Revit would be more intuitive and easier to control. I’m just facing a case where I have not assigned specific spaces like hall and Room and therefore I have no reference space that the door should swing to.

Connecting the swing directly to the orientation of the component base plane would be a very welcome feature (e.g.. door opens as a preset in the direction of the Y-Axis, and swings in the direction of the X-Axis, and from that one can switch it around with the flip component).

Hi Alan,

Using the Revit API in a lot of cases is more limiting than the UI, where a slight move of the mouse will flip opening direction, or the spacebar flips the side.

The NewFamilyInstance method has fairly generic constructors.

1 Like