workio
Host API required for Work Files.
OpenFileCacher
Store information about opening file.
When file is opening QApplcation events should not be processed.
Source code in client/ayon_blender/api/workio.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
current_file()
Return the path of the open scene file.
Source code in client/ayon_blender/api/workio.py
61 62 63 64 65 66 67 |
|
file_extensions()
Return the supported file extensions for Blender scene files.
Source code in client/ayon_blender/api/workio.py
76 77 78 79 |
|
has_unsaved_changes()
Does the open scene file have unsaved changes?
Source code in client/ayon_blender/api/workio.py
70 71 72 73 |
|
open_file(filepath)
Open the scene file in Blender.
Source code in client/ayon_blender/api/workio.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
save_file(filepath, copy=False)
Save the open scene file.
Source code in client/ayon_blender/api/workio.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
work_root(session)
Return the default root to browse for work files.
Source code in client/ayon_blender/api/workio.py
82 83 84 85 86 87 88 89 |
|