Skip to content

ExternalFileUtils

Public Class

A utility class containing functions related to external file references.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ExternalFileUtils

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public static class ExternalFileUtils

The ExternalFileUtils type exposes the following members.

Methods

Name

Description


Public Method
Static Member
GetAllExternalFileReferences

Gets the ids of all elements which are external file references.


Public Method
Static Member

Gets the external file referencing data for the given element.


Public Method
Static Member

Gets a temp folder based on the given file name


Public Method
Static Member
IsExternalFileReference

Determines whether the given element represents an external file.


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.