ExternalFileUtils
Description:
A utility class containing functions related to external file references.
A utility class containing functions related to external file references.
Remarks:
Elements which are external file references refer to files outside of the base .rvt file. Examples include Revit links, CAD links, the element which stores the location of the keynote file, and rendering decals.
Elements which are external file references refer to files outside of the base .rvt file. Examples include Revit links, CAD links, the element which stores the location of the keynote file, and rendering decals.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ExternalFileUtils
System.Object
Autodesk.Revit.DB.ExternalFileUtils
public static class ExternalFileUtils
| Name | Return Type | Description |
|---|---|---|
| GetAllExternalFileReferences(Document) | ICollection<ElementId> | Gets the ids of all elements which are external file references. |
| GetExternalFileReference(Document, ElementId) | ExternalFileReference | Gets the external file referencing data for the given element. |
| GetFileBasedTempFolder(String) | String | Gets a temp folder based on the given file name |
| IsExternalFileReference(Document, ElementId) | Boolean | Determines whether the given element represents an external file. |