2023 Method
Changes 0
M

Element.GetExternalResourceReference

Description:
Gets the ExternalResourceReference associated with a specified external resource type.
Remarks:
For an element which has multiple external resource references under a specified type like AppearanceAssetElement, it will return the first one. See also: [!:Autodesk::Revit::DB::Element::getExternalResourceReferenceExpanded].
public ExternalResourceReference GetExternalResourceReference(
	ExternalResourceType resourceType
)
Return Value ExternalResourceReference The copy of the ExternalResourceReference associated with a specified external resource type.