API Reference > imodeljs-frontend > Views > DisplayStyleState > detachRealityModelByNameAndUrl detachRealityModelByNameAndUrl Method Detach the first ContextRealityModel that matches the specified name and url. detachRealityModelByNameAndUrl(name: string, url: string): boolean see DisplayStyleSettings.contextRealityModels see ContextRealityModels.delete Parameter Type Description name string url string Returns - boolean Defined in core/frontend/src/DisplayStyleState.ts Line 273 Last Updated: 11 June, 2024