2027 Method
Changes 0
M

ExternalResourceUtils.GetAllExternalResourceReferences

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.
Overloads (2):
public static ISet<ElementId> GetAllExternalResourceReferences(
	Document document
)
  • document
    The Revit Document containing the external resource references.
Return Value ISet<ElementId> The ids of all elements which refer to external resources.