Challenges with mirroring the Revit model and Doors or Windows

We have encountered challenges with mirroring the Revit model, especially when it comes to windows with slanted or divided designs. This causes errors in the window schedules, as Revit mirrors all elements. However, when the same object is used in a legend, it appears as it originally was, before the mirroring. For example, if you have a window with a sash on the right side and mirror it, the legend will still show the sash on the right side, while the facade shows it on the left side.

I want to develop a Revit add-in that automatically mirrors the window back to the correct orientation and then replaces it with a correct window loaded from ACC. Is this possible with pyRevit?

Yes, you’ll need to look at few properties: HandFlipped, FacingFlipped, and Mirrored.
CanFlipFacing, CanFlpHand and CanFlipWorkPlane all report what controls have been set in the family. CanFlipWorkPlane is False for windows. But the other two will tell you what has been designed into the window family.
A window that is mirrored and flipped will look the same as a non-flipped and mirrored windows. But is technically different.
Doors exhibit the same issues.

1 Like

@mangrove-art that one is a fav’ topic of your

and @ErikFrits as well!

Thanks for the reply! Once I’ve identified the windows and doors that need to be replaced, I’m wondering what the best approach is for swapping out the window family with one that has the correct orientation. Do you have any tips on how I should proceed?