API Reference > imodeljs-frontend > Views > SpatialViewState > createBlank createBlank MethodStatic 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: Readonly<WritableXYAndZ>, extents: Readonly<WritableXYAndZ>, rotation?: Matrix3d): SpatialViewState Parameter Type Description iModel IModelConnection The IModelConnection for the new SpatialViewState origin Readonly<WritableXYAndZ> The origin for the new SpatialViewState extents Readonly<WritableXYAndZ> 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/SpatialViewState.ts Line 67 Last Updated: 11 June, 2024