getInitializationState Method

Get the InitializationState for the specified iModel. See iModel creation.

getInitializationState(requestContext: AuthorizedClientRequestContext, iModelId: GuidString): Promise<InitializationState>

throws IModelHubError with IModelHubStatus.FileDoesNotExist if the seed file was not found.

throws Common iModelHub errors

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context.
iModelId GuidString Id of the iModel. See HubIModel.

Returns - Promise<InitializationState>

State of the seed file initialization.

Defined in

Last Updated: 13 June, 2024