Renumber Room tool Crashing, but not doors

Hello -

One of our users has installed pyRevit 5.3.1 for Revit 2026 and the application loaded without issue. When he attempted to renumber some rooms, the following error code thread appeared. He is able to renumber doors without issue; only rooms gives this error. I am able to renumber rooms on my computer using the same file and tools:

ERROR [pyrevit.revit.db.transaction] Error in Transaction Context. Rolling back changes. | <type ‘exceptions.Exception’>:View cannot use Temporary View Properties mode in current state.

ERROR [pyrevit.revit.db.transaction] Error in TransactionGroup Context. Rolling back changes. | <type ‘exceptions.Exception’>:View cannot use Temporary View Properties mode in current state.

IronPython Traceback:
Traceback (most recent call last):
File “C:\Program Files\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Modify.panel\edit2.stack\ReNumber.pushbutton\script.py”, line 416, in
File “C:\Program Files\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Modify.panel\edit2.stack\ReNumber.pushbutton\script.py”, line 271, in pick_and_renumber
File “C:\Program Files\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Modify.panel\edit2.stack\ReNumber.pushbutton\script.py”, line 119, in enter
File “C:\Program Files\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Modify.panel\edit2.stack\ReNumber.pushbutton\script.py”, line 64, in toggle_element_selection_handles
Exception: View cannot use Temporary View Properties mode in current state.

Script Executor Traceback:
Autodesk.Revit.Exceptions.InvalidOperationException: View cannot use Temporary View Properties mode in current state.
at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
at Microsoft.Scripting.Hosting.CompiledCode.Execute(ScriptScope scope)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)

Can anyone recommend a resolution to this?

Thank you!

I’m guessing you are using different views to proceed with renumbering ? One not allowing for temporary view state

Actually, we were using the same Revit view (on different computers) using the same central model.

Not sure if it was a permissions issue? Was it better for me to install the non-Admin version?

Test 1

  1. User A syncs
  2. Go to view and use tool
  3. Sync
  4. User B syncs
  5. Go to view and use tool

Is there an issue proceeding like this?

OK, we did as you asked, and no success. We did try another experiment…we had the user install the same version of pyRevit onto a duplicate (Dell 3650) desktop machine, log in with his credentials, and duplicate the error. I then logged into this same machine (I am an administrator), and the error was displayed for me as well. We have yet to try a different machine to see if we can duplicate the error. Again, this only affects the room renumbering tool…weird, huh?

No idea why this error would crop up when I logged into this machine versus when I am logged into my own laptop?

Can you try disabling view temporary mode?

This might happen because user A used the tool, the temporary view mode remains on for some reason and when user B wants to use the tool it fails upon activation of the temp view mode

Just checking to see if you were able to sort this out. One of our users is receiving the exact same error message renumbering rooms in a floorplan.

Sidebar to whomever is handling email/DNS for pyRevit:
Your domain pyrevitlabs.io is missing DMARC and has broken DKIM alignment.
Your mail is being flagged as suspicious by enterprise gateways.
I recommend fixing DNS hosting (low-trust), DKIM alignment, and publish DMARC.
(it will help with email deliverability)