ExternalResourceUtilsGetAllExternalResourceReferences(Document) Method |
Gets the ids of all elements which refer to external resources.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static ISet<ElementId> GetAllExternalResourceReferences(
Document document
)
Public Shared Function GetAllExternalResourceReferences (
document As Document
) As ISet(Of ElementId)
public:
static ISet<ElementId^>^ GetAllExternalResourceReferences(
Document^ document
)
static member GetAllExternalResourceReferences :
document : Document -> ISet<ElementId>
Parameters
- document Document
-
The Revit Document containing the external resource references.
Return Value
ISetElementId
The ids of all elements which refer to external resources.
Exceptions
Remarks
This function will not return the ids of nested Revit links;
it only returns top-level references.
See Also