newton.usd.get_physics_scenes#

newton.usd.get_physics_scenes(stage, root_path='/', exclude_paths=None)[source]#

Get physics scenes from a USD stage.

The search uses OpenUSD’s physics parser, including its instance-proxy traversal and subtree-pruning behavior.

Parameters:
  • stage (pxr.Usd.Stage) – The USD stage to search.

  • root_path (str) – The root of the subtree to search.

  • exclude_paths (Sequence[str] | None) – Prim paths whose subtrees should be excluded from the search.

Returns:

Physics scenes in parser order.

Return type:

list[Scene]