fake-bpy-module 20240320__py3-none-any.whl → 20240322__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 +642 -822
- 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 +86358 -87091
- 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-20240320.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.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-20240320.dist-info/RECORD +0 -343
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/outliner/__init__.pyi
CHANGED
|
@@ -4,39 +4,33 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def action_set(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
13
|
-
action: typing.Optional[typing.Union[int, str, typing.Any]] = "",
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
action: typing.Union[str, int, typing.Any] = "",
|
|
14
11
|
):
|
|
15
12
|
"""Change the active action used
|
|
16
13
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
20
17
|
:param action: Action
|
|
21
|
-
:type action: typing.
|
|
18
|
+
:type action: typing.Union[str, int, typing.Any]
|
|
22
19
|
"""
|
|
23
20
|
|
|
24
21
|
...
|
|
25
22
|
|
|
26
23
|
def animdata_operation(
|
|
27
|
-
override_context: typing.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
undo: typing.Optional[bool] = None,
|
|
32
|
-
*,
|
|
33
|
-
type: typing.Optional[typing.Any] = "CLEAR_ANIMDATA",
|
|
24
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
+
execution_context: typing.Union[str, int] = None,
|
|
26
|
+
undo: bool = None,
|
|
27
|
+
type: typing.Any = "CLEAR_ANIMDATA",
|
|
34
28
|
):
|
|
35
29
|
"""Undocumented, consider contributing.
|
|
36
30
|
|
|
37
|
-
:type override_context: typing.
|
|
38
|
-
:type execution_context: typing.
|
|
39
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
40
34
|
:param type: Animation Operation
|
|
41
35
|
|
|
42
36
|
CLEAR_ANIMDATA
|
|
@@ -53,625 +47,544 @@ def animdata_operation(
|
|
|
53
47
|
|
|
54
48
|
CLEAR_DRIVERS
|
|
55
49
|
Clear Drivers.
|
|
56
|
-
:type type: typing.
|
|
50
|
+
:type type: typing.Any
|
|
57
51
|
"""
|
|
58
52
|
|
|
59
53
|
...
|
|
60
54
|
|
|
61
55
|
def collection_color_tag_set(
|
|
62
|
-
override_context: typing.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
undo: typing.Optional[bool] = None,
|
|
67
|
-
*,
|
|
68
|
-
color: typing.Optional[typing.Any] = "NONE",
|
|
56
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
57
|
+
execution_context: typing.Union[str, int] = None,
|
|
58
|
+
undo: bool = None,
|
|
59
|
+
color: typing.Any = "NONE",
|
|
69
60
|
):
|
|
70
61
|
"""Set a color tag for the selected collections
|
|
71
62
|
|
|
72
|
-
:type override_context: typing.
|
|
73
|
-
:type execution_context: typing.
|
|
74
|
-
:type undo:
|
|
63
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
64
|
+
:type execution_context: typing.Union[str, int]
|
|
65
|
+
:type undo: bool
|
|
75
66
|
:param color: Color Tag
|
|
76
|
-
:type color: typing.
|
|
67
|
+
:type color: typing.Any
|
|
77
68
|
"""
|
|
78
69
|
|
|
79
70
|
...
|
|
80
71
|
|
|
81
72
|
def collection_disable(
|
|
82
|
-
override_context: typing.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
86
|
-
undo: typing.Optional[bool] = None,
|
|
73
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
74
|
+
execution_context: typing.Union[str, int] = None,
|
|
75
|
+
undo: bool = None,
|
|
87
76
|
):
|
|
88
77
|
"""Disable viewport display in the view layers
|
|
89
78
|
|
|
90
|
-
:type override_context: typing.
|
|
91
|
-
:type execution_context: typing.
|
|
92
|
-
:type undo:
|
|
79
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
80
|
+
:type execution_context: typing.Union[str, int]
|
|
81
|
+
:type undo: bool
|
|
93
82
|
"""
|
|
94
83
|
|
|
95
84
|
...
|
|
96
85
|
|
|
97
86
|
def collection_disable_render(
|
|
98
|
-
override_context: typing.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
102
|
-
undo: typing.Optional[bool] = None,
|
|
87
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
88
|
+
execution_context: typing.Union[str, int] = None,
|
|
89
|
+
undo: bool = None,
|
|
103
90
|
):
|
|
104
91
|
"""Do not render this collection
|
|
105
92
|
|
|
106
|
-
:type override_context: typing.
|
|
107
|
-
:type execution_context: typing.
|
|
108
|
-
:type undo:
|
|
93
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
94
|
+
:type execution_context: typing.Union[str, int]
|
|
95
|
+
:type undo: bool
|
|
109
96
|
"""
|
|
110
97
|
|
|
111
98
|
...
|
|
112
99
|
|
|
113
100
|
def collection_drop(
|
|
114
|
-
override_context: typing.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
118
|
-
undo: typing.Optional[bool] = None,
|
|
101
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
102
|
+
execution_context: typing.Union[str, int] = None,
|
|
103
|
+
undo: bool = None,
|
|
119
104
|
):
|
|
120
105
|
"""Drag to move to collection in Outliner
|
|
121
106
|
|
|
122
|
-
:type override_context: typing.
|
|
123
|
-
:type execution_context: typing.
|
|
124
|
-
:type undo:
|
|
107
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
108
|
+
:type execution_context: typing.Union[str, int]
|
|
109
|
+
:type undo: bool
|
|
125
110
|
"""
|
|
126
111
|
|
|
127
112
|
...
|
|
128
113
|
|
|
129
114
|
def collection_duplicate(
|
|
130
|
-
override_context: typing.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
134
|
-
undo: typing.Optional[bool] = None,
|
|
115
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
116
|
+
execution_context: typing.Union[str, int] = None,
|
|
117
|
+
undo: bool = None,
|
|
135
118
|
):
|
|
136
119
|
"""Recursively duplicate the collection, all its children, objects and object data
|
|
137
120
|
|
|
138
|
-
:type override_context: typing.
|
|
139
|
-
:type execution_context: typing.
|
|
140
|
-
:type undo:
|
|
121
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
122
|
+
:type execution_context: typing.Union[str, int]
|
|
123
|
+
:type undo: bool
|
|
141
124
|
"""
|
|
142
125
|
|
|
143
126
|
...
|
|
144
127
|
|
|
145
128
|
def collection_duplicate_linked(
|
|
146
|
-
override_context: typing.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
150
|
-
undo: typing.Optional[bool] = None,
|
|
129
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
+
execution_context: typing.Union[str, int] = None,
|
|
131
|
+
undo: bool = None,
|
|
151
132
|
):
|
|
152
133
|
"""Recursively duplicate the collection, all its children and objects, with linked object data
|
|
153
134
|
|
|
154
|
-
:type override_context: typing.
|
|
155
|
-
:type execution_context: typing.
|
|
156
|
-
:type undo:
|
|
135
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
136
|
+
:type execution_context: typing.Union[str, int]
|
|
137
|
+
:type undo: bool
|
|
157
138
|
"""
|
|
158
139
|
|
|
159
140
|
...
|
|
160
141
|
|
|
161
142
|
def collection_enable(
|
|
162
|
-
override_context: typing.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
166
|
-
undo: typing.Optional[bool] = None,
|
|
143
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
+
execution_context: typing.Union[str, int] = None,
|
|
145
|
+
undo: bool = None,
|
|
167
146
|
):
|
|
168
147
|
"""Enable viewport display in the view layers
|
|
169
148
|
|
|
170
|
-
:type override_context: typing.
|
|
171
|
-
:type execution_context: typing.
|
|
172
|
-
:type undo:
|
|
149
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
+
:type execution_context: typing.Union[str, int]
|
|
151
|
+
:type undo: bool
|
|
173
152
|
"""
|
|
174
153
|
|
|
175
154
|
...
|
|
176
155
|
|
|
177
156
|
def collection_enable_render(
|
|
178
|
-
override_context: typing.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
182
|
-
undo: typing.Optional[bool] = None,
|
|
157
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
+
execution_context: typing.Union[str, int] = None,
|
|
159
|
+
undo: bool = None,
|
|
183
160
|
):
|
|
184
161
|
"""Render the collection
|
|
185
162
|
|
|
186
|
-
:type override_context: typing.
|
|
187
|
-
:type execution_context: typing.
|
|
188
|
-
:type undo:
|
|
163
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
164
|
+
:type execution_context: typing.Union[str, int]
|
|
165
|
+
:type undo: bool
|
|
189
166
|
"""
|
|
190
167
|
|
|
191
168
|
...
|
|
192
169
|
|
|
193
170
|
def collection_exclude_clear(
|
|
194
|
-
override_context: typing.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
198
|
-
undo: typing.Optional[bool] = None,
|
|
171
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
172
|
+
execution_context: typing.Union[str, int] = None,
|
|
173
|
+
undo: bool = None,
|
|
199
174
|
):
|
|
200
175
|
"""Include collection in the active view layer
|
|
201
176
|
|
|
202
|
-
:type override_context: typing.
|
|
203
|
-
:type execution_context: typing.
|
|
204
|
-
:type undo:
|
|
177
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
178
|
+
:type execution_context: typing.Union[str, int]
|
|
179
|
+
:type undo: bool
|
|
205
180
|
"""
|
|
206
181
|
|
|
207
182
|
...
|
|
208
183
|
|
|
209
184
|
def collection_exclude_set(
|
|
210
|
-
override_context: typing.
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
214
|
-
undo: typing.Optional[bool] = None,
|
|
185
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
186
|
+
execution_context: typing.Union[str, int] = None,
|
|
187
|
+
undo: bool = None,
|
|
215
188
|
):
|
|
216
189
|
"""Exclude collection from the active view layer
|
|
217
190
|
|
|
218
|
-
:type override_context: typing.
|
|
219
|
-
:type execution_context: typing.
|
|
220
|
-
:type undo:
|
|
191
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
192
|
+
:type execution_context: typing.Union[str, int]
|
|
193
|
+
:type undo: bool
|
|
221
194
|
"""
|
|
222
195
|
|
|
223
196
|
...
|
|
224
197
|
|
|
225
198
|
def collection_hide(
|
|
226
|
-
override_context: typing.
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
230
|
-
undo: typing.Optional[bool] = None,
|
|
199
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
200
|
+
execution_context: typing.Union[str, int] = None,
|
|
201
|
+
undo: bool = None,
|
|
231
202
|
):
|
|
232
203
|
"""Hide the collection in this view layer
|
|
233
204
|
|
|
234
|
-
:type override_context: typing.
|
|
235
|
-
:type execution_context: typing.
|
|
236
|
-
:type undo:
|
|
205
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
206
|
+
:type execution_context: typing.Union[str, int]
|
|
207
|
+
:type undo: bool
|
|
237
208
|
"""
|
|
238
209
|
|
|
239
210
|
...
|
|
240
211
|
|
|
241
212
|
def collection_hide_inside(
|
|
242
|
-
override_context: typing.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
246
|
-
undo: typing.Optional[bool] = None,
|
|
213
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
214
|
+
execution_context: typing.Union[str, int] = None,
|
|
215
|
+
undo: bool = None,
|
|
247
216
|
):
|
|
248
217
|
"""Hide all the objects and collections inside the collection
|
|
249
218
|
|
|
250
|
-
:type override_context: typing.
|
|
251
|
-
:type execution_context: typing.
|
|
252
|
-
:type undo:
|
|
219
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
220
|
+
:type execution_context: typing.Union[str, int]
|
|
221
|
+
:type undo: bool
|
|
253
222
|
"""
|
|
254
223
|
|
|
255
224
|
...
|
|
256
225
|
|
|
257
226
|
def collection_hierarchy_delete(
|
|
258
|
-
override_context: typing.
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
262
|
-
undo: typing.Optional[bool] = None,
|
|
227
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
228
|
+
execution_context: typing.Union[str, int] = None,
|
|
229
|
+
undo: bool = None,
|
|
263
230
|
):
|
|
264
231
|
"""Delete selected collection hierarchies
|
|
265
232
|
|
|
266
|
-
:type override_context: typing.
|
|
267
|
-
:type execution_context: typing.
|
|
268
|
-
:type undo:
|
|
233
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
234
|
+
:type execution_context: typing.Union[str, int]
|
|
235
|
+
:type undo: bool
|
|
269
236
|
"""
|
|
270
237
|
|
|
271
238
|
...
|
|
272
239
|
|
|
273
240
|
def collection_holdout_clear(
|
|
274
|
-
override_context: typing.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
278
|
-
undo: typing.Optional[bool] = None,
|
|
241
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
242
|
+
execution_context: typing.Union[str, int] = None,
|
|
243
|
+
undo: bool = None,
|
|
279
244
|
):
|
|
280
245
|
"""Clear masking of collection in the active view layer
|
|
281
246
|
|
|
282
|
-
:type override_context: typing.
|
|
283
|
-
:type execution_context: typing.
|
|
284
|
-
:type undo:
|
|
247
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
248
|
+
:type execution_context: typing.Union[str, int]
|
|
249
|
+
:type undo: bool
|
|
285
250
|
"""
|
|
286
251
|
|
|
287
252
|
...
|
|
288
253
|
|
|
289
254
|
def collection_holdout_set(
|
|
290
|
-
override_context: typing.
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
294
|
-
undo: typing.Optional[bool] = None,
|
|
255
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
256
|
+
execution_context: typing.Union[str, int] = None,
|
|
257
|
+
undo: bool = None,
|
|
295
258
|
):
|
|
296
259
|
"""Mask collection in the active view layer
|
|
297
260
|
|
|
298
|
-
:type override_context: typing.
|
|
299
|
-
:type execution_context: typing.
|
|
300
|
-
:type undo:
|
|
261
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
262
|
+
:type execution_context: typing.Union[str, int]
|
|
263
|
+
:type undo: bool
|
|
301
264
|
"""
|
|
302
265
|
|
|
303
266
|
...
|
|
304
267
|
|
|
305
268
|
def collection_indirect_only_clear(
|
|
306
|
-
override_context: typing.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
310
|
-
undo: typing.Optional[bool] = None,
|
|
269
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
270
|
+
execution_context: typing.Union[str, int] = None,
|
|
271
|
+
undo: bool = None,
|
|
311
272
|
):
|
|
312
273
|
"""Clear collection contributing only indirectly in the view layer
|
|
313
274
|
|
|
314
|
-
:type override_context: typing.
|
|
315
|
-
:type execution_context: typing.
|
|
316
|
-
:type undo:
|
|
275
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
276
|
+
:type execution_context: typing.Union[str, int]
|
|
277
|
+
:type undo: bool
|
|
317
278
|
"""
|
|
318
279
|
|
|
319
280
|
...
|
|
320
281
|
|
|
321
282
|
def collection_indirect_only_set(
|
|
322
|
-
override_context: typing.
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
326
|
-
undo: typing.Optional[bool] = None,
|
|
283
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
284
|
+
execution_context: typing.Union[str, int] = None,
|
|
285
|
+
undo: bool = None,
|
|
327
286
|
):
|
|
328
287
|
"""Set collection to only contribute indirectly (through shadows and reflections) in the view layer
|
|
329
288
|
|
|
330
|
-
:type override_context: typing.
|
|
331
|
-
:type execution_context: typing.
|
|
332
|
-
:type undo:
|
|
289
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
290
|
+
:type execution_context: typing.Union[str, int]
|
|
291
|
+
:type undo: bool
|
|
333
292
|
"""
|
|
334
293
|
|
|
335
294
|
...
|
|
336
295
|
|
|
337
296
|
def collection_instance(
|
|
338
|
-
override_context: typing.
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
342
|
-
undo: typing.Optional[bool] = None,
|
|
297
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
298
|
+
execution_context: typing.Union[str, int] = None,
|
|
299
|
+
undo: bool = None,
|
|
343
300
|
):
|
|
344
301
|
"""Instance selected collections to active scene
|
|
345
302
|
|
|
346
|
-
:type override_context: typing.
|
|
347
|
-
:type execution_context: typing.
|
|
348
|
-
:type undo:
|
|
303
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
304
|
+
:type execution_context: typing.Union[str, int]
|
|
305
|
+
:type undo: bool
|
|
349
306
|
"""
|
|
350
307
|
|
|
351
308
|
...
|
|
352
309
|
|
|
353
310
|
def collection_isolate(
|
|
354
|
-
override_context: typing.
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
undo: typing.Optional[bool] = None,
|
|
359
|
-
*,
|
|
360
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
311
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
312
|
+
execution_context: typing.Union[str, int] = None,
|
|
313
|
+
undo: bool = None,
|
|
314
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
361
315
|
):
|
|
362
316
|
"""Hide all but this collection and its parents
|
|
363
317
|
|
|
364
|
-
:type override_context: typing.
|
|
365
|
-
:type execution_context: typing.
|
|
366
|
-
:type undo:
|
|
318
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
319
|
+
:type execution_context: typing.Union[str, int]
|
|
320
|
+
:type undo: bool
|
|
367
321
|
:param extend: Extend, Extend current visible collections
|
|
368
|
-
:type extend: typing.
|
|
322
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
369
323
|
"""
|
|
370
324
|
|
|
371
325
|
...
|
|
372
326
|
|
|
373
327
|
def collection_link(
|
|
374
|
-
override_context: typing.
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
378
|
-
undo: typing.Optional[bool] = None,
|
|
328
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
329
|
+
execution_context: typing.Union[str, int] = None,
|
|
330
|
+
undo: bool = None,
|
|
379
331
|
):
|
|
380
332
|
"""Link selected collections to active scene
|
|
381
333
|
|
|
382
|
-
:type override_context: typing.
|
|
383
|
-
:type execution_context: typing.
|
|
384
|
-
:type undo:
|
|
334
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
335
|
+
:type execution_context: typing.Union[str, int]
|
|
336
|
+
:type undo: bool
|
|
385
337
|
"""
|
|
386
338
|
|
|
387
339
|
...
|
|
388
340
|
|
|
389
341
|
def collection_new(
|
|
390
|
-
override_context: typing.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
undo: typing.Optional[bool] = None,
|
|
395
|
-
*,
|
|
396
|
-
nested: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
342
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
343
|
+
execution_context: typing.Union[str, int] = None,
|
|
344
|
+
undo: bool = None,
|
|
345
|
+
nested: typing.Union[bool, typing.Any] = True,
|
|
397
346
|
):
|
|
398
347
|
"""Add a new collection inside selected collection
|
|
399
348
|
|
|
400
|
-
:type override_context: typing.
|
|
401
|
-
:type execution_context: typing.
|
|
402
|
-
:type undo:
|
|
349
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
350
|
+
:type execution_context: typing.Union[str, int]
|
|
351
|
+
:type undo: bool
|
|
403
352
|
:param nested: Nested, Add as child of selected collection
|
|
404
|
-
:type nested: typing.
|
|
353
|
+
:type nested: typing.Union[bool, typing.Any]
|
|
405
354
|
"""
|
|
406
355
|
|
|
407
356
|
...
|
|
408
357
|
|
|
409
358
|
def collection_objects_deselect(
|
|
410
|
-
override_context: typing.
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
414
|
-
undo: typing.Optional[bool] = None,
|
|
359
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
360
|
+
execution_context: typing.Union[str, int] = None,
|
|
361
|
+
undo: bool = None,
|
|
415
362
|
):
|
|
416
363
|
"""Deselect objects in collection
|
|
417
364
|
|
|
418
|
-
:type override_context: typing.
|
|
419
|
-
:type execution_context: typing.
|
|
420
|
-
:type undo:
|
|
365
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
366
|
+
:type execution_context: typing.Union[str, int]
|
|
367
|
+
:type undo: bool
|
|
421
368
|
"""
|
|
422
369
|
|
|
423
370
|
...
|
|
424
371
|
|
|
425
372
|
def collection_objects_select(
|
|
426
|
-
override_context: typing.
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
430
|
-
undo: typing.Optional[bool] = None,
|
|
373
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
374
|
+
execution_context: typing.Union[str, int] = None,
|
|
375
|
+
undo: bool = None,
|
|
431
376
|
):
|
|
432
377
|
"""Select objects in collection
|
|
433
378
|
|
|
434
|
-
:type override_context: typing.
|
|
435
|
-
:type execution_context: typing.
|
|
436
|
-
:type undo:
|
|
379
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
380
|
+
:type execution_context: typing.Union[str, int]
|
|
381
|
+
:type undo: bool
|
|
437
382
|
"""
|
|
438
383
|
|
|
439
384
|
...
|
|
440
385
|
|
|
441
386
|
def collection_show(
|
|
442
|
-
override_context: typing.
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
446
|
-
undo: typing.Optional[bool] = None,
|
|
387
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
388
|
+
execution_context: typing.Union[str, int] = None,
|
|
389
|
+
undo: bool = None,
|
|
447
390
|
):
|
|
448
391
|
"""Show the collection in this view layer
|
|
449
392
|
|
|
450
|
-
:type override_context: typing.
|
|
451
|
-
:type execution_context: typing.
|
|
452
|
-
:type undo:
|
|
393
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
394
|
+
:type execution_context: typing.Union[str, int]
|
|
395
|
+
:type undo: bool
|
|
453
396
|
"""
|
|
454
397
|
|
|
455
398
|
...
|
|
456
399
|
|
|
457
400
|
def collection_show_inside(
|
|
458
|
-
override_context: typing.
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
462
|
-
undo: typing.Optional[bool] = None,
|
|
401
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
402
|
+
execution_context: typing.Union[str, int] = None,
|
|
403
|
+
undo: bool = None,
|
|
463
404
|
):
|
|
464
405
|
"""Show all the objects and collections inside the collection
|
|
465
406
|
|
|
466
|
-
:type override_context: typing.
|
|
467
|
-
:type execution_context: typing.
|
|
468
|
-
:type undo:
|
|
407
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
408
|
+
:type execution_context: typing.Union[str, int]
|
|
409
|
+
:type undo: bool
|
|
469
410
|
"""
|
|
470
411
|
|
|
471
412
|
...
|
|
472
413
|
|
|
473
414
|
def constraint_operation(
|
|
474
|
-
override_context: typing.
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
undo: typing.Optional[bool] = None,
|
|
479
|
-
*,
|
|
480
|
-
type: typing.Optional[typing.Any] = "ENABLE",
|
|
415
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
416
|
+
execution_context: typing.Union[str, int] = None,
|
|
417
|
+
undo: bool = None,
|
|
418
|
+
type: typing.Any = "ENABLE",
|
|
481
419
|
):
|
|
482
420
|
"""Undocumented, consider contributing.
|
|
483
421
|
|
|
484
|
-
:type override_context: typing.
|
|
485
|
-
:type execution_context: typing.
|
|
486
|
-
:type undo:
|
|
422
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
+
:type execution_context: typing.Union[str, int]
|
|
424
|
+
:type undo: bool
|
|
487
425
|
:param type: Constraint Operation
|
|
488
|
-
:type type: typing.
|
|
426
|
+
:type type: typing.Any
|
|
489
427
|
"""
|
|
490
428
|
|
|
491
429
|
...
|
|
492
430
|
|
|
493
431
|
def data_operation(
|
|
494
|
-
override_context: typing.
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
undo: typing.Optional[bool] = None,
|
|
499
|
-
*,
|
|
500
|
-
type: typing.Optional[typing.Union[int, str, typing.Any]] = "DEFAULT",
|
|
432
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
433
|
+
execution_context: typing.Union[str, int] = None,
|
|
434
|
+
undo: bool = None,
|
|
435
|
+
type: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
501
436
|
):
|
|
502
437
|
"""Undocumented, consider contributing.
|
|
503
438
|
|
|
504
|
-
:type override_context: typing.
|
|
505
|
-
:type execution_context: typing.
|
|
506
|
-
:type undo:
|
|
439
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
440
|
+
:type execution_context: typing.Union[str, int]
|
|
441
|
+
:type undo: bool
|
|
507
442
|
:param type: Data Operation
|
|
508
|
-
:type type: typing.
|
|
443
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
509
444
|
"""
|
|
510
445
|
|
|
511
446
|
...
|
|
512
447
|
|
|
513
448
|
def datastack_drop(
|
|
514
|
-
override_context: typing.
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
518
|
-
undo: typing.Optional[bool] = None,
|
|
449
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
450
|
+
execution_context: typing.Union[str, int] = None,
|
|
451
|
+
undo: bool = None,
|
|
519
452
|
):
|
|
520
453
|
"""Copy or reorder modifiers, constraints, and effects
|
|
521
454
|
|
|
522
|
-
:type override_context: typing.
|
|
523
|
-
:type execution_context: typing.
|
|
524
|
-
:type undo:
|
|
455
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
456
|
+
:type execution_context: typing.Union[str, int]
|
|
457
|
+
:type undo: bool
|
|
525
458
|
"""
|
|
526
459
|
|
|
527
460
|
...
|
|
528
461
|
|
|
529
462
|
def delete(
|
|
530
|
-
override_context: typing.
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
undo: typing.Optional[bool] = None,
|
|
535
|
-
*,
|
|
536
|
-
hierarchy: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
463
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
464
|
+
execution_context: typing.Union[str, int] = None,
|
|
465
|
+
undo: bool = None,
|
|
466
|
+
hierarchy: typing.Union[bool, typing.Any] = False,
|
|
537
467
|
):
|
|
538
468
|
"""Delete selected objects and collections
|
|
539
469
|
|
|
540
|
-
:type override_context: typing.
|
|
541
|
-
:type execution_context: typing.
|
|
542
|
-
:type undo:
|
|
470
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
471
|
+
:type execution_context: typing.Union[str, int]
|
|
472
|
+
:type undo: bool
|
|
543
473
|
:param hierarchy: Hierarchy, Delete child objects and collections
|
|
544
|
-
:type hierarchy: typing.
|
|
474
|
+
:type hierarchy: typing.Union[bool, typing.Any]
|
|
545
475
|
"""
|
|
546
476
|
|
|
547
477
|
...
|
|
548
478
|
|
|
549
479
|
def drivers_add_selected(
|
|
550
|
-
override_context: typing.
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
554
|
-
undo: typing.Optional[bool] = None,
|
|
480
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
481
|
+
execution_context: typing.Union[str, int] = None,
|
|
482
|
+
undo: bool = None,
|
|
555
483
|
):
|
|
556
484
|
"""Add drivers to selected items
|
|
557
485
|
|
|
558
|
-
:type override_context: typing.
|
|
559
|
-
:type execution_context: typing.
|
|
560
|
-
:type undo:
|
|
486
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
487
|
+
:type execution_context: typing.Union[str, int]
|
|
488
|
+
:type undo: bool
|
|
561
489
|
"""
|
|
562
490
|
|
|
563
491
|
...
|
|
564
492
|
|
|
565
493
|
def drivers_delete_selected(
|
|
566
|
-
override_context: typing.
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
570
|
-
undo: typing.Optional[bool] = None,
|
|
494
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
495
|
+
execution_context: typing.Union[str, int] = None,
|
|
496
|
+
undo: bool = None,
|
|
571
497
|
):
|
|
572
498
|
"""Delete drivers assigned to selected items
|
|
573
499
|
|
|
574
|
-
:type override_context: typing.
|
|
575
|
-
:type execution_context: typing.
|
|
576
|
-
:type undo:
|
|
500
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
501
|
+
:type execution_context: typing.Union[str, int]
|
|
502
|
+
:type undo: bool
|
|
577
503
|
"""
|
|
578
504
|
|
|
579
505
|
...
|
|
580
506
|
|
|
581
507
|
def expanded_toggle(
|
|
582
|
-
override_context: typing.
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
586
|
-
undo: typing.Optional[bool] = None,
|
|
508
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
509
|
+
execution_context: typing.Union[str, int] = None,
|
|
510
|
+
undo: bool = None,
|
|
587
511
|
):
|
|
588
512
|
"""Expand/Collapse all items
|
|
589
513
|
|
|
590
|
-
:type override_context: typing.
|
|
591
|
-
:type execution_context: typing.
|
|
592
|
-
:type undo:
|
|
514
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
515
|
+
:type execution_context: typing.Union[str, int]
|
|
516
|
+
:type undo: bool
|
|
593
517
|
"""
|
|
594
518
|
|
|
595
519
|
...
|
|
596
520
|
|
|
597
521
|
def hide(
|
|
598
|
-
override_context: typing.
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
602
|
-
undo: typing.Optional[bool] = None,
|
|
522
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
523
|
+
execution_context: typing.Union[str, int] = None,
|
|
524
|
+
undo: bool = None,
|
|
603
525
|
):
|
|
604
526
|
"""Hide selected objects and collections
|
|
605
527
|
|
|
606
|
-
:type override_context: typing.
|
|
607
|
-
:type execution_context: typing.
|
|
608
|
-
:type undo:
|
|
528
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
529
|
+
:type execution_context: typing.Union[str, int]
|
|
530
|
+
:type undo: bool
|
|
609
531
|
"""
|
|
610
532
|
|
|
611
533
|
...
|
|
612
534
|
|
|
613
535
|
def highlight_update(
|
|
614
|
-
override_context: typing.
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
618
|
-
undo: typing.Optional[bool] = None,
|
|
536
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
537
|
+
execution_context: typing.Union[str, int] = None,
|
|
538
|
+
undo: bool = None,
|
|
619
539
|
):
|
|
620
540
|
"""Update the item highlight based on the current mouse position
|
|
621
541
|
|
|
622
|
-
:type override_context: typing.
|
|
623
|
-
:type execution_context: typing.
|
|
624
|
-
:type undo:
|
|
542
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
543
|
+
:type execution_context: typing.Union[str, int]
|
|
544
|
+
:type undo: bool
|
|
625
545
|
"""
|
|
626
546
|
|
|
627
547
|
...
|
|
628
548
|
|
|
629
549
|
def id_copy(
|
|
630
|
-
override_context: typing.
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
634
|
-
undo: typing.Optional[bool] = None,
|
|
550
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
551
|
+
execution_context: typing.Union[str, int] = None,
|
|
552
|
+
undo: bool = None,
|
|
635
553
|
):
|
|
636
554
|
"""Copy the selected data-blocks to the internal clipboard
|
|
637
555
|
|
|
638
|
-
:type override_context: typing.
|
|
639
|
-
:type execution_context: typing.
|
|
640
|
-
:type undo:
|
|
556
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
557
|
+
:type execution_context: typing.Union[str, int]
|
|
558
|
+
:type undo: bool
|
|
641
559
|
"""
|
|
642
560
|
|
|
643
561
|
...
|
|
644
562
|
|
|
645
563
|
def id_delete(
|
|
646
|
-
override_context: typing.
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
650
|
-
undo: typing.Optional[bool] = None,
|
|
564
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
565
|
+
execution_context: typing.Union[str, int] = None,
|
|
566
|
+
undo: bool = None,
|
|
651
567
|
):
|
|
652
568
|
"""Delete the ID under cursor
|
|
653
569
|
|
|
654
|
-
:type override_context: typing.
|
|
655
|
-
:type execution_context: typing.
|
|
656
|
-
:type undo:
|
|
570
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
571
|
+
:type execution_context: typing.Union[str, int]
|
|
572
|
+
:type undo: bool
|
|
657
573
|
"""
|
|
658
574
|
|
|
659
575
|
...
|
|
660
576
|
|
|
661
577
|
def id_operation(
|
|
662
|
-
override_context: typing.
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
undo: typing.Optional[bool] = None,
|
|
667
|
-
*,
|
|
668
|
-
type: typing.Optional[typing.Any] = "UNLINK",
|
|
578
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
579
|
+
execution_context: typing.Union[str, int] = None,
|
|
580
|
+
undo: bool = None,
|
|
581
|
+
type: typing.Any = "UNLINK",
|
|
669
582
|
):
|
|
670
583
|
"""General data-block management operations
|
|
671
584
|
|
|
672
|
-
:type override_context: typing.
|
|
673
|
-
:type execution_context: typing.
|
|
674
|
-
:type undo:
|
|
585
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
586
|
+
:type execution_context: typing.Union[str, int]
|
|
587
|
+
:type undo: bool
|
|
675
588
|
:param type: ID Data Operation
|
|
676
589
|
|
|
677
590
|
UNLINK
|
|
@@ -706,184 +619,161 @@ def id_operation(
|
|
|
706
619
|
|
|
707
620
|
SELECT_LINKED
|
|
708
621
|
Select Linked.
|
|
709
|
-
:type type: typing.
|
|
622
|
+
:type type: typing.Any
|
|
710
623
|
"""
|
|
711
624
|
|
|
712
625
|
...
|
|
713
626
|
|
|
714
627
|
def id_paste(
|
|
715
|
-
override_context: typing.
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
719
|
-
undo: typing.Optional[bool] = None,
|
|
628
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
629
|
+
execution_context: typing.Union[str, int] = None,
|
|
630
|
+
undo: bool = None,
|
|
720
631
|
):
|
|
721
632
|
"""Paste data-blocks from the internal clipboard
|
|
722
633
|
|
|
723
|
-
:type override_context: typing.
|
|
724
|
-
:type execution_context: typing.
|
|
725
|
-
:type undo:
|
|
634
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
635
|
+
:type execution_context: typing.Union[str, int]
|
|
636
|
+
:type undo: bool
|
|
726
637
|
"""
|
|
727
638
|
|
|
728
639
|
...
|
|
729
640
|
|
|
730
641
|
def id_remap(
|
|
731
|
-
override_context: typing.
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
id_type: typing.Optional[typing.Any] = "OBJECT",
|
|
738
|
-
old_id: typing.Optional[typing.Union[int, str, typing.Any]] = "",
|
|
739
|
-
new_id: typing.Optional[typing.Union[int, str, typing.Any]] = "",
|
|
642
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
643
|
+
execution_context: typing.Union[str, int] = None,
|
|
644
|
+
undo: bool = None,
|
|
645
|
+
id_type: typing.Any = "OBJECT",
|
|
646
|
+
old_id: typing.Union[str, int, typing.Any] = "",
|
|
647
|
+
new_id: typing.Union[str, int, typing.Any] = "",
|
|
740
648
|
):
|
|
741
649
|
"""Undocumented, consider contributing.
|
|
742
650
|
|
|
743
|
-
:type override_context: typing.
|
|
744
|
-
:type execution_context: typing.
|
|
745
|
-
:type undo:
|
|
651
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
652
|
+
:type execution_context: typing.Union[str, int]
|
|
653
|
+
:type undo: bool
|
|
746
654
|
:param id_type: ID Type
|
|
747
|
-
:type id_type: typing.
|
|
655
|
+
:type id_type: typing.Any
|
|
748
656
|
:param old_id: Old ID, Old ID to replace
|
|
749
|
-
:type old_id: typing.
|
|
657
|
+
:type old_id: typing.Union[str, int, typing.Any]
|
|
750
658
|
:param new_id: New ID, New ID to remap all selected IDs' users to
|
|
751
|
-
:type new_id: typing.
|
|
659
|
+
:type new_id: typing.Union[str, int, typing.Any]
|
|
752
660
|
"""
|
|
753
661
|
|
|
754
662
|
...
|
|
755
663
|
|
|
756
664
|
def item_activate(
|
|
757
|
-
override_context: typing.
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
extend_range: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
765
|
-
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
766
|
-
recurse: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
665
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
666
|
+
execution_context: typing.Union[str, int] = None,
|
|
667
|
+
undo: bool = None,
|
|
668
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
669
|
+
extend_range: typing.Union[bool, typing.Any] = False,
|
|
670
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
671
|
+
recurse: typing.Union[bool, typing.Any] = False,
|
|
767
672
|
):
|
|
768
673
|
"""Handle mouse clicks to select and activate items
|
|
769
674
|
|
|
770
|
-
:type override_context: typing.
|
|
771
|
-
:type execution_context: typing.
|
|
772
|
-
:type undo:
|
|
675
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
676
|
+
:type execution_context: typing.Union[str, int]
|
|
677
|
+
:type undo: bool
|
|
773
678
|
:param extend: Extend, Extend selection for activation
|
|
774
|
-
:type extend: typing.
|
|
679
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
775
680
|
:param extend_range: Extend Range, Select a range from active element
|
|
776
|
-
:type extend_range: typing.
|
|
681
|
+
:type extend_range: typing.Union[bool, typing.Any]
|
|
777
682
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
778
|
-
:type deselect_all: typing.
|
|
683
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
779
684
|
:param recurse: Recurse, Select objects recursively from active element
|
|
780
|
-
:type recurse: typing.
|
|
685
|
+
:type recurse: typing.Union[bool, typing.Any]
|
|
781
686
|
"""
|
|
782
687
|
|
|
783
688
|
...
|
|
784
689
|
|
|
785
690
|
def item_drag_drop(
|
|
786
|
-
override_context: typing.
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
790
|
-
undo: typing.Optional[bool] = None,
|
|
691
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
692
|
+
execution_context: typing.Union[str, int] = None,
|
|
693
|
+
undo: bool = None,
|
|
791
694
|
):
|
|
792
695
|
"""Drag and drop element to another place
|
|
793
696
|
|
|
794
|
-
:type override_context: typing.
|
|
795
|
-
:type execution_context: typing.
|
|
796
|
-
:type undo:
|
|
697
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
698
|
+
:type execution_context: typing.Union[str, int]
|
|
699
|
+
:type undo: bool
|
|
797
700
|
"""
|
|
798
701
|
|
|
799
702
|
...
|
|
800
703
|
|
|
801
704
|
def item_openclose(
|
|
802
|
-
override_context: typing.
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
undo: typing.Optional[bool] = None,
|
|
807
|
-
*,
|
|
808
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
705
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
706
|
+
execution_context: typing.Union[str, int] = None,
|
|
707
|
+
undo: bool = None,
|
|
708
|
+
all: typing.Union[bool, typing.Any] = False,
|
|
809
709
|
):
|
|
810
710
|
"""Toggle whether item under cursor is enabled or closed
|
|
811
711
|
|
|
812
|
-
:type override_context: typing.
|
|
813
|
-
:type execution_context: typing.
|
|
814
|
-
:type undo:
|
|
712
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
713
|
+
:type execution_context: typing.Union[str, int]
|
|
714
|
+
:type undo: bool
|
|
815
715
|
:param all: All, Close or open all items
|
|
816
|
-
:type all: typing.
|
|
716
|
+
:type all: typing.Union[bool, typing.Any]
|
|
817
717
|
"""
|
|
818
718
|
|
|
819
719
|
...
|
|
820
720
|
|
|
821
721
|
def item_rename(
|
|
822
|
-
override_context: typing.
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
undo: typing.Optional[bool] = None,
|
|
827
|
-
*,
|
|
828
|
-
use_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
722
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
723
|
+
execution_context: typing.Union[str, int] = None,
|
|
724
|
+
undo: bool = None,
|
|
725
|
+
use_active: typing.Union[bool, typing.Any] = False,
|
|
829
726
|
):
|
|
830
727
|
"""Rename the active element
|
|
831
728
|
|
|
832
|
-
:type override_context: typing.
|
|
833
|
-
:type execution_context: typing.
|
|
834
|
-
:type undo:
|
|
729
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
730
|
+
:type execution_context: typing.Union[str, int]
|
|
731
|
+
:type undo: bool
|
|
835
732
|
:param use_active: Use Active, Rename the active item, rather than the one the mouse is over
|
|
836
|
-
:type use_active: typing.
|
|
733
|
+
:type use_active: typing.Union[bool, typing.Any]
|
|
837
734
|
"""
|
|
838
735
|
|
|
839
736
|
...
|
|
840
737
|
|
|
841
738
|
def keyingset_add_selected(
|
|
842
|
-
override_context: typing.
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
846
|
-
undo: typing.Optional[bool] = None,
|
|
739
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
740
|
+
execution_context: typing.Union[str, int] = None,
|
|
741
|
+
undo: bool = None,
|
|
847
742
|
):
|
|
848
743
|
"""Add selected items (blue-gray rows) to active Keying Set
|
|
849
744
|
|
|
850
|
-
:type override_context: typing.
|
|
851
|
-
:type execution_context: typing.
|
|
852
|
-
:type undo:
|
|
745
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
746
|
+
:type execution_context: typing.Union[str, int]
|
|
747
|
+
:type undo: bool
|
|
853
748
|
"""
|
|
854
749
|
|
|
855
750
|
...
|
|
856
751
|
|
|
857
752
|
def keyingset_remove_selected(
|
|
858
|
-
override_context: typing.
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
862
|
-
undo: typing.Optional[bool] = None,
|
|
753
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
754
|
+
execution_context: typing.Union[str, int] = None,
|
|
755
|
+
undo: bool = None,
|
|
863
756
|
):
|
|
864
757
|
"""Remove selected items (blue-gray rows) from active Keying Set
|
|
865
758
|
|
|
866
|
-
:type override_context: typing.
|
|
867
|
-
:type execution_context: typing.
|
|
868
|
-
:type undo:
|
|
759
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
760
|
+
:type execution_context: typing.Union[str, int]
|
|
761
|
+
:type undo: bool
|
|
869
762
|
"""
|
|
870
763
|
|
|
871
764
|
...
|
|
872
765
|
|
|
873
766
|
def lib_operation(
|
|
874
|
-
override_context: typing.
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
undo: typing.Optional[bool] = None,
|
|
879
|
-
*,
|
|
880
|
-
type: typing.Optional[typing.Any] = "DELETE",
|
|
767
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
768
|
+
execution_context: typing.Union[str, int] = None,
|
|
769
|
+
undo: bool = None,
|
|
770
|
+
type: typing.Any = "DELETE",
|
|
881
771
|
):
|
|
882
772
|
"""Undocumented, consider contributing.
|
|
883
773
|
|
|
884
|
-
:type override_context: typing.
|
|
885
|
-
:type execution_context: typing.
|
|
886
|
-
:type undo:
|
|
774
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
775
|
+
:type execution_context: typing.Union[str, int]
|
|
776
|
+
:type undo: bool
|
|
887
777
|
:param type: Library Operation
|
|
888
778
|
|
|
889
779
|
DELETE
|
|
@@ -895,42 +785,37 @@ def lib_operation(
|
|
|
895
785
|
|
|
896
786
|
RELOAD
|
|
897
787
|
Reload -- Reload all data from this library.
|
|
898
|
-
:type type: typing.
|
|
788
|
+
:type type: typing.Any
|
|
899
789
|
"""
|
|
900
790
|
|
|
901
791
|
...
|
|
902
792
|
|
|
903
793
|
def lib_relocate(
|
|
904
|
-
override_context: typing.
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
908
|
-
undo: typing.Optional[bool] = None,
|
|
794
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
795
|
+
execution_context: typing.Union[str, int] = None,
|
|
796
|
+
undo: bool = None,
|
|
909
797
|
):
|
|
910
798
|
"""Relocate the library under cursor
|
|
911
799
|
|
|
912
|
-
:type override_context: typing.
|
|
913
|
-
:type execution_context: typing.
|
|
914
|
-
:type undo:
|
|
800
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
801
|
+
:type execution_context: typing.Union[str, int]
|
|
802
|
+
:type undo: bool
|
|
915
803
|
"""
|
|
916
804
|
|
|
917
805
|
...
|
|
918
806
|
|
|
919
807
|
def liboverride_operation(
|
|
920
|
-
override_context: typing.
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
*,
|
|
926
|
-
type: typing.Optional[typing.Any] = "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
|
|
927
|
-
selection_set: typing.Optional[typing.Any] = "SELECTED",
|
|
808
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
809
|
+
execution_context: typing.Union[str, int] = None,
|
|
810
|
+
undo: bool = None,
|
|
811
|
+
type: typing.Any = "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
|
|
812
|
+
selection_set: typing.Any = "SELECTED",
|
|
928
813
|
):
|
|
929
814
|
"""Create, reset or clear library override hierarchies
|
|
930
815
|
|
|
931
|
-
:type override_context: typing.
|
|
932
|
-
:type execution_context: typing.
|
|
933
|
-
:type undo:
|
|
816
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
817
|
+
:type execution_context: typing.Union[str, int]
|
|
818
|
+
:type undo: bool
|
|
934
819
|
:param type: Library Override Operation
|
|
935
820
|
|
|
936
821
|
OVERRIDE_LIBRARY_CREATE_HIERARCHY
|
|
@@ -941,7 +826,7 @@ def liboverride_operation(
|
|
|
941
826
|
|
|
942
827
|
OVERRIDE_LIBRARY_CLEAR_SINGLE
|
|
943
828
|
Clear -- Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable.
|
|
944
|
-
:type type: typing.
|
|
829
|
+
:type type: typing.Any
|
|
945
830
|
:param selection_set: Selection Set, Over which part of the tree items to apply the operation
|
|
946
831
|
|
|
947
832
|
SELECTED
|
|
@@ -952,26 +837,23 @@ def liboverride_operation(
|
|
|
952
837
|
|
|
953
838
|
SELECTED_AND_CONTENT
|
|
954
839
|
Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
|
|
955
|
-
:type selection_set: typing.
|
|
840
|
+
:type selection_set: typing.Any
|
|
956
841
|
"""
|
|
957
842
|
|
|
958
843
|
...
|
|
959
844
|
|
|
960
845
|
def liboverride_troubleshoot_operation(
|
|
961
|
-
override_context: typing.
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
*,
|
|
967
|
-
type: typing.Optional[typing.Any] = "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
|
|
968
|
-
selection_set: typing.Optional[typing.Any] = "SELECTED",
|
|
846
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
847
|
+
execution_context: typing.Union[str, int] = None,
|
|
848
|
+
undo: bool = None,
|
|
849
|
+
type: typing.Any = "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
|
|
850
|
+
selection_set: typing.Any = "SELECTED",
|
|
969
851
|
):
|
|
970
852
|
"""Advanced operations over library override to help fix broken hierarchies
|
|
971
853
|
|
|
972
|
-
:type override_context: typing.
|
|
973
|
-
:type execution_context: typing.
|
|
974
|
-
:type undo:
|
|
854
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
855
|
+
:type execution_context: typing.Union[str, int]
|
|
856
|
+
:type undo: bool
|
|
975
857
|
:param type: Library Override Troubleshoot Operation
|
|
976
858
|
|
|
977
859
|
OVERRIDE_LIBRARY_RESYNC_HIERARCHY
|
|
@@ -982,7 +864,7 @@ def liboverride_troubleshoot_operation(
|
|
|
982
864
|
|
|
983
865
|
OVERRIDE_LIBRARY_DELETE_HIERARCHY
|
|
984
866
|
Delete -- Delete the selected local overrides (including their hierarchies of override dependencies) and relink their usages to the linked data-blocks.
|
|
985
|
-
:type type: typing.
|
|
867
|
+
:type type: typing.Any
|
|
986
868
|
:param selection_set: Selection Set, Over which part of the tree items to apply the operation
|
|
987
869
|
|
|
988
870
|
SELECTED
|
|
@@ -993,61 +875,53 @@ def liboverride_troubleshoot_operation(
|
|
|
993
875
|
|
|
994
876
|
SELECTED_AND_CONTENT
|
|
995
877
|
Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
|
|
996
|
-
:type selection_set: typing.
|
|
878
|
+
:type selection_set: typing.Any
|
|
997
879
|
"""
|
|
998
880
|
|
|
999
881
|
...
|
|
1000
882
|
|
|
1001
883
|
def material_drop(
|
|
1002
|
-
override_context: typing.
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1006
|
-
undo: typing.Optional[bool] = None,
|
|
884
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
885
|
+
execution_context: typing.Union[str, int] = None,
|
|
886
|
+
undo: bool = None,
|
|
1007
887
|
):
|
|
1008
888
|
"""Drag material to object in Outliner
|
|
1009
889
|
|
|
1010
|
-
:type override_context: typing.
|
|
1011
|
-
:type execution_context: typing.
|
|
1012
|
-
:type undo:
|
|
890
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
891
|
+
:type execution_context: typing.Union[str, int]
|
|
892
|
+
:type undo: bool
|
|
1013
893
|
"""
|
|
1014
894
|
|
|
1015
895
|
...
|
|
1016
896
|
|
|
1017
897
|
def modifier_operation(
|
|
1018
|
-
override_context: typing.
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
undo: typing.Optional[bool] = None,
|
|
1023
|
-
*,
|
|
1024
|
-
type: typing.Optional[typing.Any] = "APPLY",
|
|
898
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
899
|
+
execution_context: typing.Union[str, int] = None,
|
|
900
|
+
undo: bool = None,
|
|
901
|
+
type: typing.Any = "APPLY",
|
|
1025
902
|
):
|
|
1026
903
|
"""Undocumented, consider contributing.
|
|
1027
904
|
|
|
1028
|
-
:type override_context: typing.
|
|
1029
|
-
:type execution_context: typing.
|
|
1030
|
-
:type undo:
|
|
905
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
906
|
+
:type execution_context: typing.Union[str, int]
|
|
907
|
+
:type undo: bool
|
|
1031
908
|
:param type: Modifier Operation
|
|
1032
|
-
:type type: typing.
|
|
909
|
+
:type type: typing.Any
|
|
1033
910
|
"""
|
|
1034
911
|
|
|
1035
912
|
...
|
|
1036
913
|
|
|
1037
914
|
def object_operation(
|
|
1038
|
-
override_context: typing.
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
undo: typing.Optional[bool] = None,
|
|
1043
|
-
*,
|
|
1044
|
-
type: typing.Optional[typing.Any] = "SELECT",
|
|
915
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
916
|
+
execution_context: typing.Union[str, int] = None,
|
|
917
|
+
undo: bool = None,
|
|
918
|
+
type: typing.Any = "SELECT",
|
|
1045
919
|
):
|
|
1046
920
|
"""Undocumented, consider contributing.
|
|
1047
921
|
|
|
1048
|
-
:type override_context: typing.
|
|
1049
|
-
:type execution_context: typing.
|
|
1050
|
-
:type undo:
|
|
922
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
923
|
+
:type execution_context: typing.Union[str, int]
|
|
924
|
+
:type undo: bool
|
|
1051
925
|
:param type: Object Operation
|
|
1052
926
|
|
|
1053
927
|
SELECT
|
|
@@ -1064,171 +938,149 @@ def object_operation(
|
|
|
1064
938
|
|
|
1065
939
|
RENAME
|
|
1066
940
|
Rename.
|
|
1067
|
-
:type type: typing.
|
|
941
|
+
:type type: typing.Any
|
|
1068
942
|
"""
|
|
1069
943
|
|
|
1070
944
|
...
|
|
1071
945
|
|
|
1072
946
|
def operation(
|
|
1073
|
-
override_context: typing.
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1077
|
-
undo: typing.Optional[bool] = None,
|
|
947
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
948
|
+
execution_context: typing.Union[str, int] = None,
|
|
949
|
+
undo: bool = None,
|
|
1078
950
|
):
|
|
1079
951
|
"""Context menu for item operations
|
|
1080
952
|
|
|
1081
|
-
:type override_context: typing.
|
|
1082
|
-
:type execution_context: typing.
|
|
1083
|
-
:type undo:
|
|
953
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
954
|
+
:type execution_context: typing.Union[str, int]
|
|
955
|
+
:type undo: bool
|
|
1084
956
|
"""
|
|
1085
957
|
|
|
1086
958
|
...
|
|
1087
959
|
|
|
1088
960
|
def orphans_manage(
|
|
1089
|
-
override_context: typing.
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1093
|
-
undo: typing.Optional[bool] = None,
|
|
961
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
962
|
+
execution_context: typing.Union[str, int] = None,
|
|
963
|
+
undo: bool = None,
|
|
1094
964
|
):
|
|
1095
965
|
"""Open a window to manage unused data
|
|
1096
966
|
|
|
1097
|
-
:type override_context: typing.
|
|
1098
|
-
:type execution_context: typing.
|
|
1099
|
-
:type undo:
|
|
967
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
968
|
+
:type execution_context: typing.Union[str, int]
|
|
969
|
+
:type undo: bool
|
|
1100
970
|
"""
|
|
1101
971
|
|
|
1102
972
|
...
|
|
1103
973
|
|
|
1104
974
|
def orphans_purge(
|
|
1105
|
-
override_context: typing.
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
do_local_ids: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1112
|
-
do_linked_ids: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1113
|
-
do_recursive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
975
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
976
|
+
execution_context: typing.Union[str, int] = None,
|
|
977
|
+
undo: bool = None,
|
|
978
|
+
do_local_ids: typing.Union[bool, typing.Any] = True,
|
|
979
|
+
do_linked_ids: typing.Union[bool, typing.Any] = True,
|
|
980
|
+
do_recursive: typing.Union[bool, typing.Any] = False,
|
|
1114
981
|
):
|
|
1115
982
|
"""Clear all orphaned data-blocks without any users from the file
|
|
1116
983
|
|
|
1117
|
-
:type override_context: typing.
|
|
1118
|
-
:type execution_context: typing.
|
|
1119
|
-
:type undo:
|
|
984
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
985
|
+
:type execution_context: typing.Union[str, int]
|
|
986
|
+
:type undo: bool
|
|
1120
987
|
:param do_local_ids: Local Data-blocks, Include unused local data-blocks into deletion
|
|
1121
|
-
:type do_local_ids: typing.
|
|
988
|
+
:type do_local_ids: typing.Union[bool, typing.Any]
|
|
1122
989
|
:param do_linked_ids: Linked Data-blocks, Include unused linked data-blocks into deletion
|
|
1123
|
-
:type do_linked_ids: typing.
|
|
990
|
+
:type do_linked_ids: typing.Union[bool, typing.Any]
|
|
1124
991
|
:param do_recursive: Recursive Delete, Recursively check for indirectly unused data-blocks, ensuring that no orphaned data-blocks remain after execution
|
|
1125
|
-
:type do_recursive: typing.
|
|
992
|
+
:type do_recursive: typing.Union[bool, typing.Any]
|
|
1126
993
|
"""
|
|
1127
994
|
|
|
1128
995
|
...
|
|
1129
996
|
|
|
1130
997
|
def parent_clear(
|
|
1131
|
-
override_context: typing.
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1135
|
-
undo: typing.Optional[bool] = None,
|
|
998
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
999
|
+
execution_context: typing.Union[str, int] = None,
|
|
1000
|
+
undo: bool = None,
|
|
1136
1001
|
):
|
|
1137
1002
|
"""Drag to clear parent in Outliner
|
|
1138
1003
|
|
|
1139
|
-
:type override_context: typing.
|
|
1140
|
-
:type execution_context: typing.
|
|
1141
|
-
:type undo:
|
|
1004
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1005
|
+
:type execution_context: typing.Union[str, int]
|
|
1006
|
+
:type undo: bool
|
|
1142
1007
|
"""
|
|
1143
1008
|
|
|
1144
1009
|
...
|
|
1145
1010
|
|
|
1146
1011
|
def parent_drop(
|
|
1147
|
-
override_context: typing.
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1151
|
-
undo: typing.Optional[bool] = None,
|
|
1012
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1013
|
+
execution_context: typing.Union[str, int] = None,
|
|
1014
|
+
undo: bool = None,
|
|
1152
1015
|
):
|
|
1153
1016
|
"""Drag to parent in Outliner
|
|
1154
1017
|
|
|
1155
|
-
:type override_context: typing.
|
|
1156
|
-
:type execution_context: typing.
|
|
1157
|
-
:type undo:
|
|
1018
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1019
|
+
:type execution_context: typing.Union[str, int]
|
|
1020
|
+
:type undo: bool
|
|
1158
1021
|
"""
|
|
1159
1022
|
|
|
1160
1023
|
...
|
|
1161
1024
|
|
|
1162
1025
|
def scene_drop(
|
|
1163
|
-
override_context: typing.
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1167
|
-
undo: typing.Optional[bool] = None,
|
|
1026
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1027
|
+
execution_context: typing.Union[str, int] = None,
|
|
1028
|
+
undo: bool = None,
|
|
1168
1029
|
):
|
|
1169
1030
|
"""Drag object to scene in Outliner
|
|
1170
1031
|
|
|
1171
|
-
:type override_context: typing.
|
|
1172
|
-
:type execution_context: typing.
|
|
1173
|
-
:type undo:
|
|
1032
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1033
|
+
:type execution_context: typing.Union[str, int]
|
|
1034
|
+
:type undo: bool
|
|
1174
1035
|
"""
|
|
1175
1036
|
|
|
1176
1037
|
...
|
|
1177
1038
|
|
|
1178
1039
|
def scene_operation(
|
|
1179
|
-
override_context: typing.
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
undo: typing.Optional[bool] = None,
|
|
1184
|
-
*,
|
|
1185
|
-
type: typing.Optional[typing.Union[int, str, typing.Any]] = "DELETE",
|
|
1040
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1041
|
+
execution_context: typing.Union[str, int] = None,
|
|
1042
|
+
undo: bool = None,
|
|
1043
|
+
type: typing.Union[str, int, typing.Any] = "DELETE",
|
|
1186
1044
|
):
|
|
1187
1045
|
"""Context menu for scene operations
|
|
1188
1046
|
|
|
1189
|
-
:type override_context: typing.
|
|
1190
|
-
:type execution_context: typing.
|
|
1191
|
-
:type undo:
|
|
1047
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1048
|
+
:type execution_context: typing.Union[str, int]
|
|
1049
|
+
:type undo: bool
|
|
1192
1050
|
:param type: Scene Operation
|
|
1193
|
-
:type type: typing.
|
|
1051
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
1194
1052
|
"""
|
|
1195
1053
|
|
|
1196
1054
|
...
|
|
1197
1055
|
|
|
1198
1056
|
def scroll_page(
|
|
1199
|
-
override_context: typing.
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
undo: typing.Optional[bool] = None,
|
|
1204
|
-
*,
|
|
1205
|
-
up: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1057
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1058
|
+
execution_context: typing.Union[str, int] = None,
|
|
1059
|
+
undo: bool = None,
|
|
1060
|
+
up: typing.Union[bool, typing.Any] = False,
|
|
1206
1061
|
):
|
|
1207
1062
|
"""Scroll page up or down
|
|
1208
1063
|
|
|
1209
|
-
:type override_context: typing.
|
|
1210
|
-
:type execution_context: typing.
|
|
1211
|
-
:type undo:
|
|
1064
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1065
|
+
:type execution_context: typing.Union[str, int]
|
|
1066
|
+
:type undo: bool
|
|
1212
1067
|
:param up: Up, Scroll up one page
|
|
1213
|
-
:type up: typing.
|
|
1068
|
+
:type up: typing.Union[bool, typing.Any]
|
|
1214
1069
|
"""
|
|
1215
1070
|
|
|
1216
1071
|
...
|
|
1217
1072
|
|
|
1218
1073
|
def select_all(
|
|
1219
|
-
override_context: typing.
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
undo: typing.Optional[bool] = None,
|
|
1224
|
-
*,
|
|
1225
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
1074
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1075
|
+
execution_context: typing.Union[str, int] = None,
|
|
1076
|
+
undo: bool = None,
|
|
1077
|
+
action: typing.Any = "TOGGLE",
|
|
1226
1078
|
):
|
|
1227
1079
|
"""Toggle the Outliner selection of items
|
|
1228
1080
|
|
|
1229
|
-
:type override_context: typing.
|
|
1230
|
-
:type execution_context: typing.
|
|
1231
|
-
:type undo:
|
|
1081
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1082
|
+
:type execution_context: typing.Union[str, int]
|
|
1083
|
+
:type undo: bool
|
|
1232
1084
|
:param action: Action, Selection action to execute
|
|
1233
1085
|
|
|
1234
1086
|
TOGGLE
|
|
@@ -1242,43 +1094,40 @@ def select_all(
|
|
|
1242
1094
|
|
|
1243
1095
|
INVERT
|
|
1244
1096
|
Invert -- Invert selection of all elements.
|
|
1245
|
-
:type action: typing.
|
|
1097
|
+
:type action: typing.Any
|
|
1246
1098
|
"""
|
|
1247
1099
|
|
|
1248
1100
|
...
|
|
1249
1101
|
|
|
1250
1102
|
def select_box(
|
|
1251
|
-
override_context: typing.
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
1262
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1263
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
1103
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1104
|
+
execution_context: typing.Union[str, int] = None,
|
|
1105
|
+
undo: bool = None,
|
|
1106
|
+
tweak: typing.Union[bool, typing.Any] = False,
|
|
1107
|
+
xmin: typing.Any = 0,
|
|
1108
|
+
xmax: typing.Any = 0,
|
|
1109
|
+
ymin: typing.Any = 0,
|
|
1110
|
+
ymax: typing.Any = 0,
|
|
1111
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
1112
|
+
mode: typing.Any = "SET",
|
|
1264
1113
|
):
|
|
1265
1114
|
"""Use box selection to select tree elements
|
|
1266
1115
|
|
|
1267
|
-
:type override_context: typing.
|
|
1268
|
-
:type execution_context: typing.
|
|
1269
|
-
:type undo:
|
|
1116
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1117
|
+
:type execution_context: typing.Union[str, int]
|
|
1118
|
+
:type undo: bool
|
|
1270
1119
|
:param tweak: Tweak, Tweak gesture from empty space for box selection
|
|
1271
|
-
:type tweak: typing.
|
|
1120
|
+
:type tweak: typing.Union[bool, typing.Any]
|
|
1272
1121
|
:param xmin: X Min
|
|
1273
|
-
:type xmin: typing.
|
|
1122
|
+
:type xmin: typing.Any
|
|
1274
1123
|
:param xmax: X Max
|
|
1275
|
-
:type xmax: typing.
|
|
1124
|
+
:type xmax: typing.Any
|
|
1276
1125
|
:param ymin: Y Min
|
|
1277
|
-
:type ymin: typing.
|
|
1126
|
+
:type ymin: typing.Any
|
|
1278
1127
|
:param ymax: Y Max
|
|
1279
|
-
:type ymax: typing.
|
|
1128
|
+
:type ymax: typing.Any
|
|
1280
1129
|
:param wait_for_input: Wait for Input
|
|
1281
|
-
:type wait_for_input: typing.
|
|
1130
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
1282
1131
|
:param mode: Mode
|
|
1283
1132
|
|
|
1284
1133
|
SET
|
|
@@ -1289,101 +1138,89 @@ def select_box(
|
|
|
1289
1138
|
|
|
1290
1139
|
SUB
|
|
1291
1140
|
Subtract -- Subtract existing selection.
|
|
1292
|
-
:type mode: typing.
|
|
1141
|
+
:type mode: typing.Any
|
|
1293
1142
|
"""
|
|
1294
1143
|
|
|
1295
1144
|
...
|
|
1296
1145
|
|
|
1297
1146
|
def select_walk(
|
|
1298
|
-
override_context: typing.
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
1305
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1306
|
-
toggle_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1147
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1148
|
+
execution_context: typing.Union[str, int] = None,
|
|
1149
|
+
undo: bool = None,
|
|
1150
|
+
direction: typing.Any = "UP",
|
|
1151
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
1152
|
+
toggle_all: typing.Union[bool, typing.Any] = False,
|
|
1307
1153
|
):
|
|
1308
1154
|
"""Use walk navigation to select tree elements
|
|
1309
1155
|
|
|
1310
|
-
:type override_context: typing.
|
|
1311
|
-
:type execution_context: typing.
|
|
1312
|
-
:type undo:
|
|
1156
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1157
|
+
:type execution_context: typing.Union[str, int]
|
|
1158
|
+
:type undo: bool
|
|
1313
1159
|
:param direction: Walk Direction, Select/Deselect element in this direction
|
|
1314
|
-
:type direction: typing.
|
|
1160
|
+
:type direction: typing.Any
|
|
1315
1161
|
:param extend: Extend, Extend selection on walk
|
|
1316
|
-
:type extend: typing.
|
|
1162
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
1317
1163
|
:param toggle_all: Toggle All, Toggle open/close hierarchy
|
|
1318
|
-
:type toggle_all: typing.
|
|
1164
|
+
:type toggle_all: typing.Union[bool, typing.Any]
|
|
1319
1165
|
"""
|
|
1320
1166
|
|
|
1321
1167
|
...
|
|
1322
1168
|
|
|
1323
1169
|
def show_active(
|
|
1324
|
-
override_context: typing.
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1328
|
-
undo: typing.Optional[bool] = None,
|
|
1170
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1171
|
+
execution_context: typing.Union[str, int] = None,
|
|
1172
|
+
undo: bool = None,
|
|
1329
1173
|
):
|
|
1330
1174
|
"""Open up the tree and adjust the view so that the active object is shown centered
|
|
1331
1175
|
|
|
1332
|
-
:type override_context: typing.
|
|
1333
|
-
:type execution_context: typing.
|
|
1334
|
-
:type undo:
|
|
1176
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1177
|
+
:type execution_context: typing.Union[str, int]
|
|
1178
|
+
:type undo: bool
|
|
1335
1179
|
"""
|
|
1336
1180
|
|
|
1337
1181
|
...
|
|
1338
1182
|
|
|
1339
1183
|
def show_hierarchy(
|
|
1340
|
-
override_context: typing.
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1344
|
-
undo: typing.Optional[bool] = None,
|
|
1184
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1185
|
+
execution_context: typing.Union[str, int] = None,
|
|
1186
|
+
undo: bool = None,
|
|
1345
1187
|
):
|
|
1346
1188
|
"""Open all object entries and close all others
|
|
1347
1189
|
|
|
1348
|
-
:type override_context: typing.
|
|
1349
|
-
:type execution_context: typing.
|
|
1350
|
-
:type undo:
|
|
1190
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1191
|
+
:type execution_context: typing.Union[str, int]
|
|
1192
|
+
:type undo: bool
|
|
1351
1193
|
"""
|
|
1352
1194
|
|
|
1353
1195
|
...
|
|
1354
1196
|
|
|
1355
1197
|
def show_one_level(
|
|
1356
|
-
override_context: typing.
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
undo: typing.Optional[bool] = None,
|
|
1361
|
-
*,
|
|
1362
|
-
open: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1198
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1199
|
+
execution_context: typing.Union[str, int] = None,
|
|
1200
|
+
undo: bool = None,
|
|
1201
|
+
open: typing.Union[bool, typing.Any] = True,
|
|
1363
1202
|
):
|
|
1364
1203
|
"""Expand/collapse all entries by one level
|
|
1365
1204
|
|
|
1366
|
-
:type override_context: typing.
|
|
1367
|
-
:type execution_context: typing.
|
|
1368
|
-
:type undo:
|
|
1205
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1206
|
+
:type execution_context: typing.Union[str, int]
|
|
1207
|
+
:type undo: bool
|
|
1369
1208
|
:param open: Open, Expand all entries one level deep
|
|
1370
|
-
:type open: typing.
|
|
1209
|
+
:type open: typing.Union[bool, typing.Any]
|
|
1371
1210
|
"""
|
|
1372
1211
|
|
|
1373
1212
|
...
|
|
1374
1213
|
|
|
1375
1214
|
def unhide_all(
|
|
1376
|
-
override_context: typing.
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1380
|
-
undo: typing.Optional[bool] = None,
|
|
1215
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1216
|
+
execution_context: typing.Union[str, int] = None,
|
|
1217
|
+
undo: bool = None,
|
|
1381
1218
|
):
|
|
1382
1219
|
"""Unhide all objects and collections
|
|
1383
1220
|
|
|
1384
|
-
:type override_context: typing.
|
|
1385
|
-
:type execution_context: typing.
|
|
1386
|
-
:type undo:
|
|
1221
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1222
|
+
:type execution_context: typing.Union[str, int]
|
|
1223
|
+
:type undo: bool
|
|
1387
1224
|
"""
|
|
1388
1225
|
|
|
1389
1226
|
...
|