Revit 2025 API
External |
Returns an absolute path to the referenced file,
regardless of whether the PathType.Enum is relative or absolute.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ModelPath GetAbsolutePath()
Public Function GetAbsolutePath As ModelPath
public: ModelPath^ GetAbsolutePath()
member GetAbsolutePath : unit -> ModelPath
Return Value
ModelPathA full path to the linked model.

ExternalFileReferences which are taken from a closed document will
report their absolute path as of the last time the document was saved.
See Also