Exemplo n.º 1
0
 ForgetAllExtensionPaths(bool all, string searchPath)
 {
     if (all)
     {
         foreach (string regSearchPath in PyRevitExtensions.GetRegisteredExtensionSearchPaths())
         {
             PyRevitExtensions.UnregisterExtensionSearchPath(regSearchPath);
         }
     }
     else
     {
         PyRevitExtensions.UnregisterExtensionSearchPath(searchPath);
     }
 }