ExternalFileUtils.GetExternalFileReference
Description:
Gets the external file referencing data for the given element.
Gets the external file referencing data for the given element.
public static ExternalFileReference GetExternalFileReference(
Document aDoc,
ElementId elemId
)
-
aDocA Revit Document.
-
elemIdThe element whose external file reference we want.
Return Value
ExternalFileReference
An object containing path and type information for the given element's external file.
-
The element elemId does not exist in the document -or- elemId does not represent an external file reference.
-
A non-optional argument was null