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

Defined in

Last Updated: 08 January, 2020