getAspects Method

Get the ElementAspect instances that are owned by the specified element.

getAspects(elementId: Id64String, aspectClassFullName?: string): ElementAspect[]

throws IModelError

Parameter Type Description
elementId Id64String Get ElementAspects associated with this Element
aspectClassFullName string Optionally filter ElementAspects polymorphically by this class name

Returns - ElementAspect[]

Defined in

Last Updated: 13 June, 2024