CopyPrimsCommand#
- class omni.usd.commands.CopyPrimsCommand(
- paths_from: List[str],
- paths_to: List[str] = None,
- duplicate_layers: bool = False,
- combine_layers: bool = False,
- flatten_references: bool = False,
- copy_to_introducing_layer: bool = False,
- Bases: - Command- Copy multiple primitives to new paths. - This command is a batch version of command - CopyPrimCommand.- Methods - __init__(paths_from[, paths_to, ...])- Constructor. - do()- undo()- __init__(
- paths_from: List[str],
- paths_to: List[str] = None,
- duplicate_layers: bool = False,
- combine_layers: bool = False,
- flatten_references: bool = False,
- copy_to_introducing_layer: bool = False,
- Constructor. - See - omni.usd.commands.CopyPrimCommand.__init__()for the details of all parameters except paths_from, which is a list of prim paths to be copied.