QueryAspectOptions Interface @beta

Options for streaming the aspects owned by a set of elements.

@see IModelDb.Elements.queryAspects

Properties

Name Type Description
aspectClassFullName string | undefined Return only instances of this aspect class or its subclasses.  
elementIds Id64Arg The elements whose aspects to return.  
excludedAspectClassFullNames ReadonlySet<string> | undefined Omit instances of these exact aspect classes.  
groupByOwner boolean | undefined If true, order the results so that aspects owned by the same element are contiguous.  
usePrimaryConn boolean | undefined If true, run the query on the primary connection so that uncommitted changes in an edit transaction are visible.  

Defined in

Last Updated: 03 September, 2026