ExternalFileUtils.IsExternalFileReference
Description:
Determines whether the given element represents an external file.
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.
-
aDocA Revit Document.
-
elemIdThe element to be checked for an external file reference.
Return Value
bool
True if the given element represents an external file; false otherwise.
-
The element elemId does not exist in the document
-
A non-optional argument was NULL