omni.kit.window.file#
Classes Summary:
| Enum for dialog options. | |
| A pop up window in context manager style to perform operations when inside the context. | |
| Prompt window class to show when opening a read only file. | |
| Dialog class for saving stage. | 
Functions Summary:
| Prompt for the file to add reference or payload to. | |
| Check if current stage is dirty. If it’s dirty, it will ask if to save the file, then close stage. | |
| Get the file utils instance. | |
| Create a new USD stage. If currently opened stage is dirty, a prompt will show to let you save it. | |
| Bring up a file picker to choose a USD file to open. If currently opened stage is dirty, a prompt will show to let you save it. | |
| Open stage. If the current stage is dirty, a prompt will show to let you save it. | |
| Open stage and create a new edit layer. | |
| Check if current stage is dirty. If it’s dirty, ask to save the file, then execute callback. Otherwise runs callback directly. | |
| Register callback to call when opening a stage. | |
| Register callback to call when finish opening a stage. | |
| Reopen currently opened stage. If the stage is dirty, a prompt will show to let you save it. | |
| Save currently opened stage to file. Will call Save As for a newly created stage. | |
| Bring up a file picker to choose a file to save current stage to. | |
| Save current layers. |