ToggleVisibilitySelectedFabricPrimsCommand#
- class omni.fabric.commands.scripts.commands.ToggleVisibilitySelectedFabricPrimsCommand(
- selected_paths: List[str],
- stage: Stage | None = None,
Bases:
Command
Toggles the visibility of the selected Fabric prims.
- Parameters:
selected_paths (List[str]) – The Fabric paths of the selected prims.
stage (Optional[usdrt.Usd.Stage]) – The stage where the prims exist. If not provided, the default stage is used.
Methods
__init__
(selected_paths[, stage])Toggles the visibility of the selected prims.
do
()Executes the toggle visibility command on the selected prims.
undo
()Undoes the toggle visibility command, restoring the original visibility states of the selected prims.
- __init__(
- selected_paths: List[str],
- stage: Stage | None = None,
Toggles the visibility of the selected prims.
- do()#
Executes the toggle visibility command on the selected prims.
- undo()#
Undoes the toggle visibility command, restoring the original visibility states of the selected prims.