---
title: "addTransformOperation(type:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/addtransformoperation(type:)"
---

# addTransformOperation(type:)

Adds a transform operation of the given kind to this prim’s transform stack.

## Declaration

```swift
func addTransformOperation(type: USDTransformOperation.Kind)
```

## Discussion

Discussion Creates the corresponding xformOp:* attribute and appends its name to the prim’s xformOpOrder.

## See Also

### Applying schemas and transforms

- [applyAPISchema(_:)](usdkit/usdprim/applyapischema(_:).md)
- [applyAPISchema(_:instanceName:)](usdkit/usdprim/applyapischema(_:instancename:).md)
