ChangeSettingCommand#

class omni.kit.commands.builtin.ChangeSettingCommand(path, value, prev=None)#

Bases: Command

Change setting Command.

Parameters:
  • path – Path to the setting to change.

  • value – New value to change to.

  • prev – Previous value to for undo operation. If `None` current value would be saved as previous.

Methods

__init__(path, value[, prev])

do()

undo()

__init__(path, value, prev=None)#