|
| 1 | +# iTwin 101 |
| 2 | + |
| 3 | +**A developer-friendly introduction to Bentley's iTwin Platform.** |
| 4 | + |
| 5 | +The infrastructure industry has undergone a major shift — from static design files to **cloud-connected systems** that reflect how assets behave in real time. |
| 6 | + |
| 7 | +This shift is driven by the rise of **digital twins**: living models that combine infrastructure design with data from numerous cloud sources for a complete view of the asset. For example, a dam reporting structural health and energy output, or a smart building tracking occupancy, lighting, and air quality. It’s no longer just about designing — it’s about how an asset lives and performs in the real world. |
| 8 | + |
| 9 | +**Bentley Systems**, a long-standing leader in infrastructure software, created the **iTwin Platform** to support this evolution. While desktop tools like **MicroStation** and **AutoCAD** have supported infrastructure design for decades, the iTwin Platform brings this data into the cloud — where teams can visualize entire assets, integrate live data, and build connected solutions across industries. |
| 10 | + |
| 11 | +Following Bentley’s acquisition of **Cesium**, high-performance 3D geospatial visualization is now a built-in part of the iTwin ecosystem. **Cesium** is an open platform for streaming large-scale 3D data, and its developer sandbox, **Sandcastle**, makes it easy to prototype and interact with infrastructure in a global context. |
| 12 | + |
| 13 | +The **iTwin CLI** ties it all together — letting you manage iTwins, bring design data into the cloud, and visualize your models in Cesium Sandcastle — all from the command line. |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +### 🎓 What Is a Digital Twin? |
| 18 | + |
| 19 | +A **digital twin** is more than a design model. It’s a cloud-based, real-time digital representation of a physical asset—like a building, bridge, highway, or dam. A digital twin integrates multiple data layers: |
| 20 | + |
| 21 | +- **👩🔧 Design Data**: CAD and BIM models created using tools like MicroStation, Revit, AutoCAD, etc. |
| 22 | +- **🌍 Reality Data**: Photogrammetry, point clouds, and 3D meshes captured by drones or scanners. |
| 23 | +- **📈 Sensor Data**: Live IoT data reflecting asset performance, environmental conditions, and more. |
| 24 | +- **📂 External Repositories**: Additional cloud data sources that enrich the digital twin's context. |
| 25 | + |
| 26 | +What makes a digital twin powerful is the way these sources come together in the cloud to form a "living" version of an asset—something that's not just visual, but interactive and analyzable. |
| 27 | + |
| 28 | +--- |
| 29 | + |
| 30 | +### 🪧 Enter the iTwin |
| 31 | + |
| 32 | +The **iTwin** is Bentley’s implementation of a digital twin—a central hub that brings together all the data related to an infrastructure asset. It's built to be open, extensible, and deeply interoperable. |
| 33 | + |
| 34 | +At its core, an iTwin includes several key components: |
| 35 | + |
| 36 | +#### 🧱 iModel: Design Data, Standardized |
| 37 | + |
| 38 | +An **iModel** is a specialized cloud repository for 3D design data. It acts as a **common data environment** that unifies models from various design applications (MicroStation, Revit, Civil3D, etc.) into a single, coherent format. |
| 39 | + |
| 40 | +> Have a Revit file for a building? Add it to the iModel. |
| 41 | +> Got utility designs from MicroStation? Add them too. |
| 42 | +
|
| 43 | +The iModel isn’t just a storage format—it acts like **Git for infrastructure**. Designers "synchronize" their changes, which are stored as **changesets**. This allows for collaborative workflows, version tracking, and comparison of changes between versions. |
| 44 | + |
| 45 | +#### 🌎 Reality Data: Contextual Visualization |
| 46 | + |
| 47 | +Drones, scanners, and photogrammetry can capture detailed environmental data around your asset. This is imported into the iTwin to create photorealistic context and increase the accuracy of both design and decision-making. |
| 48 | + |
| 49 | +#### 📊 Sensor Data: Real-Time Awareness |
| 50 | + |
| 51 | +Digital twins aren’t just static snapshots. By integrating sensor or IoT data, iTwins reflect real-world conditions in real time. Think: |
| 52 | + |
| 53 | +- Energy usage |
| 54 | +- Equipment performance |
| 55 | +- Occupancy levels |
| 56 | +- Fault detection |
| 57 | + |
| 58 | +This makes the iTwin a true operational tool, not just a design archive. |
| 59 | + |
| 60 | +#### 📚 External Data: Extendable by Nature |
| 61 | + |
| 62 | +Need to connect to a custom database, web API, or document store? The iTwin is designed to consume and present external data as part of its interface. Through widgets, charts, or overlays, the twin can be tailored to meet specific business or project needs. |
| 63 | + |
| 64 | +--- |
| 65 | + |
| 66 | +### ⚙️ The Role of the iTwin CLI |
| 67 | + |
| 68 | +The **iTwin CLI** is a command-line tool that lets developers and technical users interact with the iTwin Platform through simple text commands. It simplifies many common tasks: |
| 69 | + |
| 70 | +- ✍️ **Create and manage iTwins** |
| 71 | +- 🛡️ **Set up access control and user roles** |
| 72 | +- 🔍 **Query or inspect metadata** |
| 73 | +- 📂 **Create iModels and populate them with design files** |
| 74 | +- 📰 **Track and compare changes with changesets** |
| 75 | +- 🔢 **Create named versions to mark project milestones** |
| 76 | +- ⇄ **Synchronize design data into the iModel** |
| 77 | +- 🌍 **Visualize the iTwin in Cesium Sandcastle** |
| 78 | + |
| 79 | +It serves as a lightweight, scriptable gateway into a powerful ecosystem. |
| 80 | + |
| 81 | +--- |
| 82 | + |
| 83 | +### 🗂️ iModels and Version Control |
| 84 | + |
| 85 | +Think of the iModel like Git. Multiple designers can work in parallel and synchronize changes when ready. Each sync produces a set of **changesets** that are stored with full history. This allows you to: |
| 86 | + |
| 87 | +- 📋 See who made which change |
| 88 | +- 🕓 Inspect previous states |
| 89 | +- ⚖️ Compare two versions to highlight changed elements |
| 90 | + |
| 91 | +You can also create **named versions** at key milestones: design freezes, review submissions, final approvals, etc. |
| 92 | + |
| 93 | +This not only supports tracking and review, but also enables advanced visualization and automation possibilities. |
| 94 | + |
| 95 | +--- |
| 96 | + |
| 97 | +### 🗃️ Storage and Synchronization |
| 98 | + |
| 99 | +iTwins contain a dedicated storage repository where design files and project documents can be centrally managed. This storage acts as a staging area for incoming files before they're synchronized into an iModel. |
| 100 | + |
| 101 | +The iTwin CLI supports using this shared storage to: |
| 102 | + |
| 103 | +- 📤 Upload and organize design files |
| 104 | +- 🔄 Sync them into the iModel |
| 105 | +- 📎 Add documents and media (PDFs, photos, drawings) |
| 106 | + |
| 107 | +Files uploaded into iTwin storage can be selectively synchronized using **connections** to control what gets added to the iModel and when. |
| 108 | + |
| 109 | +--- |
| 110 | + |
| 111 | +### 🌐 Geospatial Visualization with Cesium |
| 112 | + |
| 113 | +One of the most exciting features of the iTwin CLI is integration with **Cesium Sandcastle**, CesiumJS's interactive 3D globe environment. |
| 114 | + |
| 115 | +> Push your iTwin to Sandcastle and instantly visualize infrastructure assets in a real-world geospatial context. |
| 116 | +
|
| 117 | +Design data becomes globally interactive. Combined with reality meshes and IoT data, it opens up new opportunities for: |
| 118 | + |
| 119 | +- High-performance 3D visualization |
| 120 | +- Infrastructure analytics |
| 121 | +- Immersive design review |
| 122 | +- Public or stakeholder presentations |
| 123 | + |
| 124 | +--- |
| 125 | + |
| 126 | +### ✨ Wrapping Up |
| 127 | + |
| 128 | +The iTwin CLI makes it easy to build, manage, and explore digital twins using the iTwin Platform. For anyone interested in geospatial technology and digital twin workflows, it opens a new path to work with infrastructure data at scale, integrate diverse data sources, and publish them to a geospatially rich, interactive viewer. |
| 129 | + |
| 130 | +Whether you’re just exploring or already building, the iTwin CLI is your entry point into a next-generation platform for digital infrastructure. |
| 131 | + |
| 132 | +--- |
| 133 | + |
| 134 | +**Next up:** [Quickstart Guide →](/docs/quickstart.md) |
0 commit comments