API Reference > imodeljs-backend > iModels > IModelDb > IModelDb.Elements > getAspect getAspect Method Get a single ElementAspect by its instance Id. getAspect(aspectInstanceId: string): ElementAspect throws IModelError Parameter Type Description aspectInstanceId string Returns - ElementAspect Defined in core/backend/src/IModelDb.ts Line 1836 Last Updated: 12 June, 2024