ControlledApplication.GetLibraryPaths
Method
Description:
Returns path information identifying where Revit searches for content.
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.
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.
Examples
string strLibPaths = "";
foreach (String path in application.GetLibraryPaths().Values)
{
strLibPaths += path + "\n";
}