diff --git a/code/core/elements.py b/code/core/elements.py index 928c0fa..34e68b4 100644 --- a/code/core/elements.py +++ b/code/core/elements.py @@ -1065,9 +1065,9 @@ def "cube" ( layer.startTimeCode = time_samples[0] layer.endTimeCode = time_samples[-1] # Scene Unit Scale -layer.SetInfo(UsdGeom.Tokens.metersPerUnit, UsdGeom.LinearUnits.centimeters) +layer.pseudoRoot.SetInfo(UsdGeom.Tokens.metersPerUnit, UsdGeom.LinearUnits.centimeters) # Scene Up Axis -layer.SetInfo(UsdGeom.Tokens.upAxis, UsdGeom.Tokens.y) # Or UsdGeom.Tokens.z +layer.pseudoRoot.SetInfo(UsdGeom.Tokens.upAxis, UsdGeom.Tokens.y) # Or UsdGeom.Tokens.z #// ANCHOR_END: metadataLayerMetrics #// ANCHOR: debuggingTokens @@ -4439,4 +4439,4 @@ def traversal_kernel(path): extentsHint = root_geom_model_API.ComputeExtentsHint(bbox_cache) root_geom_model_API.SetExtentsHint(extentsHint , frame) #// ANCHOR_END: xformFull - \ No newline at end of file +