API Reference > imodeljs-clients > iModelHubClient > IModelsHandler > create create Method Create an iModel from given seed file. In most cases IModelDb.create should be used instead. See iModel creation. This method does not work on browsers. If iModel creation fails before finishing file upload, partially created iModel is deleted. This method is not supported in iModelBank. create(requestContext: AuthorizedClientRequestContext, contextId: string, name: string, createOptions?: IModelCreateOptions): Promise<HubIModel> throws IModelHubError with IModelHubStatus.UserDoesNotHavePermission if the user does not have CreateiModel permission. throws Common iModelHub errors Parameter Type Description requestContext AuthorizedClientRequestContext The client request context. contextId string Id for the iModel's context. For iModelHub it should be the id of the connect context (Project or Asset). name string Name of the iModel on the Hub. createOptions IModelCreateOptions Optional arguments for iModel creation. Returns - Promise<HubIModel> Defined in core/clients/src/imodelhub/iModels.ts Line 571 Last Updated: 13 June, 2024