API Reference > imodeljs-backend > iModels > IModelDb > IModelDb.Elements > getAspects getAspects Method Get the ElementAspect instances that are owned by the specified element. getAspects(elementId: string, aspectClassFullName?: string): ElementAspect[] throws IModelError Parameter Type Description elementId string 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 1853 Last Updated: 12 June, 2024