Accessing ElementAspects

An ElementAspect is an in-memory representation of a BIS ElementAspect.

There can be [0..1] instances of ElementUniqueAspect per ElementAspect class per Element instance.

There can be [0..N] instances of ElementMultiAspect per ElementAspect class per Element instance.

const elementAspectClassFullName = "SomeDomain:SomeAspectClass";
const elementAspects = iModel.elements.getAspects(elementId, elementAspectClassFullName);

Last Updated: 15 May, 2024