Share

ExternalResourceUtils.GetAllExternalResourceReferences(Document, ExternalResourceType) Method

Gets the ids of all elements which refer to a specific type of external resource.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static ISet<ElementId> GetAllExternalResourceReferences(
	Document document,
	ExternalResourceType resourceType
)

Parameters

document  Document
The Revit Document containing the external resource references.
resourceType  ExternalResourceType
The type of external resource.

Return Value

ISet<ElementId>
The ids of all elements which refer to external resources of the specified type.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?