API Reference > imodeljs-backend > iModels > IModelDb.Elements > getAspects 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 core/backend/src/IModelDb.ts Line 1883 Last Updated: 13 June, 2024