---
title: "init(attributes:)"
framework: roomplan
role: symbol
role_heading: Initializer
path: "roomplan/capturedroom/attributescodablerepresentation/init(attributes:)"
---

# init(attributes:)

Creates an attributes codable representation with the given collection of object attributes.

## Declaration

```swift
init(attributes: [any CapturedRoomAttribute])
```

## Parameters

- `attributes`: A collection of object attributes to serialize.

## See Also

### Creating an attributes codable representation

- [init(from:)](roomplan/capturedroom/attributescodablerepresentation/init(from:).md)
