FilePath Property


The file name and path for the exported file.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.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

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException When setting this property: The input file path is not valid.
Autodesk.Revit.ExceptionsArgumentNullException When setting this property: A non-optional argument was null

See Also