Extension: omni.fabric.commands-1.1.4 |
Documentation Generated: Jul 17, 2024 |
Overview
This extension provides a collection of commands for managing and manipulating primitives within a Fabric stage using USDRT API. It includes commands for creating, copying, moving, deleting, and transforming primitives, as well as grouping, ungrouping, and changing properties and attributes of these primitives. They are designed to work with Fabric, a framework within NVIDIA Omniverse for real-time graphics and simulation.
Important API List
DeleteFabricPrimsCommand: Deletes specified primitives from a Fabric stage.
MoveFabricPrimCommand: Moves a single Fabric prim to a new path within the same stage.
MoveFabricPrimsCommand: Moves multiple Fabric prims to new locations within the stage.
ToggleVisibilitySelectedFabricPrimsCommand: Toggles the visibility of selected Fabric primitives.
CreateFabricPrimWithDefaultXformCommand: Creates a Fabric primitive with a default transform.
CreateFabricPrimCommand: Creates a Fabric primitive.
CreateFabricPrimsCommand: Creates multiple Fabric primitives.
CreateDefaultXformOnFabricPrimCommand: Applies a default transform to a Fabric primitive.
CopyFabricPrimCommand: Copies a Fabric primitive to a new location in the stage.
CopyFabricPrimsCommand: Copies multiple Fabric primitives to new locations in the stage.
GroupFabricPrimsCommand: Groups multiple Fabric primitives under a new Xform primitive.
UngroupFabricPrimsCommand: Ungroups Fabric primitives from their common parent Xform primitive.
TransformFabricPrimCommand: Transforms a Fabric primitive with a given transformation matrix.
ChangeFabricPropertyCommand: Changes a specified property on a Fabric primitive.
General Use Case
Users can use this extension to perform various operations on primitives within a Fabric stage, such as creating, deleting, moving, grouping, and transforming primitives, as well as managing their properties and visibility. These commands facilitate the manipulation of scene elements in a programmatic and undoable manner, allowing for efficient scene management in the Omniverse Kit. For examples of how to use the APIs, please consult the Python usage pages.