API Reference > imodeljs-frontend > Tiles > TileTreeSupplier > addSpatialModels addSpatialModels MethodOptional Given the set of trees belonging to this supplier, add the modelIds associated with any trees representing spatial models. addSpatialModels(modelIds: Set<string>, trees: Iterable<{ id: any, owner: TileTreeOwner }>): void see Tiles.getSpatialModels. internal Parameter Type Description modelIds Set<string> trees Iterable<{ id: any, owner: TileTreeOwner }> Returns - void Defined in core/frontend/src/tile/TileTreeSupplier.ts Line 46 Last Updated: 11 June, 2024