resolve_prim_paths_references

omni.usd.resolve_prim_paths_references(layer: str, old_prim_paths: List[str], new_prim_paths: List[str]) None

Resolve all prim paths reference to use new path. This is mainly used to remapping prim path reference after structure change of original prim.

Parameters
  • layer (Sdf.Layer) – Layer to resolve.

  • old_prim_paths (List[str]) – Old prim paths. new_prim_paths (list[str]): New prim paths that all old prim paths references will be replaced to.