AbstractLayerCommand#

class omni.kit.usd.layers.AbstractLayerCommand(
context_name_or_instance: str | UsdContext = '',
)#

Bases: Command

Abstract base class for layer commands. It’s mainly responsible to create a commmon class to save all states before command execution, and restore them in the undo function.

Methods

__init__([context_name_or_instance])

do()

do_impl()

Abstract do function to be implemented.

get_layers()

get_specs_linking()

get_specs_locking()

undo()

undo_impl()

Abstract undo function to be implemented.

__init__(
context_name_or_instance: str | UsdContext = '',
)#
do_impl()#

Abstract do function to be implemented.

undo_impl()#

Abstract undo function to be implemented.