---
title: "add(_:position:)"
framework: usdkit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdprim/inheritcollection/add(_:position:)"
---

# add(_:position:)

Adds an inherit arc to the prim.

## Declaration

```swift
func add(_ primPath: USDLayer.Path, position: USDPrim.ListPosition = .backOfPrependList) throws
```

## Parameters

- `primPath`: The path of the prim to inherit from.
- `position`: Where to insert the inherit in the prim’s inherit list.

## Discussion

Discussion note: An error if the inherit cannot be added.
