UnlockSpecsCommand#
- class omni.kit.usd.layers.UnlockSpecsCommand(
 - spec_paths: str | List[str],
 - hierarchy=False,
 - usd_context: str | UsdContext = '',
 Bases:
AbstractLayerCommandUnlocks spec paths in the UsdContext
Methods
__init__(spec_paths[, hierarchy, usd_context])Constructor.
do()undo()- __init__(
 - spec_paths: str | List[str],
 - hierarchy=False,
 - usd_context: str | UsdContext = '',
 Constructor.
- Keyword Arguments:
 spec_paths (Union[str, List[str]]) – List of spec paths or single spec path to be unlocked.
hierarchy (bool) – Unlocking descendant specs or not.
usd_context (Union[str, omni.usd.UsdContext]) – Usd context name or instance. It uses default context if it’s empty.