fake-bpy-module 20240321__py3-none-any.whl → 20240324__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +253 -247
- bmesh/utils/__init__.pyi +54 -54
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +646 -823
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +331 -429
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86446 -87424
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -1
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/METADATA +1 -1
- fake_bpy_module-20240324.dist-info/RECORD +343 -0
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/top_level.txt +0 -0
bpy/ops/file/__init__.pyi
CHANGED
|
@@ -4,87 +4,75 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def autopack_toggle(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
12
10
|
):
|
|
13
11
|
"""Automatically pack all external files into the .blend file
|
|
14
12
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
18
16
|
"""
|
|
19
17
|
|
|
20
18
|
...
|
|
21
19
|
|
|
22
20
|
def bookmark_add(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
27
|
-
undo: typing.Optional[bool] = None,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
28
24
|
):
|
|
29
25
|
"""Add a bookmark for the selected/active directory
|
|
30
26
|
|
|
31
|
-
:type override_context: typing.
|
|
32
|
-
:type execution_context: typing.
|
|
33
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
...
|
|
37
33
|
|
|
38
34
|
def bookmark_cleanup(
|
|
39
|
-
override_context: typing.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
43
|
-
undo: typing.Optional[bool] = None,
|
|
35
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
+
execution_context: typing.Union[str, int] = None,
|
|
37
|
+
undo: bool = None,
|
|
44
38
|
):
|
|
45
39
|
"""Delete all invalid bookmarks
|
|
46
40
|
|
|
47
|
-
:type override_context: typing.
|
|
48
|
-
:type execution_context: typing.
|
|
49
|
-
:type undo:
|
|
41
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
+
:type execution_context: typing.Union[str, int]
|
|
43
|
+
:type undo: bool
|
|
50
44
|
"""
|
|
51
45
|
|
|
52
46
|
...
|
|
53
47
|
|
|
54
48
|
def bookmark_delete(
|
|
55
|
-
override_context: typing.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
undo: typing.Optional[bool] = None,
|
|
60
|
-
*,
|
|
61
|
-
index: typing.Optional[typing.Any] = -1,
|
|
49
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
+
execution_context: typing.Union[str, int] = None,
|
|
51
|
+
undo: bool = None,
|
|
52
|
+
index: typing.Any = -1,
|
|
62
53
|
):
|
|
63
54
|
"""Delete selected bookmark
|
|
64
55
|
|
|
65
|
-
:type override_context: typing.
|
|
66
|
-
:type execution_context: typing.
|
|
67
|
-
:type undo:
|
|
56
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
+
:type execution_context: typing.Union[str, int]
|
|
58
|
+
:type undo: bool
|
|
68
59
|
:param index: Index
|
|
69
|
-
:type index: typing.
|
|
60
|
+
:type index: typing.Any
|
|
70
61
|
"""
|
|
71
62
|
|
|
72
63
|
...
|
|
73
64
|
|
|
74
65
|
def bookmark_move(
|
|
75
|
-
override_context: typing.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
undo: typing.Optional[bool] = None,
|
|
80
|
-
*,
|
|
81
|
-
direction: typing.Optional[typing.Any] = "TOP",
|
|
66
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
+
execution_context: typing.Union[str, int] = None,
|
|
68
|
+
undo: bool = None,
|
|
69
|
+
direction: typing.Any = "TOP",
|
|
82
70
|
):
|
|
83
71
|
"""Move the active bookmark up/down in the list
|
|
84
72
|
|
|
85
|
-
:type override_context: typing.
|
|
86
|
-
:type execution_context: typing.
|
|
87
|
-
:type undo:
|
|
73
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
+
:type execution_context: typing.Union[str, int]
|
|
75
|
+
:type undo: bool
|
|
88
76
|
:param direction: Direction, Direction to move the active bookmark towards
|
|
89
77
|
|
|
90
78
|
TOP
|
|
@@ -98,116 +86,102 @@ def bookmark_move(
|
|
|
98
86
|
|
|
99
87
|
BOTTOM
|
|
100
88
|
Bottom -- Bottom of the list.
|
|
101
|
-
:type direction: typing.
|
|
89
|
+
:type direction: typing.Any
|
|
102
90
|
"""
|
|
103
91
|
|
|
104
92
|
...
|
|
105
93
|
|
|
106
94
|
def cancel(
|
|
107
|
-
override_context: typing.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
111
|
-
undo: typing.Optional[bool] = None,
|
|
95
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
96
|
+
execution_context: typing.Union[str, int] = None,
|
|
97
|
+
undo: bool = None,
|
|
112
98
|
):
|
|
113
99
|
"""Cancel loading of selected file
|
|
114
100
|
|
|
115
|
-
:type override_context: typing.
|
|
116
|
-
:type execution_context: typing.
|
|
117
|
-
:type undo:
|
|
101
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
102
|
+
:type execution_context: typing.Union[str, int]
|
|
103
|
+
:type undo: bool
|
|
118
104
|
"""
|
|
119
105
|
|
|
120
106
|
...
|
|
121
107
|
|
|
122
108
|
def delete(
|
|
123
|
-
override_context: typing.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
127
|
-
undo: typing.Optional[bool] = None,
|
|
109
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
110
|
+
execution_context: typing.Union[str, int] = None,
|
|
111
|
+
undo: bool = None,
|
|
128
112
|
):
|
|
129
113
|
"""Move selected files to the trash or recycle bin
|
|
130
114
|
|
|
131
|
-
:type override_context: typing.
|
|
132
|
-
:type execution_context: typing.
|
|
133
|
-
:type undo:
|
|
115
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
116
|
+
:type execution_context: typing.Union[str, int]
|
|
117
|
+
:type undo: bool
|
|
134
118
|
"""
|
|
135
119
|
|
|
136
120
|
...
|
|
137
121
|
|
|
138
122
|
def directory_new(
|
|
139
|
-
override_context: typing.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
143
|
-
undo: typing.Optional[bool] = None,
|
|
144
|
-
*,
|
|
123
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
124
|
+
execution_context: typing.Union[str, int] = None,
|
|
125
|
+
undo: bool = None,
|
|
145
126
|
directory: typing.Union[str, typing.Any] = "",
|
|
146
|
-
open: typing.
|
|
147
|
-
confirm: typing.
|
|
127
|
+
open: typing.Union[bool, typing.Any] = False,
|
|
128
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
148
129
|
):
|
|
149
130
|
"""Create a new directory
|
|
150
131
|
|
|
151
|
-
:type override_context: typing.
|
|
152
|
-
:type execution_context: typing.
|
|
153
|
-
:type undo:
|
|
132
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
133
|
+
:type execution_context: typing.Union[str, int]
|
|
134
|
+
:type undo: bool
|
|
154
135
|
:param directory: Directory, Name of new directory
|
|
155
136
|
:type directory: typing.Union[str, typing.Any]
|
|
156
137
|
:param open: Open, Open new directory
|
|
157
|
-
:type open: typing.
|
|
138
|
+
:type open: typing.Union[bool, typing.Any]
|
|
158
139
|
:param confirm: Confirm, Prompt for confirmation
|
|
159
|
-
:type confirm: typing.
|
|
140
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
160
141
|
"""
|
|
161
142
|
|
|
162
143
|
...
|
|
163
144
|
|
|
164
145
|
def edit_directory_path(
|
|
165
|
-
override_context: typing.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
169
|
-
undo: typing.Optional[bool] = None,
|
|
146
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
147
|
+
execution_context: typing.Union[str, int] = None,
|
|
148
|
+
undo: bool = None,
|
|
170
149
|
):
|
|
171
150
|
"""Start editing directory field
|
|
172
151
|
|
|
173
|
-
:type override_context: typing.
|
|
174
|
-
:type execution_context: typing.
|
|
175
|
-
:type undo:
|
|
152
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
153
|
+
:type execution_context: typing.Union[str, int]
|
|
154
|
+
:type undo: bool
|
|
176
155
|
"""
|
|
177
156
|
|
|
178
157
|
...
|
|
179
158
|
|
|
180
159
|
def execute(
|
|
181
|
-
override_context: typing.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
185
|
-
undo: typing.Optional[bool] = None,
|
|
160
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
161
|
+
execution_context: typing.Union[str, int] = None,
|
|
162
|
+
undo: bool = None,
|
|
186
163
|
):
|
|
187
164
|
"""Execute selected file
|
|
188
165
|
|
|
189
|
-
:type override_context: typing.
|
|
190
|
-
:type execution_context: typing.
|
|
191
|
-
:type undo:
|
|
166
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
167
|
+
:type execution_context: typing.Union[str, int]
|
|
168
|
+
:type undo: bool
|
|
192
169
|
"""
|
|
193
170
|
|
|
194
171
|
...
|
|
195
172
|
|
|
196
173
|
def external_operation(
|
|
197
|
-
override_context: typing.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
201
|
-
undo: typing.Optional[bool] = None,
|
|
202
|
-
*,
|
|
174
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
+
execution_context: typing.Union[str, int] = None,
|
|
176
|
+
undo: bool = None,
|
|
203
177
|
filepath: typing.Union[str, typing.Any] = "",
|
|
204
|
-
operation: typing.
|
|
178
|
+
operation: typing.Any = "OPEN",
|
|
205
179
|
):
|
|
206
180
|
"""Perform external operation on a file or folder
|
|
207
181
|
|
|
208
|
-
:type override_context: typing.
|
|
209
|
-
:type execution_context: typing.
|
|
210
|
-
:type undo:
|
|
182
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
+
:type execution_context: typing.Union[str, int]
|
|
184
|
+
:type undo: bool
|
|
211
185
|
:param filepath: File or folder path
|
|
212
186
|
:type filepath: typing.Union[str, typing.Any]
|
|
213
187
|
:param operation: Operation, Operation to perform on the file or path
|
|
@@ -256,131 +230,122 @@ def external_operation(
|
|
|
256
230
|
|
|
257
231
|
CMD
|
|
258
232
|
Command Prompt Here -- Open a command prompt here.
|
|
259
|
-
:type operation: typing.
|
|
233
|
+
:type operation: typing.Any
|
|
260
234
|
"""
|
|
261
235
|
|
|
262
236
|
...
|
|
263
237
|
|
|
264
238
|
def filenum(
|
|
265
|
-
override_context: typing.
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
undo: typing.Optional[bool] = None,
|
|
270
|
-
*,
|
|
271
|
-
increment: typing.Optional[typing.Any] = 1,
|
|
239
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
240
|
+
execution_context: typing.Union[str, int] = None,
|
|
241
|
+
undo: bool = None,
|
|
242
|
+
increment: typing.Any = 1,
|
|
272
243
|
):
|
|
273
244
|
"""Increment number in filename
|
|
274
245
|
|
|
275
|
-
:type override_context: typing.
|
|
276
|
-
:type execution_context: typing.
|
|
277
|
-
:type undo:
|
|
246
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
247
|
+
:type execution_context: typing.Union[str, int]
|
|
248
|
+
:type undo: bool
|
|
278
249
|
:param increment: Increment
|
|
279
|
-
:type increment: typing.
|
|
250
|
+
:type increment: typing.Any
|
|
280
251
|
"""
|
|
281
252
|
|
|
282
253
|
...
|
|
283
254
|
|
|
284
255
|
def filepath_drop(
|
|
285
|
-
override_context: typing.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
289
|
-
undo: typing.Optional[bool] = None,
|
|
290
|
-
*,
|
|
256
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
257
|
+
execution_context: typing.Union[str, int] = None,
|
|
258
|
+
undo: bool = None,
|
|
291
259
|
filepath: typing.Union[str, typing.Any] = "Path",
|
|
292
260
|
):
|
|
293
261
|
"""Undocumented, consider contributing.
|
|
294
262
|
|
|
295
|
-
:type override_context: typing.
|
|
296
|
-
:type execution_context: typing.
|
|
297
|
-
:type undo:
|
|
263
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
264
|
+
:type execution_context: typing.Union[str, int]
|
|
265
|
+
:type undo: bool
|
|
298
266
|
:type filepath: typing.Union[str, typing.Any]
|
|
299
267
|
"""
|
|
300
268
|
|
|
301
269
|
...
|
|
302
270
|
|
|
303
271
|
def find_missing_files(
|
|
304
|
-
override_context: typing.
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
undo: typing.Optional[bool] = None,
|
|
309
|
-
*,
|
|
310
|
-
find_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
272
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
273
|
+
execution_context: typing.Union[str, int] = None,
|
|
274
|
+
undo: bool = None,
|
|
275
|
+
find_all: typing.Union[bool, typing.Any] = False,
|
|
311
276
|
directory: typing.Union[str, typing.Any] = "",
|
|
312
|
-
hide_props_region: typing.
|
|
313
|
-
check_existing: typing.
|
|
314
|
-
filter_blender: typing.
|
|
315
|
-
filter_backup: typing.
|
|
316
|
-
filter_image: typing.
|
|
317
|
-
filter_movie: typing.
|
|
318
|
-
filter_python: typing.
|
|
319
|
-
filter_font: typing.
|
|
320
|
-
filter_sound: typing.
|
|
321
|
-
filter_text: typing.
|
|
322
|
-
filter_archive: typing.
|
|
323
|
-
filter_btx: typing.
|
|
324
|
-
filter_collada: typing.
|
|
325
|
-
filter_alembic: typing.
|
|
326
|
-
filter_usd: typing.
|
|
327
|
-
filter_obj: typing.
|
|
328
|
-
filter_volume: typing.
|
|
329
|
-
filter_folder: typing.
|
|
330
|
-
filter_blenlib: typing.
|
|
331
|
-
filemode: typing.
|
|
332
|
-
display_type: typing.
|
|
333
|
-
sort_method: typing.
|
|
277
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
278
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
279
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
280
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
281
|
+
filter_image: typing.Union[bool, typing.Any] = False,
|
|
282
|
+
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
283
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
284
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
285
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
286
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
287
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
288
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
289
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
290
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
291
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
292
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
293
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
294
|
+
filter_folder: typing.Union[bool, typing.Any] = False,
|
|
295
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
296
|
+
filemode: typing.Any = 9,
|
|
297
|
+
display_type: typing.Any = "DEFAULT",
|
|
298
|
+
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
334
299
|
):
|
|
335
300
|
"""Try to find missing external files
|
|
336
301
|
|
|
337
|
-
:type override_context: typing.
|
|
338
|
-
:type execution_context: typing.
|
|
339
|
-
:type undo:
|
|
302
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
303
|
+
:type execution_context: typing.Union[str, int]
|
|
304
|
+
:type undo: bool
|
|
340
305
|
:param find_all: Find All, Find all files in the search path (not just missing)
|
|
341
|
-
:type find_all: typing.
|
|
306
|
+
:type find_all: typing.Union[bool, typing.Any]
|
|
342
307
|
:param directory: Directory, Directory of the file
|
|
343
308
|
:type directory: typing.Union[str, typing.Any]
|
|
344
309
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
345
|
-
:type hide_props_region: typing.
|
|
310
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
346
311
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
347
|
-
:type check_existing: typing.
|
|
312
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
348
313
|
:param filter_blender: Filter .blend files
|
|
349
|
-
:type filter_blender: typing.
|
|
314
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
350
315
|
:param filter_backup: Filter .blend files
|
|
351
|
-
:type filter_backup: typing.
|
|
316
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
352
317
|
:param filter_image: Filter image files
|
|
353
|
-
:type filter_image: typing.
|
|
318
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
354
319
|
:param filter_movie: Filter movie files
|
|
355
|
-
:type filter_movie: typing.
|
|
320
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
356
321
|
:param filter_python: Filter Python files
|
|
357
|
-
:type filter_python: typing.
|
|
322
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
358
323
|
:param filter_font: Filter font files
|
|
359
|
-
:type filter_font: typing.
|
|
324
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
360
325
|
:param filter_sound: Filter sound files
|
|
361
|
-
:type filter_sound: typing.
|
|
326
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
362
327
|
:param filter_text: Filter text files
|
|
363
|
-
:type filter_text: typing.
|
|
328
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
364
329
|
:param filter_archive: Filter archive files
|
|
365
|
-
:type filter_archive: typing.
|
|
330
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
366
331
|
:param filter_btx: Filter btx files
|
|
367
|
-
:type filter_btx: typing.
|
|
332
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
368
333
|
:param filter_collada: Filter COLLADA files
|
|
369
|
-
:type filter_collada: typing.
|
|
334
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
370
335
|
:param filter_alembic: Filter Alembic files
|
|
371
|
-
:type filter_alembic: typing.
|
|
336
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
372
337
|
:param filter_usd: Filter USD files
|
|
373
|
-
:type filter_usd: typing.
|
|
338
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
374
339
|
:param filter_obj: Filter OBJ files
|
|
375
|
-
:type filter_obj: typing.
|
|
340
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
376
341
|
:param filter_volume: Filter OpenVDB volume files
|
|
377
|
-
:type filter_volume: typing.
|
|
342
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
378
343
|
:param filter_folder: Filter folders
|
|
379
|
-
:type filter_folder: typing.
|
|
344
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
380
345
|
:param filter_blenlib: Filter Blender IDs
|
|
381
|
-
:type filter_blenlib: typing.
|
|
346
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
382
347
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
383
|
-
:type filemode: typing.
|
|
348
|
+
:type filemode: typing.Any
|
|
384
349
|
:param display_type: Display Type
|
|
385
350
|
|
|
386
351
|
DEFAULT
|
|
@@ -394,295 +359,261 @@ def find_missing_files(
|
|
|
394
359
|
|
|
395
360
|
THUMBNAIL
|
|
396
361
|
Thumbnails -- Display files as thumbnails.
|
|
397
|
-
:type display_type: typing.
|
|
362
|
+
:type display_type: typing.Any
|
|
398
363
|
:param sort_method: File sorting mode
|
|
399
|
-
:type sort_method: typing.
|
|
364
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
400
365
|
"""
|
|
401
366
|
|
|
402
367
|
...
|
|
403
368
|
|
|
404
369
|
def hidedot(
|
|
405
|
-
override_context: typing.
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
409
|
-
undo: typing.Optional[bool] = None,
|
|
370
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
371
|
+
execution_context: typing.Union[str, int] = None,
|
|
372
|
+
undo: bool = None,
|
|
410
373
|
):
|
|
411
374
|
"""Toggle hide hidden dot files
|
|
412
375
|
|
|
413
|
-
:type override_context: typing.
|
|
414
|
-
:type execution_context: typing.
|
|
415
|
-
:type undo:
|
|
376
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
377
|
+
:type execution_context: typing.Union[str, int]
|
|
378
|
+
:type undo: bool
|
|
416
379
|
"""
|
|
417
380
|
|
|
418
381
|
...
|
|
419
382
|
|
|
420
383
|
def highlight(
|
|
421
|
-
override_context: typing.
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
425
|
-
undo: typing.Optional[bool] = None,
|
|
384
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
385
|
+
execution_context: typing.Union[str, int] = None,
|
|
386
|
+
undo: bool = None,
|
|
426
387
|
):
|
|
427
388
|
"""Highlight selected file(s)
|
|
428
389
|
|
|
429
|
-
:type override_context: typing.
|
|
430
|
-
:type execution_context: typing.
|
|
431
|
-
:type undo:
|
|
390
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
391
|
+
:type execution_context: typing.Union[str, int]
|
|
392
|
+
:type undo: bool
|
|
432
393
|
"""
|
|
433
394
|
|
|
434
395
|
...
|
|
435
396
|
|
|
436
397
|
def make_paths_absolute(
|
|
437
|
-
override_context: typing.
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
441
|
-
undo: typing.Optional[bool] = None,
|
|
398
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
399
|
+
execution_context: typing.Union[str, int] = None,
|
|
400
|
+
undo: bool = None,
|
|
442
401
|
):
|
|
443
402
|
"""Make all paths to external files absolute
|
|
444
403
|
|
|
445
|
-
:type override_context: typing.
|
|
446
|
-
:type execution_context: typing.
|
|
447
|
-
:type undo:
|
|
404
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
405
|
+
:type execution_context: typing.Union[str, int]
|
|
406
|
+
:type undo: bool
|
|
448
407
|
"""
|
|
449
408
|
|
|
450
409
|
...
|
|
451
410
|
|
|
452
411
|
def make_paths_relative(
|
|
453
|
-
override_context: typing.
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
457
|
-
undo: typing.Optional[bool] = None,
|
|
412
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
413
|
+
execution_context: typing.Union[str, int] = None,
|
|
414
|
+
undo: bool = None,
|
|
458
415
|
):
|
|
459
416
|
"""Make all paths to external files relative to current .blend
|
|
460
417
|
|
|
461
|
-
:type override_context: typing.
|
|
462
|
-
:type execution_context: typing.
|
|
463
|
-
:type undo:
|
|
418
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
419
|
+
:type execution_context: typing.Union[str, int]
|
|
420
|
+
:type undo: bool
|
|
464
421
|
"""
|
|
465
422
|
|
|
466
423
|
...
|
|
467
424
|
|
|
468
425
|
def mouse_execute(
|
|
469
|
-
override_context: typing.
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
473
|
-
undo: typing.Optional[bool] = None,
|
|
426
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
427
|
+
execution_context: typing.Union[str, int] = None,
|
|
428
|
+
undo: bool = None,
|
|
474
429
|
):
|
|
475
430
|
"""Perform the current execute action for the file under the cursor (e.g. open the file)
|
|
476
431
|
|
|
477
|
-
:type override_context: typing.
|
|
478
|
-
:type execution_context: typing.
|
|
479
|
-
:type undo:
|
|
432
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
433
|
+
:type execution_context: typing.Union[str, int]
|
|
434
|
+
:type undo: bool
|
|
480
435
|
"""
|
|
481
436
|
|
|
482
437
|
...
|
|
483
438
|
|
|
484
439
|
def next(
|
|
485
|
-
override_context: typing.
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
489
|
-
undo: typing.Optional[bool] = None,
|
|
440
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
441
|
+
execution_context: typing.Union[str, int] = None,
|
|
442
|
+
undo: bool = None,
|
|
490
443
|
):
|
|
491
444
|
"""Move to next folder
|
|
492
445
|
|
|
493
|
-
:type override_context: typing.
|
|
494
|
-
:type execution_context: typing.
|
|
495
|
-
:type undo:
|
|
446
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
447
|
+
:type execution_context: typing.Union[str, int]
|
|
448
|
+
:type undo: bool
|
|
496
449
|
"""
|
|
497
450
|
|
|
498
451
|
...
|
|
499
452
|
|
|
500
453
|
def pack_all(
|
|
501
|
-
override_context: typing.
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
505
|
-
undo: typing.Optional[bool] = None,
|
|
454
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
455
|
+
execution_context: typing.Union[str, int] = None,
|
|
456
|
+
undo: bool = None,
|
|
506
457
|
):
|
|
507
458
|
"""Pack all used external files into this .blend
|
|
508
459
|
|
|
509
|
-
:type override_context: typing.
|
|
510
|
-
:type execution_context: typing.
|
|
511
|
-
:type undo:
|
|
460
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
461
|
+
:type execution_context: typing.Union[str, int]
|
|
462
|
+
:type undo: bool
|
|
512
463
|
"""
|
|
513
464
|
|
|
514
465
|
...
|
|
515
466
|
|
|
516
467
|
def pack_libraries(
|
|
517
|
-
override_context: typing.
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
521
|
-
undo: typing.Optional[bool] = None,
|
|
468
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
469
|
+
execution_context: typing.Union[str, int] = None,
|
|
470
|
+
undo: bool = None,
|
|
522
471
|
):
|
|
523
472
|
"""Store all data-blocks linked from other .blend files in the current .blend file. Library references are preserved so the linked data-blocks can be unpacked again
|
|
524
473
|
|
|
525
|
-
:type override_context: typing.
|
|
526
|
-
:type execution_context: typing.
|
|
527
|
-
:type undo:
|
|
474
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
475
|
+
:type execution_context: typing.Union[str, int]
|
|
476
|
+
:type undo: bool
|
|
528
477
|
"""
|
|
529
478
|
|
|
530
479
|
...
|
|
531
480
|
|
|
532
481
|
def parent(
|
|
533
|
-
override_context: typing.
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
537
|
-
undo: typing.Optional[bool] = None,
|
|
482
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
483
|
+
execution_context: typing.Union[str, int] = None,
|
|
484
|
+
undo: bool = None,
|
|
538
485
|
):
|
|
539
486
|
"""Move to parent directory
|
|
540
487
|
|
|
541
|
-
:type override_context: typing.
|
|
542
|
-
:type execution_context: typing.
|
|
543
|
-
:type undo:
|
|
488
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
+
:type execution_context: typing.Union[str, int]
|
|
490
|
+
:type undo: bool
|
|
544
491
|
"""
|
|
545
492
|
|
|
546
493
|
...
|
|
547
494
|
|
|
548
495
|
def previous(
|
|
549
|
-
override_context: typing.
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
553
|
-
undo: typing.Optional[bool] = None,
|
|
496
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
497
|
+
execution_context: typing.Union[str, int] = None,
|
|
498
|
+
undo: bool = None,
|
|
554
499
|
):
|
|
555
500
|
"""Move to previous folder
|
|
556
501
|
|
|
557
|
-
:type override_context: typing.
|
|
558
|
-
:type execution_context: typing.
|
|
559
|
-
:type undo:
|
|
502
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
503
|
+
:type execution_context: typing.Union[str, int]
|
|
504
|
+
:type undo: bool
|
|
560
505
|
"""
|
|
561
506
|
|
|
562
507
|
...
|
|
563
508
|
|
|
564
509
|
def refresh(
|
|
565
|
-
override_context: typing.
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
569
|
-
undo: typing.Optional[bool] = None,
|
|
510
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
511
|
+
execution_context: typing.Union[str, int] = None,
|
|
512
|
+
undo: bool = None,
|
|
570
513
|
):
|
|
571
514
|
"""Refresh the file list
|
|
572
515
|
|
|
573
|
-
:type override_context: typing.
|
|
574
|
-
:type execution_context: typing.
|
|
575
|
-
:type undo:
|
|
516
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
517
|
+
:type execution_context: typing.Union[str, int]
|
|
518
|
+
:type undo: bool
|
|
576
519
|
"""
|
|
577
520
|
|
|
578
521
|
...
|
|
579
522
|
|
|
580
523
|
def rename(
|
|
581
|
-
override_context: typing.
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
585
|
-
undo: typing.Optional[bool] = None,
|
|
524
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
525
|
+
execution_context: typing.Union[str, int] = None,
|
|
526
|
+
undo: bool = None,
|
|
586
527
|
):
|
|
587
528
|
"""Rename file or file directory
|
|
588
529
|
|
|
589
|
-
:type override_context: typing.
|
|
590
|
-
:type execution_context: typing.
|
|
591
|
-
:type undo:
|
|
530
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
531
|
+
:type execution_context: typing.Union[str, int]
|
|
532
|
+
:type undo: bool
|
|
592
533
|
"""
|
|
593
534
|
|
|
594
535
|
...
|
|
595
536
|
|
|
596
537
|
def report_missing_files(
|
|
597
|
-
override_context: typing.
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
601
|
-
undo: typing.Optional[bool] = None,
|
|
538
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
539
|
+
execution_context: typing.Union[str, int] = None,
|
|
540
|
+
undo: bool = None,
|
|
602
541
|
):
|
|
603
542
|
"""Report all missing external files
|
|
604
543
|
|
|
605
|
-
:type override_context: typing.
|
|
606
|
-
:type execution_context: typing.
|
|
607
|
-
:type undo:
|
|
544
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
545
|
+
:type execution_context: typing.Union[str, int]
|
|
546
|
+
:type undo: bool
|
|
608
547
|
"""
|
|
609
548
|
|
|
610
549
|
...
|
|
611
550
|
|
|
612
551
|
def reset_recent(
|
|
613
|
-
override_context: typing.
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
617
|
-
undo: typing.Optional[bool] = None,
|
|
552
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
553
|
+
execution_context: typing.Union[str, int] = None,
|
|
554
|
+
undo: bool = None,
|
|
618
555
|
):
|
|
619
556
|
"""Reset recent files
|
|
620
557
|
|
|
621
|
-
:type override_context: typing.
|
|
622
|
-
:type execution_context: typing.
|
|
623
|
-
:type undo:
|
|
558
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
559
|
+
:type execution_context: typing.Union[str, int]
|
|
560
|
+
:type undo: bool
|
|
624
561
|
"""
|
|
625
562
|
|
|
626
563
|
...
|
|
627
564
|
|
|
628
565
|
def select(
|
|
629
|
-
override_context: typing.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
642
|
-
only_activate_if_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
643
|
-
pass_through: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
566
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
567
|
+
execution_context: typing.Union[str, int] = None,
|
|
568
|
+
undo: bool = None,
|
|
569
|
+
wait_to_deselect_others: typing.Union[bool, typing.Any] = False,
|
|
570
|
+
mouse_x: typing.Any = 0,
|
|
571
|
+
mouse_y: typing.Any = 0,
|
|
572
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
573
|
+
fill: typing.Union[bool, typing.Any] = False,
|
|
574
|
+
open: typing.Union[bool, typing.Any] = True,
|
|
575
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
576
|
+
only_activate_if_selected: typing.Union[bool, typing.Any] = False,
|
|
577
|
+
pass_through: typing.Union[bool, typing.Any] = False,
|
|
644
578
|
):
|
|
645
579
|
"""Handle mouse clicks to select and activate items
|
|
646
580
|
|
|
647
|
-
:type override_context: typing.
|
|
648
|
-
:type execution_context: typing.
|
|
649
|
-
:type undo:
|
|
581
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
582
|
+
:type execution_context: typing.Union[str, int]
|
|
583
|
+
:type undo: bool
|
|
650
584
|
:param wait_to_deselect_others: Wait to Deselect Others
|
|
651
|
-
:type wait_to_deselect_others: typing.
|
|
585
|
+
:type wait_to_deselect_others: typing.Union[bool, typing.Any]
|
|
652
586
|
:param mouse_x: Mouse X
|
|
653
|
-
:type mouse_x: typing.
|
|
587
|
+
:type mouse_x: typing.Any
|
|
654
588
|
:param mouse_y: Mouse Y
|
|
655
|
-
:type mouse_y: typing.
|
|
589
|
+
:type mouse_y: typing.Any
|
|
656
590
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
657
|
-
:type extend: typing.
|
|
591
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
658
592
|
:param fill: Fill, Select everything beginning with the last selection
|
|
659
|
-
:type fill: typing.
|
|
593
|
+
:type fill: typing.Union[bool, typing.Any]
|
|
660
594
|
:param open: Open, Open a directory when selecting it
|
|
661
|
-
:type open: typing.
|
|
595
|
+
:type open: typing.Union[bool, typing.Any]
|
|
662
596
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
663
|
-
:type deselect_all: typing.
|
|
597
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
664
598
|
:param only_activate_if_selected: Only Activate if Selected, Do not change selection if the item under the cursor is already selected, only activate it
|
|
665
|
-
:type only_activate_if_selected: typing.
|
|
599
|
+
:type only_activate_if_selected: typing.Union[bool, typing.Any]
|
|
666
600
|
:param pass_through: Pass Through, Even on successful execution, pass the event on so other operators can execute on it as well
|
|
667
|
-
:type pass_through: typing.
|
|
601
|
+
:type pass_through: typing.Union[bool, typing.Any]
|
|
668
602
|
"""
|
|
669
603
|
|
|
670
604
|
...
|
|
671
605
|
|
|
672
606
|
def select_all(
|
|
673
|
-
override_context: typing.
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
undo: typing.Optional[bool] = None,
|
|
678
|
-
*,
|
|
679
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
607
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
608
|
+
execution_context: typing.Union[str, int] = None,
|
|
609
|
+
undo: bool = None,
|
|
610
|
+
action: typing.Any = "TOGGLE",
|
|
680
611
|
):
|
|
681
612
|
"""Select or deselect all files
|
|
682
613
|
|
|
683
|
-
:type override_context: typing.
|
|
684
|
-
:type execution_context: typing.
|
|
685
|
-
:type undo:
|
|
614
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
615
|
+
:type execution_context: typing.Union[str, int]
|
|
616
|
+
:type undo: bool
|
|
686
617
|
:param action: Action, Selection action to execute
|
|
687
618
|
|
|
688
619
|
TOGGLE
|
|
@@ -696,25 +627,22 @@ def select_all(
|
|
|
696
627
|
|
|
697
628
|
INVERT
|
|
698
629
|
Invert -- Invert selection of all elements.
|
|
699
|
-
:type action: typing.
|
|
630
|
+
:type action: typing.Any
|
|
700
631
|
"""
|
|
701
632
|
|
|
702
633
|
...
|
|
703
634
|
|
|
704
635
|
def select_bookmark(
|
|
705
|
-
override_context: typing.
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
709
|
-
undo: typing.Optional[bool] = None,
|
|
710
|
-
*,
|
|
636
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
637
|
+
execution_context: typing.Union[str, int] = None,
|
|
638
|
+
undo: bool = None,
|
|
711
639
|
dir: typing.Union[str, typing.Any] = "",
|
|
712
640
|
):
|
|
713
641
|
"""Select a bookmarked directory
|
|
714
642
|
|
|
715
|
-
:type override_context: typing.
|
|
716
|
-
:type execution_context: typing.
|
|
717
|
-
:type undo:
|
|
643
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
644
|
+
:type execution_context: typing.Union[str, int]
|
|
645
|
+
:type undo: bool
|
|
718
646
|
:param dir: Directory
|
|
719
647
|
:type dir: typing.Union[str, typing.Any]
|
|
720
648
|
"""
|
|
@@ -722,34 +650,31 @@ def select_bookmark(
|
|
|
722
650
|
...
|
|
723
651
|
|
|
724
652
|
def select_box(
|
|
725
|
-
override_context: typing.
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
735
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
736
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
653
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
654
|
+
execution_context: typing.Union[str, int] = None,
|
|
655
|
+
undo: bool = None,
|
|
656
|
+
xmin: typing.Any = 0,
|
|
657
|
+
xmax: typing.Any = 0,
|
|
658
|
+
ymin: typing.Any = 0,
|
|
659
|
+
ymax: typing.Any = 0,
|
|
660
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
661
|
+
mode: typing.Any = "SET",
|
|
737
662
|
):
|
|
738
663
|
"""Activate/select the file(s) contained in the border
|
|
739
664
|
|
|
740
|
-
:type override_context: typing.
|
|
741
|
-
:type execution_context: typing.
|
|
742
|
-
:type undo:
|
|
665
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
666
|
+
:type execution_context: typing.Union[str, int]
|
|
667
|
+
:type undo: bool
|
|
743
668
|
:param xmin: X Min
|
|
744
|
-
:type xmin: typing.
|
|
669
|
+
:type xmin: typing.Any
|
|
745
670
|
:param xmax: X Max
|
|
746
|
-
:type xmax: typing.
|
|
671
|
+
:type xmax: typing.Any
|
|
747
672
|
:param ymin: Y Min
|
|
748
|
-
:type ymin: typing.
|
|
673
|
+
:type ymin: typing.Any
|
|
749
674
|
:param ymax: Y Max
|
|
750
|
-
:type ymax: typing.
|
|
675
|
+
:type ymax: typing.Any
|
|
751
676
|
:param wait_for_input: Wait for Input
|
|
752
|
-
:type wait_for_input: typing.
|
|
677
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
753
678
|
:param mode: Mode
|
|
754
679
|
|
|
755
680
|
SET
|
|
@@ -760,159 +685,140 @@ def select_box(
|
|
|
760
685
|
|
|
761
686
|
SUB
|
|
762
687
|
Subtract -- Subtract existing selection.
|
|
763
|
-
:type mode: typing.
|
|
688
|
+
:type mode: typing.Any
|
|
764
689
|
"""
|
|
765
690
|
|
|
766
691
|
...
|
|
767
692
|
|
|
768
693
|
def select_walk(
|
|
769
|
-
override_context: typing.
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
776
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
777
|
-
fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
694
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
695
|
+
execution_context: typing.Union[str, int] = None,
|
|
696
|
+
undo: bool = None,
|
|
697
|
+
direction: typing.Any = "UP",
|
|
698
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
699
|
+
fill: typing.Union[bool, typing.Any] = False,
|
|
778
700
|
):
|
|
779
701
|
"""Select/Deselect files by walking through them
|
|
780
702
|
|
|
781
|
-
:type override_context: typing.
|
|
782
|
-
:type execution_context: typing.
|
|
783
|
-
:type undo:
|
|
703
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
704
|
+
:type execution_context: typing.Union[str, int]
|
|
705
|
+
:type undo: bool
|
|
784
706
|
:param direction: Walk Direction, Select/Deselect element in this direction
|
|
785
|
-
:type direction: typing.
|
|
707
|
+
:type direction: typing.Any
|
|
786
708
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
787
|
-
:type extend: typing.
|
|
709
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
788
710
|
:param fill: Fill, Select everything beginning with the last selection
|
|
789
|
-
:type fill: typing.
|
|
711
|
+
:type fill: typing.Union[bool, typing.Any]
|
|
790
712
|
"""
|
|
791
713
|
|
|
792
714
|
...
|
|
793
715
|
|
|
794
716
|
def smoothscroll(
|
|
795
|
-
override_context: typing.
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
799
|
-
undo: typing.Optional[bool] = None,
|
|
717
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
718
|
+
execution_context: typing.Union[str, int] = None,
|
|
719
|
+
undo: bool = None,
|
|
800
720
|
):
|
|
801
721
|
"""Smooth scroll to make editable file visible
|
|
802
722
|
|
|
803
|
-
:type override_context: typing.
|
|
804
|
-
:type execution_context: typing.
|
|
805
|
-
:type undo:
|
|
723
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
724
|
+
:type execution_context: typing.Union[str, int]
|
|
725
|
+
:type undo: bool
|
|
806
726
|
"""
|
|
807
727
|
|
|
808
728
|
...
|
|
809
729
|
|
|
810
730
|
def sort_column_ui_context(
|
|
811
|
-
override_context: typing.
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
815
|
-
undo: typing.Optional[bool] = None,
|
|
731
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
732
|
+
execution_context: typing.Union[str, int] = None,
|
|
733
|
+
undo: bool = None,
|
|
816
734
|
):
|
|
817
735
|
"""Change sorting to use column under cursor
|
|
818
736
|
|
|
819
|
-
:type override_context: typing.
|
|
820
|
-
:type execution_context: typing.
|
|
821
|
-
:type undo:
|
|
737
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
738
|
+
:type execution_context: typing.Union[str, int]
|
|
739
|
+
:type undo: bool
|
|
822
740
|
"""
|
|
823
741
|
|
|
824
742
|
...
|
|
825
743
|
|
|
826
744
|
def start_filter(
|
|
827
|
-
override_context: typing.
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
831
|
-
undo: typing.Optional[bool] = None,
|
|
745
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
746
|
+
execution_context: typing.Union[str, int] = None,
|
|
747
|
+
undo: bool = None,
|
|
832
748
|
):
|
|
833
749
|
"""Start entering filter text
|
|
834
750
|
|
|
835
|
-
:type override_context: typing.
|
|
836
|
-
:type execution_context: typing.
|
|
837
|
-
:type undo:
|
|
751
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
752
|
+
:type execution_context: typing.Union[str, int]
|
|
753
|
+
:type undo: bool
|
|
838
754
|
"""
|
|
839
755
|
|
|
840
756
|
...
|
|
841
757
|
|
|
842
758
|
def unpack_all(
|
|
843
|
-
override_context: typing.
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
undo: typing.Optional[bool] = None,
|
|
848
|
-
*,
|
|
849
|
-
method: typing.Optional[typing.Any] = "USE_LOCAL",
|
|
759
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
760
|
+
execution_context: typing.Union[str, int] = None,
|
|
761
|
+
undo: bool = None,
|
|
762
|
+
method: typing.Any = "USE_LOCAL",
|
|
850
763
|
):
|
|
851
764
|
"""Unpack all files packed into this .blend to external ones
|
|
852
765
|
|
|
853
|
-
:type override_context: typing.
|
|
854
|
-
:type execution_context: typing.
|
|
855
|
-
:type undo:
|
|
766
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
767
|
+
:type execution_context: typing.Union[str, int]
|
|
768
|
+
:type undo: bool
|
|
856
769
|
:param method: Method, How to unpack
|
|
857
|
-
:type method: typing.
|
|
770
|
+
:type method: typing.Any
|
|
858
771
|
"""
|
|
859
772
|
|
|
860
773
|
...
|
|
861
774
|
|
|
862
775
|
def unpack_item(
|
|
863
|
-
override_context: typing.
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
undo: typing.Optional[bool] = None,
|
|
868
|
-
*,
|
|
869
|
-
method: typing.Optional[typing.Any] = "USE_LOCAL",
|
|
776
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
777
|
+
execution_context: typing.Union[str, int] = None,
|
|
778
|
+
undo: bool = None,
|
|
779
|
+
method: typing.Any = "USE_LOCAL",
|
|
870
780
|
id_name: typing.Union[str, typing.Any] = "",
|
|
871
|
-
id_type: typing.
|
|
781
|
+
id_type: typing.Any = 19785,
|
|
872
782
|
):
|
|
873
783
|
"""Unpack this file to an external file
|
|
874
784
|
|
|
875
|
-
:type override_context: typing.
|
|
876
|
-
:type execution_context: typing.
|
|
877
|
-
:type undo:
|
|
785
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
786
|
+
:type execution_context: typing.Union[str, int]
|
|
787
|
+
:type undo: bool
|
|
878
788
|
:param method: Method, How to unpack
|
|
879
|
-
:type method: typing.
|
|
789
|
+
:type method: typing.Any
|
|
880
790
|
:param id_name: ID Name, Name of ID block to unpack
|
|
881
791
|
:type id_name: typing.Union[str, typing.Any]
|
|
882
792
|
:param id_type: ID Type, Identifier type of ID block
|
|
883
|
-
:type id_type: typing.
|
|
793
|
+
:type id_type: typing.Any
|
|
884
794
|
"""
|
|
885
795
|
|
|
886
796
|
...
|
|
887
797
|
|
|
888
798
|
def unpack_libraries(
|
|
889
|
-
override_context: typing.
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
893
|
-
undo: typing.Optional[bool] = None,
|
|
799
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
800
|
+
execution_context: typing.Union[str, int] = None,
|
|
801
|
+
undo: bool = None,
|
|
894
802
|
):
|
|
895
803
|
"""Restore all packed linked data-blocks to their original locations
|
|
896
804
|
|
|
897
|
-
:type override_context: typing.
|
|
898
|
-
:type execution_context: typing.
|
|
899
|
-
:type undo:
|
|
805
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
806
|
+
:type execution_context: typing.Union[str, int]
|
|
807
|
+
:type undo: bool
|
|
900
808
|
"""
|
|
901
809
|
|
|
902
810
|
...
|
|
903
811
|
|
|
904
812
|
def view_selected(
|
|
905
|
-
override_context: typing.
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
909
|
-
undo: typing.Optional[bool] = None,
|
|
813
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
814
|
+
execution_context: typing.Union[str, int] = None,
|
|
815
|
+
undo: bool = None,
|
|
910
816
|
):
|
|
911
817
|
"""Scroll the selected files into view
|
|
912
818
|
|
|
913
|
-
:type override_context: typing.
|
|
914
|
-
:type execution_context: typing.
|
|
915
|
-
:type undo:
|
|
819
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
820
|
+
:type execution_context: typing.Union[str, int]
|
|
821
|
+
:type undo: bool
|
|
916
822
|
"""
|
|
917
823
|
|
|
918
824
|
...
|