Be very careful here. You sure this works? Tested on top of Revit on different machines?

I know this code is ghastly, but it was necessary. If we have got rid of it, that's great, but I want to make sure that's not being removed by accident.