removed obsolete Revit API usage to compile with zero errors and zero warnings