<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDLayer/open(_:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDLayerV4open_7optionsACSS_AC11OpenOptionsVtKFZ"
  },
  "title" : "open(_:options:)"
}
-->

# open(_:options:)

Returns an already-loaded layer at the identifier, or opens it from
the resolved asset path.

```
static func open(_ identifier: String, options: USDLayer.OpenOptions = []) throws -> USDLayer
```

## Parameters

`identifier`

The layer identifier — typically a file path, URL,
or anonymous identifier.

`options`

Pass `.createNew` to create a fresh layer, overwriting
any existing file at the identifier.

## Return Value

The opened layer.

## Discussion> Throws: An error if the layer cannot be opened or created.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)