ExternalResourceUtils.GetAllExternalResourceReferences
Description:
Gets the ids of all elements which refer to a specific type of external resource.
Gets the ids of all elements which refer to a specific type of external resource.
Overloads (2):
GetAllExternalResourceReferences(Document,ExternalResourceType)
public static ISet<ElementId> GetAllExternalResourceReferences(
Document document,
ExternalResourceType resourceType
)
-
documentThe Revit Document containing the external resource references.
-
resourceTypeThe type of external resource.
Return Value
ISet<ElementId>
The ids of all elements which refer to external resources of the specified type.
-
A non-optional argument was null