API Reference > imodeljs-frontend > Views > DisplayStyleState > attachRealityModel attachRealityModel Method Attach a ContextRealityModel to this display style. attachRealityModel(props: ContextRealityModelProps): ContextRealityModelState see DisplayStyleSettings.contextRealityModels. see ContextRealityModels.add Parameter Type Description props ContextRealityModelProps Returns - ContextRealityModelState Defined in core/frontend/src/DisplayStyleState.ts Line 263 Last Updated: 11 June, 2024