2024 Method
Changes 0
M

Application.GetLibraryPaths

Description:
Returns path information identifying where Revit searches for content.
Remarks:
The map that is returned contains a key that is purpose of the path, such as Material Libraries and the value in the map is the fully qualified path that is used for that search path.
public IDictionary<string, string> GetLibraryPaths()
IDictionary The map of library paths.
string strLibPaths = "";
foreach (String path in application.GetLibraryPaths().Values)
{
    strLibPaths += path + "\n";
}