ExternalResourceUtilsGetAllExternalResourceReferences(Document, ExternalResourceType) Method |
Gets the ids of all elements which refer to a specific type of external resource.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static ISet<ElementId> GetAllExternalResourceReferences(
Document document,
ExternalResourceType resourceType
)
Public Shared Function GetAllExternalResourceReferences (
document As Document,
resourceType As ExternalResourceType
) As ISet(Of ElementId)
public:
static ISet<ElementId^>^ GetAllExternalResourceReferences(
Document^ document,
ExternalResourceType^ resourceType
)
static member GetAllExternalResourceReferences :
document : Document *
resourceType : ExternalResourceType -> ISet<ElementId>
Parameters
- document Document
-
The Revit Document containing the external resource references.
- resourceType ExternalResourceType
-
The type of external resource.
Return Value
ISetElementId
The ids of all elements which refer to external resources of the specified type.
Exceptions
See Also