open_with_new_edit_layer#

omni.kit.window.file.open_with_new_edit_layer(
path: str,
open_loadset=<UsdContextInitialLoadSet.LOAD_ALL: 0>,
callback: ~typing.Callable[[],
None] = None,
)#

Open stage and create a new edit layer.

Parameters:

path (str) – path to open the stage.

Keyword Arguments:
  • open_loadset (omni.usd.UsdContextInitialLoadSet) – initial load set enum, LOAD_ALL or LOAD_NONE.

  • callback – (Callable): callback to call after creating stage. Function Signature: callback() -> None