---
title: "export(partIDs:)"
framework: Assignables
role: symbol
role_heading: Instance Method
platforms: [iOS 17.4+, iPadOS 17.4+, Mac Catalyst 17.4+]
path: "assignables/assignabledocument/export(partids:)"
---

# export(partIDs:)

Given a set of part identifiers, return a dictionary of part ID to data objects for the requested layers.

## Declaration

```swift
func export(partIDs: [AssignableDocument.PartID]) async throws -> [AssignableDocument.PartID : URL]
```

## Parameters

- `partIDs`: An array of part IDs to export. This is treated as a set.

## Return Value

Return Value A dictionary of part ID to URLs of the data stored on disk for the requested parts.

## See Also

### Exporting the parts

- [exportBaseAsPDF()](assignables/assignabledocument/exportbaseaspdf().md)
- [exportParts(identifiedBy:)](assignables/assignabledocument/exportparts(identifiedby:).md)
