omni.usd.resolve_prim_path_references(layer: str, old_prim_path: str, new_prim_path: str) None

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

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

  • old_prim_path (str) – Old prim path.

  • new_prim_path (str) – New prim path that all old prim path references will be replaced to.