setDefaultViewId Method
Deprecated in 4.2.x - will not be removed until after 2026-06-13. Avoid setting this property - it is not practical for one single view to serve the needs of the many applications
that might wish to view the contents of the iModel.
Set the default view property the iModel.
setDefaultViewId(viewId: string): void
Parameter | Type | Description |
---|---|---|
viewId | string | The Id of the ViewDefinition to use as the default |
Returns - void
Defined in
- core/backend/src/IModelDb.ts Line 2737
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.