Revit 2025 API
Image |
The file name and path for the exported file.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string FilePath { get; set; }
Public Property FilePath As String Get Set
public: property String^ FilePath { String^ get (); void set (String^ value); }
member FilePath : string with get, set
Property Value
String
Exception | Condition |
---|---|
ArgumentException | When setting this property: The input file path is not valid. |
ArgumentNullException | When setting this property: A non-optional argument was null |

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.
See Also