setDefaultViewId Method

Deprecated  in 4.2.x. 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

Last Updated: 16 April, 2024