Revit Freezes While Upgrading Programmatically to a Newest Version

Revit Freezes While Upgrading Programmatically to a Newest Version

vitalij.marcukov2BP2F
Advocate Advocate
272 Views
5 Replies
Message 1 of 6

Revit Freezes While Upgrading Programmatically to a Newest Version

vitalij.marcukov2BP2F
Advocate
Advocate

Hello All,

When I try to programmatically (with Revit API) upgrade Revit file from 2023 to 2024 or 2025, Revit freezes.  

 

Is it even allowed to upgrade programmatically? What could be the reason? What are the best practices?  

 

doc_temp = app.OpenDocumentFile(template_path)
doc_temp.SaveAs(save_path)
doc_temp.Close()

 

 

0 Likes
Accepted solutions (1)
273 Views
5 Replies
Replies (5)
Message 2 of 6

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @vitalij.marcukov2BP2F ,

 

We already have JIRA tickets submitted to the engineering team for analysis of this issue (REVIT-236376 and REVIT-237190).

Please refer to the documentation for the Revit 2023.1.8 Update. Under Issues Resolved > User Interface, you will find the note: “Fixed an issue where the Revit UI became unresponsive in some cases on Windows 11.”


For Revit 2024 and 2025, our engineering team is actively working to address this issue. However, I cannot guarantee that the fix will be included in the next release. Therefore, I recommend that you avoid making any business-critical decisions based on this issue until official confirmation is provided by Autodesk.


If the fix is released for Revit 2024 or 2025, it will be documented in the official Release Notes for those versions.

 

I hope this helps.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 3 of 6

ricaun
Advisor
Advisor

I have the same issue in Revit 2026, in my case I'm loading families and Revit update each one. 

 

Sometimes Revit freezes sometime does not, I didn't find a way to reproduce the issue consistent.

 

Looks like is a works version of the issue below.

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes
Message 4 of 6

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @ricaun ,

This issue is not limited to Revit 2024 or 2025—it also affects Revit 2026.
It is being tracked under ticket REVIT-236376 [Revit 2026 unresponsive during Family upgrade via API], and the engineering team is actively working on a fix.

The problem appears to have been introduced by a recent Windows 11 update.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 5 of 6

vitalij.marcukov2BP2F
Advocate
Advocate

Just to clarify: my script launches a new project (not a family) from our company’s template, which is stored on ACC in Revit 2023 version. The script pulls the template directly from ACC.

When I run the script in Revit 2023, everything works as expected. However, in Revit 2024 or 2025, the Revit UI freezes—presumably because the template requires upgrading. I’ve tried using SaveAs with SaveOptions, as well as moving the template to my local drive, but the issue persists. If I manually upgrade the template to Revit 2024 or 2025 and then run the script in the corresponding version, there are no issues.

I really like the script—it always grabs the latest template (so there’s no need to search for it or update file locations for each Revit version), enables worksharing, creates predefined worksets, and sets up predefined sheet collections. Unfortunately, due to this upgrade issue, I’ve had to abandon it.
Is there any chance to subscribe to that raised ticket so I am informed when it's been resolved? 

0 Likes
Message 6 of 6

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi,

I realize my earlier response may not have been entirely clear—let me clarify:

  • REVIT-236376Revit 2026 becomes unresponsive during Family upgrade via API → This is the issue @ricaun is experiencing.

  • REVIT-237190Revit becomes unresponsive during certain interactions (upgrade, load, file menu, ribbon interaction, exit) → This is the issue @vitalij.marcukov2BP2F  is experiencing.

Both issues share the same root cause, introduced by a recent Windows 11 update. The Revit Engineering team is actively working on a fix.

The Jira tickets are internal and only accessible to Autodesk staff. If you’d like an update, please tag me in this forum post and I’ll review the status and share the latest information.

 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network