2024 Class
Changes 1
C

ExternalFileUtils

Description:
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ExternalFileUtils
public static class ExternalFileUtils
Name Return Type Description
M GetAllExternalFileReferences(Document) ICollection<ElementId> Gets the ids of all elements which are external file references.
M GetExternalFileReference(Document, ElementId) ExternalFileReference Gets the external file referencing data for the given element.
M GetFileBasedTempFolder(String) string Gets a temp folder based on the given file name
M IsExternalFileReference(Document, ElementId) bool Determines whether the given element represents an external file.