✈ Pre-Flight checks
🐞 Describe the bug
When using the Renumber tool over multiple views at once, the colors of my rooms disappear. I tried to have the views in seperate windows as well as tiled inside Revit. Both options leave me with only the last view being restored to the original colors. I also tried to save the project and reopen it to see if that would restore the colors, but that didn't fix it.
⌨ Error/Debug Message
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003A98 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003A99 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.01
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003A9A [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003A9B [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.02
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003A9C [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003A9D [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.03
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003A9E [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003A9F [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.04
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AA0 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AA1 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.05
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AA2 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AA3 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.06
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AA4 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AA5 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.07
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AA6 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AA7 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.08
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AA8 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AA9 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.09
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AAA [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AAB [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.10
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AAC [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AAD [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.11
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AAE [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AAF [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.12
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AB0 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AB1 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.13
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AB2 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AB3 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.14
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AB4 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AB5 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.15
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AB6 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AB7 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.16
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Picked elements are: [<Autodesk.Revit.DB.Reference object at 0x0000000000003AB8 [Autodesk.Revit.DB.Reference]>]
DEBUG [pyrevit.revit.selection] Processed return elements are: [<Autodesk.Revit.DB.Architecture.Room object at 0x0000000000003AB9 [Autodesk.Revit.DB.Architecture.Room]>]
DEBUG [ReNumber] applying LHW-B.17
DEBUG [pyrevit.revit.selection] Picking elements: Element message: Select rooms in order multiple: False world: False
DEBUG [pyrevit.revit.selection] Operation canceled by user
♻️ To Reproduce
- Have multiple floors and rooms in a project.
- Use the renumbertool in multiple views at once
- End command and see that only the final view gets the room colors restored
⏲️ Expected behavior
When using the tool over multiple views the color assignment should be restored when the user is done with the tool
🖥️ Hardware and Software Setup (please complete the following information)
C:\Users\xx>pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "5.0.1.25051+1239" | Path: "C:\Users\xx\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "2021 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Users\xx\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
==> Default Extension Search Path
C:\Users\xx\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2021 First Customer Ship | Version: 21.0.0.383 | Build: 20200220_1100(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
==> Running Revit Instances
PID: 36520 | 2021 First Customer Ship | Version: 21.0.0.383 | Build: 20200220_1100(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2021"
==> User Environment
Microsoft Windows 10 [Version 10.0.26100]
Executing User: DESKTOP-32O48DB\xx
Active User: DESKTOP-32O48DB\xx
Admin Access: No
%APPDATA%: "C:\Users\xx\AppData\Roaming"
Latest Installed .Net Framework: 9.0.4
Installed .Net Target Packs: v4.0 v4.5 v4.5.1 v4.5.2 v4.6 v4.6.1 v4.6.2 v4.7 v4.7.1 v4.7.2 v4.8 v4.8.1 v4.X
Installed .Net-Core Target Packs: v9.0.203
pyRevit CLI v5.0.1.25051+1239.a19f9a76cf00d7256cf522f5ec874fea9dd0baa8
Additional context

I hope this is enough information and testing on my side, if you need anything else I'd love to help
Edited to remove my full name, replaced with XX where applicable
✈ Pre-Flight checks
🐞 Describe the bug
When using the Renumber tool over multiple views at once, the colors of my rooms disappear. I tried to have the views in seperate windows as well as tiled inside Revit. Both options leave me with only the last view being restored to the original colors. I also tried to save the project and reopen it to see if that would restore the colors, but that didn't fix it.
⌨ Error/Debug Message
♻️ To Reproduce
⏲️ Expected behavior
When using the tool over multiple views the color assignment should be restored when the user is done with the tool
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
I hope this is enough information and testing on my side, if you need anything else I'd love to help
Edited to remove my full name, replaced with XX where applicable