Pyrevit run issue - file version

I’m trying to automate the execution of my python script against a list of rvt files. I’m using the command pyrevit run with —models option and specifying the revit version to 2023. However, I’m getting the error message that the file version cannot be detected. My rvt files were originally 2019 version and were upgraded to 2023

Try to provide revit version more accurately like “2023.x.xx”

Cli revit version bug or feature - Command Line Interface (CLI) - pyRevit Forums (pyrevitlabs.io)

It did work thank you!

2 Likes