save_as#

omni.kit.window.file.save_as(
flatten,
on_save_done: Callable[[bool, str], None] | None = None,
)#

Bring up a file picker to choose a file to save current stage to.

Parameters:

flatten (bool) – Whether to flatten the stage or not.

Keyword Arguments:

on_save_done (Callable) – function to call after saving. Function Signature: on_save_done(result: bool, url: str) -> None