---
title: StructureBuilder
framework: roomplan
role: symbol
role_heading: Class
path: roomplan/structurebuilder
---

# StructureBuilder

An object that combines multiple scan sessions into a single captured result.

## Declaration

```swift
class StructureBuilder
```

## Mentioned in

Scanning the rooms of a single structure

## Overview

Overview This class in conjunction with CapturedStructure enables an app to export a 3D model that consists of multiple CapturedRoom instances. First, combine the rooms into a single captured result by calling capturedStructure(from:). Then, generate a 3D model of the whole structure by calling export(to:metadataURL:modelProvider:exportOptions:).

## Topics

### Creating a structure builder

- [init(options:)](roomplan/structurebuilder/init(options:).md)
- [StructureBuilder.ConfigurationOptions](roomplan/structurebuilder/configurationoptions.md)

### Building a captured structure

- [capturedStructure(from:)](roomplan/structurebuilder/capturedstructure(from:).md)

### Interpreting build errors

- [StructureBuilder.BuildError](roomplan/structurebuilder/builderror.md)

## See Also

### 3D Asset Output

- [Providing custom models for captured rooms and structure exports](roomplan/providing-custom-models-for-captured-rooms-and-structure-exports.md)
- [RoomBuilder](roomplan/roombuilder.md)
- [CapturedRoom.USDExportOptions](roomplan/capturedroom/usdexportoptions.md)
