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