RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Document

Document.PathName

Property
Description:
The fully qualified path of the document's disk file.
Remarks:
This string is empty if the project has not been saved or does not have a disk file associated with it yet. Note that the pathname will be empty if a document is detached. See IsDetached.
Syntax
public string PathName { get; }
Examples
string docPathName = document.PathName;