Set the Stage Up Axis¶
You can set the
upAxis metadata on the stage using
UsdGeom.SetStageUpAxis to define which world axis points up. The tokens for the different axes are scoped in
Fallback stage upAxis is Y.
Existing objects will not be automatically rotated to adapt to the stage
upAxis. Learn more about stage up axis.
from pxr import UsdGeom # Set stage upAxis to Z. UsdGeom.UsdGeomSetStageUpAxis(stage, UsdGeom.Tokens.z)