<!--
{
  "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/USDStage/open(_:loadingPayloads:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDStageV4open_15loadingPayloadsAC10Foundation3URLV_AC15InitialLoadRuleOtKFZ"
  },
  "title" : "open(_:loadingPayloads:)"
}
-->

# open(_:loadingPayloads:)

Opens a stage using the file at a URL as its root layer.

```
static func open(_ url: URL, loadingPayloads: USDStage.InitialLoadRule = .all) throws -> USDStage
```

## Parameters

`url`

A file URL to use as the root layer of the new stage.

`loadingPayloads`

The rule that determines which payloads are loaded when opening the stage.

## Return Value

A new stage rooted at the layer loaded from `url`.

## Discussion> Throws: An error if the URL does not refer to a readable file.

---

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)