Element.GetExternalResourceReferences
Method
Description:
Gets the map of the external resource references referenced by the element.
Gets the map of the external resource references referenced by the element.
Remarks:
For an element which has multiple external resource references under a specified type like AppearanceAssetElement, the first one will be the value in the map. See also: [!:Autodesk::Revit::DB::Element::getExternalResourceReferencesExpanded].
For an element which has multiple external resource references under a specified type like AppearanceAssetElement, the first one will be the value in the map. See also: [!:Autodesk::Revit::DB::Element::getExternalResourceReferencesExpanded].
Syntax
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This Element does not use any external resource. |