ReplaceReferencesCommand

class omni.usd.commands.ReplaceReferencesCommand(path: str, old_url: str, new_url: str)

Bases: Command

Clears/Add references undoable Command.

NOTE: THIS COMMAND HAS A LOT OF ISSUES AND IS DEPRECATED. PLEASE USE ReplaceReferenceCommand instead!

Parameters
  • path (str) – Prim path.

  • old_url (str) – Url to be replaced.

  • new_url (str) – Replacement url.

Methods

__init__(path, old_url, new_url)

do()

undo()

__init__(path: str, old_url: str, new_url: str)