RenamePrimCommand

class omni.usd.commands.RenamePrimCommand(prim_path: str, new_name: str)

Bases: Command

Rename a primitive undoable Command.

Parameters
  • prim_path (str) – path of prim to be renamed.

  • new_name (str) – new name.

Methods

__init__(prim_path, new_name)

do()

undo()

__init__(prim_path: str, new_name: str)