One of the most downloaded files here at Revit.AU is the metric conversion journal script. Despite the obvious downsides of journal scripting, it works about 98.27% of the time.
Based on feedback, the problems with the current journal conversion script are mostly due to user error, but occasionally even when the user followed the steps correctly, a problem would crop up that would stop the process in
Because of this, one of my goals when learning how to use the Revit API has been to replace this journal script with a fully fledged
- User-friendly interface
- Ability to convert to both metric and imperial in the same tool
- Automatically closes most popup dialogues
- Handles sub-folders of files without issue
- Much, much faster
If I’m honest, I regret my choice of benchmarking method, a much smaller dataset would have done the job.
I rounded up 500 families totaling 169mb and ranging in size from 248kb to 1.5mb comprising of both 2D annotation and detail items as well as 3D components from architecture and MEP disciplines. I ran the same set of families through both the journal file conversion method and the
I also used two different hardware configurations were in the benchmark tests; an i5 8400H with 32gb RAM and a 512gb NVME SSD and
I hit the go button and decided to get some breakfast. This is going to take a while.
2 hours and 3 minutes later on the i5 8400H, the journal script failed on family 366. Repeating the same test on the i7 7820HK reached the failure point in around 1 hour and 40 minutes.
Call it commitment or call it stupidity, but I also decided to time how long it would take to change the content in a single family manually to really showcase the power of automation, even if it’s on a tiny scale.
Manually updating a single family to change everything that the
Of course, you normally wouldn’t change everything that the
So far, I have processed close to 5000 different families from a range of different sources across all versions of Revit from 2017 to 2020 without a single error.
And let’s face it, although 365 of 500 families were processed with the journal, I couldn’t complete my automation without an error.
Couple the reliability of the
So if converting files between metric and imperial is something that you do, you can download the addin for free here:
Think this tool is worth something? Consider donating to support the operation of the site and the development of further tools in the future.