download Method

Method to download the seed file for iModel. This will download the original seed file, that was uploaded when creating iModel. To download a file that was updated with ChangeSets on iModelHub, see BriefcaseHandler.download.

download(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, path: string, progressCallback?: (progress: ProgressInfo) => void): Promise<void>

throws Common iModelHub errors

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context.
iModelId GuidString Id of the iModel. See HubIModel.
path string Path to download the seed file to, including file name.
progressCallback (progress: ProgressInfo) => void Callback for tracking progress.

Returns - Promise<void>

Defined in

Last Updated: 13 June, 2024