Having multiple instances of doors or windows often carries a problem that some of them are (intentionally or not) flipped (mirrored). Flipping doors and windows is neat option but it can bring big problems. Left doors are not equal to right doors (the same goes with windows) but Revit will treat them as they are the same (if they are of the same type). This Revit Add-in solves this problem by updating parameter value whenever door (or window) instance is changed (flipped or mirrored) from right to left or vice versa.
I was inspired by this article, please make sure to read it first to understand what this is all about:
As I suggested in the comments section below the article, the solution to the problem is quite trivial with a little help of Revit API.
In general, I created simple application add-in which attaches custom updater to check all of the doors and windows in a project to determine if they are flipped (mirrored) or not.
The state (flipped or not) is recorded to Yes/No parameter I called (hard-coded it) “ElementFlippedOrMirrored” (it must be called that in order to get it work).
Update, May 2019: The state (flipped or not) is recorded to AREA parameter I called (hard-coded it) “ElementFlippedOrMirrored” (it must be called that in order to get it work).
If area=0 the element is not flipped, if area > 0 the element is flipped.
The reason why I used AREA parameter is because you can set it to be different across group instances AND can be used in formulas (very important!), so please make sure to choose this option while adding the parameter (I marked in yellow all the important settings):
I used Project Parameter for testing purposes but I strongly recommend that you use Shared Parameter since it enables using it in both: families and project.
Example on how to use it in formula, for example in schedule or in family (when using as shared parameter of AREA type called ElementFlippedOrMirrored):
Feel free to download the add-in. It should work on version Revit 2015 and above. Your feedback is welcome!
- Download the addin
- Unzip the file
- You will get folder named EngipediaFlippedElementsUpdater.bundle
- Copy/paste that folder into: C:\ProgramData\Autodesk\ApplicationPlugins
- On some machines, if you are using Windows 10, you’ll need to go to: C:\ProgramData\Autodesk\ApplicationPlugins\EngipediaFlippedElementsUpdater.bundle\Contents and right-click on all .addin and .dll files and choose Properties then check the Unblock checkbox
- See video below for further instructions
Please note that you can also manually update your elements by selecting Add-Ins > External Tools dropdown > Engipedia Flipped / Mirrored command on the ribbon.
Download Flipped/Mirrored, Left / Right Door/Window checker for Revit from the link below:
Download the add-in from Warehouse
See video below for demonstration on how add-in works (adding filter is just to show (visually) which doors are flipped and which are not. Changing (flipping) doors will update the parameter value, hence filter will color them differently.
DISCLAIMER: The software add-in is safe and made with best intentions and without any warranty. Author tested the add-in on his system but there are no guaranties it will work on your system, nor can be responsible for potential damage. Please test the add-in on non-critical project first.
If needed, you can always delete the plugin from:
just delete the whole EngipediaFlippedElementsUpdater.bundle folder
After you run your project, make sure that you always run updater manually before creating schedules, tags etc. You will find it under Add-Ins > External Tools dropdown > Engipedia Flipped / Mirrored command on the ribbon.
Update, June 2022:
- We simplified “installation” process so you just need to unzip single folder to C:\ProgramData\Autodesk\ApplicationPlugins\ and addin will work in Revit 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, and 2024 versions.
- If you used this addin before, you may encounter an error on Revit startup saying that adding cannot load due to addin GUID issues. If so, please go to:
- C:\Users\<<your windows user name>>\AppData\Roaming\Autodesk\Revit\Addins\
- Or write %appdata%\Autodesk\Revit\Addins\ into Windows Run command, or in Windows Explorer address bar
- then go into each version folder (2020, 2021, 2022 etc.) and delete EngipediaFlippedElementsUpdater.addin and EngipediaFlippedElementsUpdater.dll files.
- Restart Revit and new addin will be loaded from C:\ProgramData\Autodesk\ApplicationPlugins\
Update, April 2023:
- Addin now works with Casework, Doors, Electrical Equipment, Generic Models, Mechanical Equipment and Windows categories.
- Addin support Revit 2016 to Revit 2024