IModelConnection.Views Class

The collection of views for an IModelConnection.

Methods

Name Description
getThumbnail(viewId: Id64String): Promise<ThumbnailProps> Get a thumbnail for a view.  
getViewList(queryParams: ViewQueryParams): Promise<IModelConnection.ViewSpec[]> Get an array of the ViewSpecs for all views in this IModel that satisfy a ViewQueryParams.  
load(viewDefinitionId: Id64String): Promise<ViewState> Load a IModelConnection.Views.ViewState object from the specified ViewDefinition id.  
queryDefaultViewId(): Promise<Id64String> Query the Id of the default view associated with this iModel.  
queryProps(queryParams: ViewQueryParams): Promise<ViewDefinitionProps[]> Query for an array of ViewDefinitionProps  
saveThumbnail(viewId: Id64String, thumbnail: ThumbnailProps): Promise<void> Save a thumbnail for a view.  

Defined in

Last Updated: 08 January, 2020