2025.3 Class
Changes 0
C

ExternalFileReference

Description:
A class that contains the details of a reference to a file outside of a given document.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ExternalFileReference
public class ExternalFileReference : IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the ExternalFileReference
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetAbsolutePath() ModelPath Returns an absolute path to the referenced file, regardless of whether the PathType.Enum is relative or absolute.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetLinkedFileStatus() LinkedFileStatus Returns a LinkedFileStatus.Enum corresponding to the load status of the referenced file.
M GetPath() ModelPath Gets the path of the link, relative or absolute according to the link's settings
M GetReferencingId() ElementId Gets the ElementId corresponding to the element which this ExternalFileReference is associated with.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsValidExternalFileReference(ExternalFileReference) Boolean Checks an ExternalFileReference to see if it is properly created.
M IsValidPathTypeForExternalFileReference(PathType) Boolean Checks whether a PathType enum value will be valid to use with this ExternalFileReference.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ExternalFileReferenceType ExternalFileReferenceType The type of external file which this object references.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P PathType PathType The path type of the link (relative, absolute, or server).