External |
Gets the external file referencing data for the given element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
public static ExternalFileReference GetExternalFileReference(
Document aDoc,
ElementId elemId
) Parameters
Return Value
ExternalFileReferenceAn object containing path and type information for the given element's external file.
| Exception | Condition |
|---|---|
| ArgumentException | The element elemId does not exist in the document -or- elemId does not represent an external file reference. |
| ArgumentNullException | A non-optional argument was null |