RemovePayloadCommand#

class omni.usd.commands.RemovePayloadCommand(
stage,
prim_path: Path,
payload: Payload,
)#

Bases: PayloadCommandBase

Remove specified payload from primitive.

Methods

__init__(stage, prim_path, payload)

Constructor.

do()

__init__(
stage,
prim_path: Path,
payload: Payload,
)#

Constructor.

Parameters:
  • stage (Usd.Stage) – The stage to operate.

  • prim_path (Sdf.Path) – The prim path to remove the payload.

  • payload (Sdf.Payload) – The specified payload to be removed.