public static bool IsExternalFileReference( Document aDoc, ElementId elemId )
| Exception | Condition |
|---|---|
| ArgumentException | The element elemId does not exist in the document |
| ArgumentNullException | A non-optional argument was null |
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.