FilePath Property


The file name and path for the exported file.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2011

Syntax

C#
public string FilePath { get; set; }
Visual Basic
Public Property FilePath As String
	Get
	Set
Visual C++
public:
property String^ FilePath {
	String^ get ();
	void set (String^ value);
}

Remarks

If ExportRange is SetOfViews, the name of each view or sheet will be appended to the name provided for each exported file. This field is ignored if used to save an image to a project as a new view.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException When setting this property: The input file path is not valid.
Autodesk.Revit.Exceptions ArgumentNullException When setting this property: A non-optional argument was null

See Also