Provision an iModel Inside a New iTwin
A 3-step recipe with Bentley Systems. We can help you get access.
Recipe · 3 steps
Provision an iModel Inside a New iTwin
with Bentley Systems · Digital Engineering & Asset Information Management
Create an iTwin, create an iModel inside it, and poll until initialized.
- Create the top-level iTwin project container that will own the iModel and its reality data.
- Create an iModel inside the newly created iTwin. The iTwinId links the iModel to its owning project container.
- Poll the iModel until its state reports initialized. The iModels API provisions storage asynchronously, so the resource may start as notInitialized immediately after creation.
What you'll need to have ready
- itwin: The iTwin creation payload (e.g. displayName, class, subClass).
- iModelName: The human-readable name for the new iModel.
- iModelDescription: An optional description for the new iModel.
For your developer
Arazzo workflow bentley-systems:provision-imodel, 3 operations: CreateiTwin → CreateIModel → GetIModel. Specs on APIs.io.