API Reference > imodeljs-frontend > Views > ViewCreator2d > constructor constructor Method Constructs a ViewCreator2d using an IModelConnection. ViewCreator2d(_imodel: IModelConnection): ViewCreator2d Parameter Type Description _imodel IModelConnection IModelConnection to query for categories and/or models. Returns - ViewCreator2d Defined in core/frontend/src/ViewCreator2d.ts Line 58 Last Updated: 11 June, 2024