API Reference > imodeljs-frontend > IModelConnection > IModelConnection > IModelConnection.Models IModelConnection.Models Class The collection of loaded ModelState objects for an IModelConnection. Implements Iterable<ModelState> Methods Name Description [iterator](): Iterator<ModelState, any, undefined> An iterator over all currently-loaded models. filterLoaded(modelIds: Id64Arg): undefined | Id64Set Given a set of modelIds, return the subset of corresponding models that are not currently loaded. getLoaded(id: string): undefined | ModelState Find a ModelState in the set of loaded Models by ModelId. getProps(modelIds: Id64Arg): Promise<ModelProps[]> Get a batch of ModelProps given a list of Model ids. load(modelIds: Id64Arg): Promise<void> load a set of Models by Ids. query(queryParams: ModelQueryParams): AsyncIterableIterator<ModelProps> Asynchronously stream ModelProps using the specified ModelQueryParams. queryModelRanges(modelIds: Id64Arg): Promise<Range3dProps[]> Query for a set of model ranges by ModelIds. queryProps(queryParams: ModelQueryParams): Promise<ModelProps[]> Query for a set of ModelProps of the specified ModelQueryParams. Properties Name Type Description loaded Accessor Map<string, ModelState> The set of loaded models for this IModelConnection, indexed by Id. repositoryModelId Accessor ReadOnly string The Id of the RepositoryModel. Defined in core/frontend/src/IModelConnection.ts Line 744 Last Updated: 29 November, 2022