2027 Method
Changes 0
M

ExternalFileUtils.IsExternalFileReference

Description:
Determines whether the given element represents an external file.
Remarks:

CAD imports are not external file references, as their data is brought fully into Revit. No connection is maintained to the original file.

A link may be an external resource without being an external file.

public static bool IsExternalFileReference(
	Document aDoc,
	ElementId elemId
)
  • aDoc
    A Revit Document.
  • elemId
    The element to be checked for an external file reference.
Return Value Boolean True if the given element represents an external file; false otherwise.