GetFileReadErrors Method


Gets the names of any files which could not be read due to access errors.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2015

Syntax

C#
public IList<string> GetFileReadErrors()
Visual Basic
Public Function GetFileReadErrors As IList(Of String)
Visual C++
public:
IList<String^>^ GetFileReadErrors()

Return Value

An array of strings containing the filenames of files which could not be read.

Remarks

Only applies to KeyBasedTreeEntries built from text files.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →