Skip to content

Introduction to OpenUSD

A stage presents the composed scene. Layers carry authored opinions, and prim paths identify objects in the composed namespace. Keeping asset authoring separate from shot overrides makes contributions easier to inspect.

from pxr import Usd
stage = Usd.Stage.Open("example.usda")
if not stage:
raise RuntimeError("Could not open example.usda")
for prim in stage.Traverse():
print(prim.GetPath(), prim.GetTypeName())

Traversal shows the composed prims. Inspect the prim stack or property stack when you need to trace an authored opinion to a layer.