Beispiel #1
0
 // get a specific builtin extension
 // @handled @logs
 public static PyRevitExtension GetExtension(string clonePath, string searchPattern)
 {
     VerifyCloneValidity(clonePath);
     return(PyRevitExtensions.FindExtension(PyRevitClone.GetExtensionsPath(clonePath), searchPattern));
 }
Beispiel #2
0
 // get list of builtin extensions
 // @handled @logs
 public static List <PyRevitExtension> GetExtensions(string clonePath)
 {
     VerifyCloneValidity(clonePath);
     return(PyRevitExtensions.FindExtensions(PyRevitClone.GetExtensionsPath(clonePath)));
 }