open_stage#

omni.kit.window.file.open_stage(
path: str,
open_loadset=<UsdContextInitialLoadSet.LOAD_ALL: 0>,
)#

Open stage. If the current stage is dirty, a prompt will show to let you save it.

Parameters:

path (str) – path to open the stage.

Keyword Arguments:

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