2027 Method
Changes 0
M

ExternalResourceUtils.GetAllExternalResourceReferences

Description:
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
)
  • document
    The Revit Document containing the external resource references.
  • resourceType
    The type of external resource.
Return Value ISet<ElementId> The ids of all elements which refer to external resources of the specified type.