ExternalFileUtils.GetAllExternalFileReferences
Method
Description:
Gets the ids of all elements which are external file references.
Gets the ids of all elements which are external file references.
Remarks:
This function will not return the ids of nested Revit links; it only returns top-level references.
This function will not return the ids of nested Revit links; it only returns top-level references.
Parameters
Parameter | Type | Description |
---|---|---|
aDoc | Document | A Revit Document. |
Return Value
Type | Description |
---|---|
ICollection | The ids of all elements which are external file references. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |