RVTDocs.com

ExternalResourceUtils.GetAllExternalResourceReferences(Document)

Method
Description:
Gets the ids of all elements which refer to external resources.
Remarks:
This function will not return the ids of nested Revit links; it only returns top-level references.
Syntax
Parameters
Parameter Type Description
document Document The Revit Document containing the external resource references.
Return Value
Type Description
ISet The ids of all elements which refer to external resources.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null