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 |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetAbsolutePath() | ModelPath | Returns an absolute path to the referenced file, regardless of whether the PathType.Enum is relative or absolute. |
| 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. |
| IsValidExternalFileReference(ExternalFileReference) | bool | Checks an ExternalFileReference to see if it is properly created. |
| IsValidPathTypeForExternalFileReference(PathType) | bool | Checks whether a PathType enum value will be valid to use with this ExternalFileReference. |
| Name | Return Type | Description |
|---|---|---|
| ExternalFileReferenceType | ExternalFileReferenceType | The type of external file which this object references. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| PathType | PathType | The path type of the link (relative, absolute, or server). |