pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.3k stars 333 forks source link

BIM360 cache clean command for pyRevit CLI #702

Closed eirannejad closed 5 years ago

eirannejad commented 5 years ago

Is your feature request related to a problem? Please describe. Need a consistent way to clean Revit related caches (BIM360 in this case) on user machines. Since CLI is installed on all, it's a good place to put ths functionality

Describe the solution you'd like BIM360 cache is under %LOCALAPPDATA%\Autodesk\Revit\Autodesk Revit 20xx\CollaborationCache for Revit 20xx

eirannejad commented 5 years ago

New command is pyrevit caches bim360 clear --all or for a specific revit version pyrevit caches bim360 clear 2020 It automatically closes all open revits of that version