API Reference > imodeljs-frontend > Views > SpatialViewState > createBlank createBlank MethodStatic Beta Create a new blank SpatialViewState. The returned SpatialViewState will nave non-persistent empty CategorySelectorState and ModelSelectorState, and a non-persistent DisplayStyle3dState with default values for all of its components. Generally after creating a blank SpatialViewState, callers will modify the state to suit specific needs. createBlank(iModel: IModelConnection, origin: XYAndZ, extents: XYAndZ, rotation?: Matrix3d): SpatialViewState Parameter Type Description iModel IModelConnection The IModelConnection for the new SpatialViewState origin XYAndZ The origin for the new SpatialViewState extents XYAndZ The extents for the new SpatialViewState rotation Matrix3d The rotation of the new SpatialViewState. If undefined, use top view. Returns - SpatialViewState Defined in core/frontend/src/ViewState.ts Line 1662 Last Updated: 13 June, 2024