Returns path information identifying where Revit searches for content.
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2012
Syntax
Return Value
The map of library paths.
Remarks
Examples
CopyC#
string strLibPaths = "";
foreach (String path in application.GetLibraryPaths().Values)
{
strLibPaths += path + "\n";
}
CopyVB.NET
Dim strLibPaths As String = ""
For Each path As [String] In application.GetLibraryPaths().Values
strLibPaths += path & vbLf
Next
See Also