fake-bpy-module 20240224__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- 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 +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- 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 +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- 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 +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- 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 +268 -262
- bmesh/utils/__init__.pyi +55 -55
- 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 +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- 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 -3
- 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 +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- 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 +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- 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 +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- 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 +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/outliner/__init__.pyi
CHANGED
|
@@ -4,35 +4,33 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def action_set(
|
|
7
|
-
override_context=None,
|
|
8
|
-
execution_context=None,
|
|
9
|
-
undo=None,
|
|
10
|
-
|
|
11
|
-
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] = "",
|
|
12
11
|
):
|
|
13
12
|
"""Change the active action used
|
|
14
13
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
18
17
|
:param action: Action
|
|
19
|
-
:type action: typing.
|
|
18
|
+
:type action: typing.Union[str, int, typing.Any]
|
|
20
19
|
"""
|
|
21
20
|
|
|
22
21
|
...
|
|
23
22
|
|
|
24
23
|
def animdata_operation(
|
|
25
|
-
override_context=None,
|
|
26
|
-
execution_context=None,
|
|
27
|
-
undo=None,
|
|
28
|
-
|
|
29
|
-
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",
|
|
30
28
|
):
|
|
31
29
|
"""Undocumented, consider contributing.
|
|
32
30
|
|
|
33
|
-
:type override_context: typing.
|
|
34
|
-
:type execution_context: typing.
|
|
35
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
36
34
|
:param type: Animation Operation
|
|
37
35
|
|
|
38
36
|
CLEAR_ANIMDATA
|
|
@@ -49,441 +47,544 @@ def animdata_operation(
|
|
|
49
47
|
|
|
50
48
|
CLEAR_DRIVERS
|
|
51
49
|
Clear Drivers.
|
|
52
|
-
:type type: typing.
|
|
50
|
+
:type type: typing.Any
|
|
53
51
|
"""
|
|
54
52
|
|
|
55
53
|
...
|
|
56
54
|
|
|
57
55
|
def collection_color_tag_set(
|
|
58
|
-
override_context=None,
|
|
59
|
-
execution_context=None,
|
|
60
|
-
undo=None,
|
|
61
|
-
|
|
62
|
-
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",
|
|
63
60
|
):
|
|
64
61
|
"""Set a color tag for the selected collections
|
|
65
62
|
|
|
66
|
-
:type override_context: typing.
|
|
67
|
-
:type execution_context: typing.
|
|
68
|
-
:type undo:
|
|
63
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
64
|
+
:type execution_context: typing.Union[str, int]
|
|
65
|
+
:type undo: bool
|
|
69
66
|
:param color: Color Tag
|
|
70
|
-
:type color: typing.
|
|
67
|
+
:type color: typing.Any
|
|
71
68
|
"""
|
|
72
69
|
|
|
73
70
|
...
|
|
74
71
|
|
|
75
|
-
def collection_disable(
|
|
72
|
+
def collection_disable(
|
|
73
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
74
|
+
execution_context: typing.Union[str, int] = None,
|
|
75
|
+
undo: bool = None,
|
|
76
|
+
):
|
|
76
77
|
"""Disable viewport display in the view layers
|
|
77
78
|
|
|
78
|
-
:type override_context: typing.
|
|
79
|
-
:type execution_context: typing.
|
|
80
|
-
:type undo:
|
|
79
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
80
|
+
:type execution_context: typing.Union[str, int]
|
|
81
|
+
:type undo: bool
|
|
81
82
|
"""
|
|
82
83
|
|
|
83
84
|
...
|
|
84
85
|
|
|
85
|
-
def collection_disable_render(
|
|
86
|
+
def collection_disable_render(
|
|
87
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
88
|
+
execution_context: typing.Union[str, int] = None,
|
|
89
|
+
undo: bool = None,
|
|
90
|
+
):
|
|
86
91
|
"""Do not render this collection
|
|
87
92
|
|
|
88
|
-
:type override_context: typing.
|
|
89
|
-
:type execution_context: typing.
|
|
90
|
-
:type undo:
|
|
93
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
94
|
+
:type execution_context: typing.Union[str, int]
|
|
95
|
+
:type undo: bool
|
|
91
96
|
"""
|
|
92
97
|
|
|
93
98
|
...
|
|
94
99
|
|
|
95
|
-
def collection_drop(
|
|
100
|
+
def collection_drop(
|
|
101
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
102
|
+
execution_context: typing.Union[str, int] = None,
|
|
103
|
+
undo: bool = None,
|
|
104
|
+
):
|
|
96
105
|
"""Drag to move to collection in Outliner
|
|
97
106
|
|
|
98
|
-
:type override_context: typing.
|
|
99
|
-
:type execution_context: typing.
|
|
100
|
-
:type undo:
|
|
107
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
108
|
+
:type execution_context: typing.Union[str, int]
|
|
109
|
+
:type undo: bool
|
|
101
110
|
"""
|
|
102
111
|
|
|
103
112
|
...
|
|
104
113
|
|
|
105
|
-
def collection_duplicate(
|
|
114
|
+
def collection_duplicate(
|
|
115
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
116
|
+
execution_context: typing.Union[str, int] = None,
|
|
117
|
+
undo: bool = None,
|
|
118
|
+
):
|
|
106
119
|
"""Recursively duplicate the collection, all its children, objects and object data
|
|
107
120
|
|
|
108
|
-
:type override_context: typing.
|
|
109
|
-
:type execution_context: typing.
|
|
110
|
-
:type undo:
|
|
121
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
122
|
+
:type execution_context: typing.Union[str, int]
|
|
123
|
+
:type undo: bool
|
|
111
124
|
"""
|
|
112
125
|
|
|
113
126
|
...
|
|
114
127
|
|
|
115
128
|
def collection_duplicate_linked(
|
|
116
|
-
override_context
|
|
129
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
+
execution_context: typing.Union[str, int] = None,
|
|
131
|
+
undo: bool = None,
|
|
117
132
|
):
|
|
118
133
|
"""Recursively duplicate the collection, all its children and objects, with linked object data
|
|
119
134
|
|
|
120
|
-
:type override_context: typing.
|
|
121
|
-
:type execution_context: typing.
|
|
122
|
-
:type undo:
|
|
135
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
136
|
+
:type execution_context: typing.Union[str, int]
|
|
137
|
+
:type undo: bool
|
|
123
138
|
"""
|
|
124
139
|
|
|
125
140
|
...
|
|
126
141
|
|
|
127
|
-
def collection_enable(
|
|
142
|
+
def collection_enable(
|
|
143
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
+
execution_context: typing.Union[str, int] = None,
|
|
145
|
+
undo: bool = None,
|
|
146
|
+
):
|
|
128
147
|
"""Enable viewport display in the view layers
|
|
129
148
|
|
|
130
|
-
:type override_context: typing.
|
|
131
|
-
:type execution_context: typing.
|
|
132
|
-
:type undo:
|
|
149
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
+
:type execution_context: typing.Union[str, int]
|
|
151
|
+
:type undo: bool
|
|
133
152
|
"""
|
|
134
153
|
|
|
135
154
|
...
|
|
136
155
|
|
|
137
|
-
def collection_enable_render(
|
|
156
|
+
def collection_enable_render(
|
|
157
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
+
execution_context: typing.Union[str, int] = None,
|
|
159
|
+
undo: bool = None,
|
|
160
|
+
):
|
|
138
161
|
"""Render the collection
|
|
139
162
|
|
|
140
|
-
:type override_context: typing.
|
|
141
|
-
:type execution_context: typing.
|
|
142
|
-
:type undo:
|
|
163
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
164
|
+
:type execution_context: typing.Union[str, int]
|
|
165
|
+
:type undo: bool
|
|
143
166
|
"""
|
|
144
167
|
|
|
145
168
|
...
|
|
146
169
|
|
|
147
|
-
def collection_exclude_clear(
|
|
170
|
+
def collection_exclude_clear(
|
|
171
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
172
|
+
execution_context: typing.Union[str, int] = None,
|
|
173
|
+
undo: bool = None,
|
|
174
|
+
):
|
|
148
175
|
"""Include collection in the active view layer
|
|
149
176
|
|
|
150
|
-
:type override_context: typing.
|
|
151
|
-
:type execution_context: typing.
|
|
152
|
-
:type undo:
|
|
177
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
178
|
+
:type execution_context: typing.Union[str, int]
|
|
179
|
+
:type undo: bool
|
|
153
180
|
"""
|
|
154
181
|
|
|
155
182
|
...
|
|
156
183
|
|
|
157
|
-
def collection_exclude_set(
|
|
184
|
+
def collection_exclude_set(
|
|
185
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
186
|
+
execution_context: typing.Union[str, int] = None,
|
|
187
|
+
undo: bool = None,
|
|
188
|
+
):
|
|
158
189
|
"""Exclude collection from the active view layer
|
|
159
190
|
|
|
160
|
-
:type override_context: typing.
|
|
161
|
-
:type execution_context: typing.
|
|
162
|
-
:type undo:
|
|
191
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
192
|
+
:type execution_context: typing.Union[str, int]
|
|
193
|
+
:type undo: bool
|
|
163
194
|
"""
|
|
164
195
|
|
|
165
196
|
...
|
|
166
197
|
|
|
167
|
-
def collection_hide(
|
|
198
|
+
def collection_hide(
|
|
199
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
200
|
+
execution_context: typing.Union[str, int] = None,
|
|
201
|
+
undo: bool = None,
|
|
202
|
+
):
|
|
168
203
|
"""Hide the collection in this view layer
|
|
169
204
|
|
|
170
|
-
:type override_context: typing.
|
|
171
|
-
:type execution_context: typing.
|
|
172
|
-
:type undo:
|
|
205
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
206
|
+
:type execution_context: typing.Union[str, int]
|
|
207
|
+
:type undo: bool
|
|
173
208
|
"""
|
|
174
209
|
|
|
175
210
|
...
|
|
176
211
|
|
|
177
|
-
def collection_hide_inside(
|
|
212
|
+
def collection_hide_inside(
|
|
213
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
214
|
+
execution_context: typing.Union[str, int] = None,
|
|
215
|
+
undo: bool = None,
|
|
216
|
+
):
|
|
178
217
|
"""Hide all the objects and collections inside the collection
|
|
179
218
|
|
|
180
|
-
:type override_context: typing.
|
|
181
|
-
:type execution_context: typing.
|
|
182
|
-
:type undo:
|
|
219
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
220
|
+
:type execution_context: typing.Union[str, int]
|
|
221
|
+
:type undo: bool
|
|
183
222
|
"""
|
|
184
223
|
|
|
185
224
|
...
|
|
186
225
|
|
|
187
226
|
def collection_hierarchy_delete(
|
|
188
|
-
override_context
|
|
227
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
228
|
+
execution_context: typing.Union[str, int] = None,
|
|
229
|
+
undo: bool = None,
|
|
189
230
|
):
|
|
190
231
|
"""Delete selected collection hierarchies
|
|
191
232
|
|
|
192
|
-
:type override_context: typing.
|
|
193
|
-
:type execution_context: typing.
|
|
194
|
-
:type undo:
|
|
233
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
234
|
+
:type execution_context: typing.Union[str, int]
|
|
235
|
+
:type undo: bool
|
|
195
236
|
"""
|
|
196
237
|
|
|
197
238
|
...
|
|
198
239
|
|
|
199
|
-
def collection_holdout_clear(
|
|
240
|
+
def collection_holdout_clear(
|
|
241
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
242
|
+
execution_context: typing.Union[str, int] = None,
|
|
243
|
+
undo: bool = None,
|
|
244
|
+
):
|
|
200
245
|
"""Clear masking of collection in the active view layer
|
|
201
246
|
|
|
202
|
-
:type override_context: typing.
|
|
203
|
-
:type execution_context: typing.
|
|
204
|
-
:type undo:
|
|
247
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
248
|
+
:type execution_context: typing.Union[str, int]
|
|
249
|
+
:type undo: bool
|
|
205
250
|
"""
|
|
206
251
|
|
|
207
252
|
...
|
|
208
253
|
|
|
209
|
-
def collection_holdout_set(
|
|
254
|
+
def collection_holdout_set(
|
|
255
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
256
|
+
execution_context: typing.Union[str, int] = None,
|
|
257
|
+
undo: bool = None,
|
|
258
|
+
):
|
|
210
259
|
"""Mask collection in the active view layer
|
|
211
260
|
|
|
212
|
-
:type override_context: typing.
|
|
213
|
-
:type execution_context: typing.
|
|
214
|
-
:type undo:
|
|
261
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
262
|
+
:type execution_context: typing.Union[str, int]
|
|
263
|
+
:type undo: bool
|
|
215
264
|
"""
|
|
216
265
|
|
|
217
266
|
...
|
|
218
267
|
|
|
219
268
|
def collection_indirect_only_clear(
|
|
220
|
-
override_context
|
|
269
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
270
|
+
execution_context: typing.Union[str, int] = None,
|
|
271
|
+
undo: bool = None,
|
|
221
272
|
):
|
|
222
273
|
"""Clear collection contributing only indirectly in the view layer
|
|
223
274
|
|
|
224
|
-
:type override_context: typing.
|
|
225
|
-
:type execution_context: typing.
|
|
226
|
-
:type undo:
|
|
275
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
276
|
+
:type execution_context: typing.Union[str, int]
|
|
277
|
+
:type undo: bool
|
|
227
278
|
"""
|
|
228
279
|
|
|
229
280
|
...
|
|
230
281
|
|
|
231
282
|
def collection_indirect_only_set(
|
|
232
|
-
override_context
|
|
283
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
284
|
+
execution_context: typing.Union[str, int] = None,
|
|
285
|
+
undo: bool = None,
|
|
233
286
|
):
|
|
234
287
|
"""Set collection to only contribute indirectly (through shadows and reflections) in the view layer
|
|
235
288
|
|
|
236
|
-
:type override_context: typing.
|
|
237
|
-
:type execution_context: typing.
|
|
238
|
-
:type undo:
|
|
289
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
290
|
+
:type execution_context: typing.Union[str, int]
|
|
291
|
+
:type undo: bool
|
|
239
292
|
"""
|
|
240
293
|
|
|
241
294
|
...
|
|
242
295
|
|
|
243
|
-
def collection_instance(
|
|
296
|
+
def collection_instance(
|
|
297
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
298
|
+
execution_context: typing.Union[str, int] = None,
|
|
299
|
+
undo: bool = None,
|
|
300
|
+
):
|
|
244
301
|
"""Instance selected collections to active scene
|
|
245
302
|
|
|
246
|
-
:type override_context: typing.
|
|
247
|
-
:type execution_context: typing.
|
|
248
|
-
:type undo:
|
|
303
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
304
|
+
:type execution_context: typing.Union[str, int]
|
|
305
|
+
:type undo: bool
|
|
249
306
|
"""
|
|
250
307
|
|
|
251
308
|
...
|
|
252
309
|
|
|
253
310
|
def collection_isolate(
|
|
254
|
-
override_context=None,
|
|
255
|
-
execution_context=None,
|
|
256
|
-
undo=None,
|
|
257
|
-
|
|
258
|
-
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,
|
|
259
315
|
):
|
|
260
316
|
"""Hide all but this collection and its parents
|
|
261
317
|
|
|
262
|
-
:type override_context: typing.
|
|
263
|
-
:type execution_context: typing.
|
|
264
|
-
:type undo:
|
|
318
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
319
|
+
:type execution_context: typing.Union[str, int]
|
|
320
|
+
:type undo: bool
|
|
265
321
|
:param extend: Extend, Extend current visible collections
|
|
266
|
-
:type extend: typing.
|
|
322
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
267
323
|
"""
|
|
268
324
|
|
|
269
325
|
...
|
|
270
326
|
|
|
271
|
-
def collection_link(
|
|
327
|
+
def collection_link(
|
|
328
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
329
|
+
execution_context: typing.Union[str, int] = None,
|
|
330
|
+
undo: bool = None,
|
|
331
|
+
):
|
|
272
332
|
"""Link selected collections to active scene
|
|
273
333
|
|
|
274
|
-
:type override_context: typing.
|
|
275
|
-
:type execution_context: typing.
|
|
276
|
-
:type undo:
|
|
334
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
335
|
+
:type execution_context: typing.Union[str, int]
|
|
336
|
+
:type undo: bool
|
|
277
337
|
"""
|
|
278
338
|
|
|
279
339
|
...
|
|
280
340
|
|
|
281
341
|
def collection_new(
|
|
282
|
-
override_context=None,
|
|
283
|
-
execution_context=None,
|
|
284
|
-
undo=None,
|
|
285
|
-
|
|
286
|
-
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,
|
|
287
346
|
):
|
|
288
347
|
"""Add a new collection inside selected collection
|
|
289
348
|
|
|
290
|
-
:type override_context: typing.
|
|
291
|
-
:type execution_context: typing.
|
|
292
|
-
:type undo:
|
|
349
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
350
|
+
:type execution_context: typing.Union[str, int]
|
|
351
|
+
:type undo: bool
|
|
293
352
|
:param nested: Nested, Add as child of selected collection
|
|
294
|
-
:type nested: typing.
|
|
353
|
+
:type nested: typing.Union[bool, typing.Any]
|
|
295
354
|
"""
|
|
296
355
|
|
|
297
356
|
...
|
|
298
357
|
|
|
299
358
|
def collection_objects_deselect(
|
|
300
|
-
override_context
|
|
359
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
360
|
+
execution_context: typing.Union[str, int] = None,
|
|
361
|
+
undo: bool = None,
|
|
301
362
|
):
|
|
302
363
|
"""Deselect objects in collection
|
|
303
364
|
|
|
304
|
-
:type override_context: typing.
|
|
305
|
-
:type execution_context: typing.
|
|
306
|
-
:type undo:
|
|
365
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
366
|
+
:type execution_context: typing.Union[str, int]
|
|
367
|
+
:type undo: bool
|
|
307
368
|
"""
|
|
308
369
|
|
|
309
370
|
...
|
|
310
371
|
|
|
311
|
-
def collection_objects_select(
|
|
372
|
+
def collection_objects_select(
|
|
373
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
374
|
+
execution_context: typing.Union[str, int] = None,
|
|
375
|
+
undo: bool = None,
|
|
376
|
+
):
|
|
312
377
|
"""Select objects in collection
|
|
313
378
|
|
|
314
|
-
:type override_context: typing.
|
|
315
|
-
:type execution_context: typing.
|
|
316
|
-
:type undo:
|
|
379
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
380
|
+
:type execution_context: typing.Union[str, int]
|
|
381
|
+
:type undo: bool
|
|
317
382
|
"""
|
|
318
383
|
|
|
319
384
|
...
|
|
320
385
|
|
|
321
|
-
def collection_show(
|
|
386
|
+
def collection_show(
|
|
387
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
388
|
+
execution_context: typing.Union[str, int] = None,
|
|
389
|
+
undo: bool = None,
|
|
390
|
+
):
|
|
322
391
|
"""Show the collection in this view layer
|
|
323
392
|
|
|
324
|
-
:type override_context: typing.
|
|
325
|
-
:type execution_context: typing.
|
|
326
|
-
:type undo:
|
|
393
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
394
|
+
:type execution_context: typing.Union[str, int]
|
|
395
|
+
:type undo: bool
|
|
327
396
|
"""
|
|
328
397
|
|
|
329
398
|
...
|
|
330
399
|
|
|
331
|
-
def collection_show_inside(
|
|
400
|
+
def collection_show_inside(
|
|
401
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
402
|
+
execution_context: typing.Union[str, int] = None,
|
|
403
|
+
undo: bool = None,
|
|
404
|
+
):
|
|
332
405
|
"""Show all the objects and collections inside the collection
|
|
333
406
|
|
|
334
|
-
:type override_context: typing.
|
|
335
|
-
:type execution_context: typing.
|
|
336
|
-
:type undo:
|
|
407
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
408
|
+
:type execution_context: typing.Union[str, int]
|
|
409
|
+
:type undo: bool
|
|
337
410
|
"""
|
|
338
411
|
|
|
339
412
|
...
|
|
340
413
|
|
|
341
414
|
def constraint_operation(
|
|
342
|
-
override_context=None,
|
|
343
|
-
execution_context=None,
|
|
344
|
-
undo=None,
|
|
345
|
-
|
|
346
|
-
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",
|
|
347
419
|
):
|
|
348
420
|
"""Undocumented, consider contributing.
|
|
349
421
|
|
|
350
|
-
:type override_context: typing.
|
|
351
|
-
:type execution_context: typing.
|
|
352
|
-
:type undo:
|
|
422
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
+
:type execution_context: typing.Union[str, int]
|
|
424
|
+
:type undo: bool
|
|
353
425
|
:param type: Constraint Operation
|
|
354
|
-
:type type: typing.
|
|
426
|
+
:type type: typing.Any
|
|
355
427
|
"""
|
|
356
428
|
|
|
357
429
|
...
|
|
358
430
|
|
|
359
431
|
def data_operation(
|
|
360
|
-
override_context=None,
|
|
361
|
-
execution_context=None,
|
|
362
|
-
undo=None,
|
|
363
|
-
|
|
364
|
-
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",
|
|
365
436
|
):
|
|
366
437
|
"""Undocumented, consider contributing.
|
|
367
438
|
|
|
368
|
-
:type override_context: typing.
|
|
369
|
-
:type execution_context: typing.
|
|
370
|
-
:type undo:
|
|
439
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
440
|
+
:type execution_context: typing.Union[str, int]
|
|
441
|
+
:type undo: bool
|
|
371
442
|
:param type: Data Operation
|
|
372
|
-
:type type: typing.
|
|
443
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
373
444
|
"""
|
|
374
445
|
|
|
375
446
|
...
|
|
376
447
|
|
|
377
|
-
def datastack_drop(
|
|
448
|
+
def datastack_drop(
|
|
449
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
450
|
+
execution_context: typing.Union[str, int] = None,
|
|
451
|
+
undo: bool = None,
|
|
452
|
+
):
|
|
378
453
|
"""Copy or reorder modifiers, constraints, and effects
|
|
379
454
|
|
|
380
|
-
:type override_context: typing.
|
|
381
|
-
:type execution_context: typing.
|
|
382
|
-
:type undo:
|
|
455
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
456
|
+
:type execution_context: typing.Union[str, int]
|
|
457
|
+
:type undo: bool
|
|
383
458
|
"""
|
|
384
459
|
|
|
385
460
|
...
|
|
386
461
|
|
|
387
462
|
def delete(
|
|
388
|
-
override_context=None,
|
|
389
|
-
execution_context=None,
|
|
390
|
-
undo=None,
|
|
391
|
-
|
|
392
|
-
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,
|
|
393
467
|
):
|
|
394
468
|
"""Delete selected objects and collections
|
|
395
469
|
|
|
396
|
-
:type override_context: typing.
|
|
397
|
-
:type execution_context: typing.
|
|
398
|
-
:type undo:
|
|
470
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
471
|
+
:type execution_context: typing.Union[str, int]
|
|
472
|
+
:type undo: bool
|
|
399
473
|
:param hierarchy: Hierarchy, Delete child objects and collections
|
|
400
|
-
:type hierarchy: typing.
|
|
474
|
+
:type hierarchy: typing.Union[bool, typing.Any]
|
|
401
475
|
"""
|
|
402
476
|
|
|
403
477
|
...
|
|
404
478
|
|
|
405
|
-
def drivers_add_selected(
|
|
479
|
+
def drivers_add_selected(
|
|
480
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
481
|
+
execution_context: typing.Union[str, int] = None,
|
|
482
|
+
undo: bool = None,
|
|
483
|
+
):
|
|
406
484
|
"""Add drivers to selected items
|
|
407
485
|
|
|
408
|
-
:type override_context: typing.
|
|
409
|
-
:type execution_context: typing.
|
|
410
|
-
:type undo:
|
|
486
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
487
|
+
:type execution_context: typing.Union[str, int]
|
|
488
|
+
:type undo: bool
|
|
411
489
|
"""
|
|
412
490
|
|
|
413
491
|
...
|
|
414
492
|
|
|
415
|
-
def drivers_delete_selected(
|
|
493
|
+
def drivers_delete_selected(
|
|
494
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
495
|
+
execution_context: typing.Union[str, int] = None,
|
|
496
|
+
undo: bool = None,
|
|
497
|
+
):
|
|
416
498
|
"""Delete drivers assigned to selected items
|
|
417
499
|
|
|
418
|
-
:type override_context: typing.
|
|
419
|
-
:type execution_context: typing.
|
|
420
|
-
:type undo:
|
|
500
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
501
|
+
:type execution_context: typing.Union[str, int]
|
|
502
|
+
:type undo: bool
|
|
421
503
|
"""
|
|
422
504
|
|
|
423
505
|
...
|
|
424
506
|
|
|
425
|
-
def expanded_toggle(
|
|
507
|
+
def expanded_toggle(
|
|
508
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
509
|
+
execution_context: typing.Union[str, int] = None,
|
|
510
|
+
undo: bool = None,
|
|
511
|
+
):
|
|
426
512
|
"""Expand/Collapse all items
|
|
427
513
|
|
|
428
|
-
:type override_context: typing.
|
|
429
|
-
:type execution_context: typing.
|
|
430
|
-
:type undo:
|
|
514
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
515
|
+
:type execution_context: typing.Union[str, int]
|
|
516
|
+
:type undo: bool
|
|
431
517
|
"""
|
|
432
518
|
|
|
433
519
|
...
|
|
434
520
|
|
|
435
|
-
def hide(
|
|
521
|
+
def hide(
|
|
522
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
523
|
+
execution_context: typing.Union[str, int] = None,
|
|
524
|
+
undo: bool = None,
|
|
525
|
+
):
|
|
436
526
|
"""Hide selected objects and collections
|
|
437
527
|
|
|
438
|
-
:type override_context: typing.
|
|
439
|
-
:type execution_context: typing.
|
|
440
|
-
:type undo:
|
|
528
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
529
|
+
:type execution_context: typing.Union[str, int]
|
|
530
|
+
:type undo: bool
|
|
441
531
|
"""
|
|
442
532
|
|
|
443
533
|
...
|
|
444
534
|
|
|
445
|
-
def highlight_update(
|
|
535
|
+
def highlight_update(
|
|
536
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
537
|
+
execution_context: typing.Union[str, int] = None,
|
|
538
|
+
undo: bool = None,
|
|
539
|
+
):
|
|
446
540
|
"""Update the item highlight based on the current mouse position
|
|
447
541
|
|
|
448
|
-
:type override_context: typing.
|
|
449
|
-
:type execution_context: typing.
|
|
450
|
-
:type undo:
|
|
542
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
543
|
+
:type execution_context: typing.Union[str, int]
|
|
544
|
+
:type undo: bool
|
|
451
545
|
"""
|
|
452
546
|
|
|
453
547
|
...
|
|
454
548
|
|
|
455
|
-
def id_copy(
|
|
549
|
+
def id_copy(
|
|
550
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
551
|
+
execution_context: typing.Union[str, int] = None,
|
|
552
|
+
undo: bool = None,
|
|
553
|
+
):
|
|
456
554
|
"""Copy the selected data-blocks to the internal clipboard
|
|
457
555
|
|
|
458
|
-
:type override_context: typing.
|
|
459
|
-
:type execution_context: typing.
|
|
460
|
-
:type undo:
|
|
556
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
557
|
+
:type execution_context: typing.Union[str, int]
|
|
558
|
+
:type undo: bool
|
|
461
559
|
"""
|
|
462
560
|
|
|
463
561
|
...
|
|
464
562
|
|
|
465
|
-
def id_delete(
|
|
563
|
+
def id_delete(
|
|
564
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
565
|
+
execution_context: typing.Union[str, int] = None,
|
|
566
|
+
undo: bool = None,
|
|
567
|
+
):
|
|
466
568
|
"""Delete the ID under cursor
|
|
467
569
|
|
|
468
|
-
:type override_context: typing.
|
|
469
|
-
:type execution_context: typing.
|
|
470
|
-
:type undo:
|
|
570
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
571
|
+
:type execution_context: typing.Union[str, int]
|
|
572
|
+
:type undo: bool
|
|
471
573
|
"""
|
|
472
574
|
|
|
473
575
|
...
|
|
474
576
|
|
|
475
577
|
def id_operation(
|
|
476
|
-
override_context=None,
|
|
477
|
-
execution_context=None,
|
|
478
|
-
undo=None,
|
|
479
|
-
|
|
480
|
-
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",
|
|
481
582
|
):
|
|
482
583
|
"""General data-block management operations
|
|
483
584
|
|
|
484
|
-
:type override_context: typing.
|
|
485
|
-
:type execution_context: typing.
|
|
486
|
-
:type undo:
|
|
585
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
586
|
+
:type execution_context: typing.Union[str, int]
|
|
587
|
+
:type undo: bool
|
|
487
588
|
:param type: ID Data Operation
|
|
488
589
|
|
|
489
590
|
UNLINK
|
|
@@ -518,150 +619,161 @@ def id_operation(
|
|
|
518
619
|
|
|
519
620
|
SELECT_LINKED
|
|
520
621
|
Select Linked.
|
|
521
|
-
:type type: typing.
|
|
622
|
+
:type type: typing.Any
|
|
522
623
|
"""
|
|
523
624
|
|
|
524
625
|
...
|
|
525
626
|
|
|
526
|
-
def id_paste(
|
|
627
|
+
def id_paste(
|
|
628
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
629
|
+
execution_context: typing.Union[str, int] = None,
|
|
630
|
+
undo: bool = None,
|
|
631
|
+
):
|
|
527
632
|
"""Paste data-blocks from the internal clipboard
|
|
528
633
|
|
|
529
|
-
:type override_context: typing.
|
|
530
|
-
:type execution_context: typing.
|
|
531
|
-
:type undo:
|
|
634
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
635
|
+
:type execution_context: typing.Union[str, int]
|
|
636
|
+
:type undo: bool
|
|
532
637
|
"""
|
|
533
638
|
|
|
534
639
|
...
|
|
535
640
|
|
|
536
641
|
def id_remap(
|
|
537
|
-
override_context=None,
|
|
538
|
-
execution_context=None,
|
|
539
|
-
undo=None,
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
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] = "",
|
|
544
648
|
):
|
|
545
649
|
"""Undocumented, consider contributing.
|
|
546
650
|
|
|
547
|
-
:type override_context: typing.
|
|
548
|
-
:type execution_context: typing.
|
|
549
|
-
:type undo:
|
|
651
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
652
|
+
:type execution_context: typing.Union[str, int]
|
|
653
|
+
:type undo: bool
|
|
550
654
|
:param id_type: ID Type
|
|
551
|
-
:type id_type: typing.
|
|
655
|
+
:type id_type: typing.Any
|
|
552
656
|
:param old_id: Old ID, Old ID to replace
|
|
553
|
-
:type old_id: typing.
|
|
657
|
+
:type old_id: typing.Union[str, int, typing.Any]
|
|
554
658
|
:param new_id: New ID, New ID to remap all selected IDs' users to
|
|
555
|
-
:type new_id: typing.
|
|
659
|
+
:type new_id: typing.Union[str, int, typing.Any]
|
|
556
660
|
"""
|
|
557
661
|
|
|
558
662
|
...
|
|
559
663
|
|
|
560
664
|
def item_activate(
|
|
561
|
-
override_context=None,
|
|
562
|
-
execution_context=None,
|
|
563
|
-
undo=None,
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
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,
|
|
569
672
|
):
|
|
570
673
|
"""Handle mouse clicks to select and activate items
|
|
571
674
|
|
|
572
|
-
:type override_context: typing.
|
|
573
|
-
:type execution_context: typing.
|
|
574
|
-
:type undo:
|
|
675
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
676
|
+
:type execution_context: typing.Union[str, int]
|
|
677
|
+
:type undo: bool
|
|
575
678
|
:param extend: Extend, Extend selection for activation
|
|
576
|
-
:type extend: typing.
|
|
679
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
577
680
|
:param extend_range: Extend Range, Select a range from active element
|
|
578
|
-
:type extend_range: typing.
|
|
681
|
+
:type extend_range: typing.Union[bool, typing.Any]
|
|
579
682
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
580
|
-
:type deselect_all: typing.
|
|
683
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
581
684
|
:param recurse: Recurse, Select objects recursively from active element
|
|
582
|
-
:type recurse: typing.
|
|
685
|
+
:type recurse: typing.Union[bool, typing.Any]
|
|
583
686
|
"""
|
|
584
687
|
|
|
585
688
|
...
|
|
586
689
|
|
|
587
|
-
def item_drag_drop(
|
|
690
|
+
def item_drag_drop(
|
|
691
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
692
|
+
execution_context: typing.Union[str, int] = None,
|
|
693
|
+
undo: bool = None,
|
|
694
|
+
):
|
|
588
695
|
"""Drag and drop element to another place
|
|
589
696
|
|
|
590
|
-
:type override_context: typing.
|
|
591
|
-
:type execution_context: typing.
|
|
592
|
-
:type undo:
|
|
697
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
698
|
+
:type execution_context: typing.Union[str, int]
|
|
699
|
+
:type undo: bool
|
|
593
700
|
"""
|
|
594
701
|
|
|
595
702
|
...
|
|
596
703
|
|
|
597
704
|
def item_openclose(
|
|
598
|
-
override_context=None,
|
|
599
|
-
execution_context=None,
|
|
600
|
-
undo=None,
|
|
601
|
-
|
|
602
|
-
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,
|
|
603
709
|
):
|
|
604
710
|
"""Toggle whether item under cursor is enabled or closed
|
|
605
711
|
|
|
606
|
-
:type override_context: typing.
|
|
607
|
-
:type execution_context: typing.
|
|
608
|
-
:type undo:
|
|
712
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
713
|
+
:type execution_context: typing.Union[str, int]
|
|
714
|
+
:type undo: bool
|
|
609
715
|
:param all: All, Close or open all items
|
|
610
|
-
:type all: typing.
|
|
716
|
+
:type all: typing.Union[bool, typing.Any]
|
|
611
717
|
"""
|
|
612
718
|
|
|
613
719
|
...
|
|
614
720
|
|
|
615
721
|
def item_rename(
|
|
616
|
-
override_context=None,
|
|
617
|
-
execution_context=None,
|
|
618
|
-
undo=None,
|
|
619
|
-
|
|
620
|
-
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,
|
|
621
726
|
):
|
|
622
727
|
"""Rename the active element
|
|
623
728
|
|
|
624
|
-
:type override_context: typing.
|
|
625
|
-
:type execution_context: typing.
|
|
626
|
-
:type undo:
|
|
729
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
730
|
+
:type execution_context: typing.Union[str, int]
|
|
731
|
+
:type undo: bool
|
|
627
732
|
:param use_active: Use Active, Rename the active item, rather than the one the mouse is over
|
|
628
|
-
:type use_active: typing.
|
|
733
|
+
:type use_active: typing.Union[bool, typing.Any]
|
|
629
734
|
"""
|
|
630
735
|
|
|
631
736
|
...
|
|
632
737
|
|
|
633
|
-
def keyingset_add_selected(
|
|
738
|
+
def keyingset_add_selected(
|
|
739
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
740
|
+
execution_context: typing.Union[str, int] = None,
|
|
741
|
+
undo: bool = None,
|
|
742
|
+
):
|
|
634
743
|
"""Add selected items (blue-gray rows) to active Keying Set
|
|
635
744
|
|
|
636
|
-
:type override_context: typing.
|
|
637
|
-
:type execution_context: typing.
|
|
638
|
-
:type undo:
|
|
745
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
746
|
+
:type execution_context: typing.Union[str, int]
|
|
747
|
+
:type undo: bool
|
|
639
748
|
"""
|
|
640
749
|
|
|
641
750
|
...
|
|
642
751
|
|
|
643
|
-
def keyingset_remove_selected(
|
|
752
|
+
def keyingset_remove_selected(
|
|
753
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
754
|
+
execution_context: typing.Union[str, int] = None,
|
|
755
|
+
undo: bool = None,
|
|
756
|
+
):
|
|
644
757
|
"""Remove selected items (blue-gray rows) from active Keying Set
|
|
645
758
|
|
|
646
|
-
:type override_context: typing.
|
|
647
|
-
:type execution_context: typing.
|
|
648
|
-
:type undo:
|
|
759
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
760
|
+
:type execution_context: typing.Union[str, int]
|
|
761
|
+
:type undo: bool
|
|
649
762
|
"""
|
|
650
763
|
|
|
651
764
|
...
|
|
652
765
|
|
|
653
766
|
def lib_operation(
|
|
654
|
-
override_context=None,
|
|
655
|
-
execution_context=None,
|
|
656
|
-
undo=None,
|
|
657
|
-
|
|
658
|
-
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",
|
|
659
771
|
):
|
|
660
772
|
"""Undocumented, consider contributing.
|
|
661
773
|
|
|
662
|
-
:type override_context: typing.
|
|
663
|
-
:type execution_context: typing.
|
|
664
|
-
:type undo:
|
|
774
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
775
|
+
:type execution_context: typing.Union[str, int]
|
|
776
|
+
:type undo: bool
|
|
665
777
|
:param type: Library Operation
|
|
666
778
|
|
|
667
779
|
DELETE
|
|
@@ -673,34 +785,37 @@ def lib_operation(
|
|
|
673
785
|
|
|
674
786
|
RELOAD
|
|
675
787
|
Reload -- Reload all data from this library.
|
|
676
|
-
:type type: typing.
|
|
788
|
+
:type type: typing.Any
|
|
677
789
|
"""
|
|
678
790
|
|
|
679
791
|
...
|
|
680
792
|
|
|
681
|
-
def lib_relocate(
|
|
793
|
+
def lib_relocate(
|
|
794
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
795
|
+
execution_context: typing.Union[str, int] = None,
|
|
796
|
+
undo: bool = None,
|
|
797
|
+
):
|
|
682
798
|
"""Relocate the library under cursor
|
|
683
799
|
|
|
684
|
-
:type override_context: typing.
|
|
685
|
-
:type execution_context: typing.
|
|
686
|
-
:type undo:
|
|
800
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
801
|
+
:type execution_context: typing.Union[str, int]
|
|
802
|
+
:type undo: bool
|
|
687
803
|
"""
|
|
688
804
|
|
|
689
805
|
...
|
|
690
806
|
|
|
691
807
|
def liboverride_operation(
|
|
692
|
-
override_context=None,
|
|
693
|
-
execution_context=None,
|
|
694
|
-
undo=None,
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
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",
|
|
698
813
|
):
|
|
699
814
|
"""Create, reset or clear library override hierarchies
|
|
700
815
|
|
|
701
|
-
:type override_context: typing.
|
|
702
|
-
:type execution_context: typing.
|
|
703
|
-
:type undo:
|
|
816
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
817
|
+
:type execution_context: typing.Union[str, int]
|
|
818
|
+
:type undo: bool
|
|
704
819
|
:param type: Library Override Operation
|
|
705
820
|
|
|
706
821
|
OVERRIDE_LIBRARY_CREATE_HIERARCHY
|
|
@@ -711,7 +826,7 @@ def liboverride_operation(
|
|
|
711
826
|
|
|
712
827
|
OVERRIDE_LIBRARY_CLEAR_SINGLE
|
|
713
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.
|
|
714
|
-
:type type: typing.
|
|
829
|
+
:type type: typing.Any
|
|
715
830
|
:param selection_set: Selection Set, Over which part of the tree items to apply the operation
|
|
716
831
|
|
|
717
832
|
SELECTED
|
|
@@ -722,24 +837,23 @@ def liboverride_operation(
|
|
|
722
837
|
|
|
723
838
|
SELECTED_AND_CONTENT
|
|
724
839
|
Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
|
|
725
|
-
:type selection_set: typing.
|
|
840
|
+
:type selection_set: typing.Any
|
|
726
841
|
"""
|
|
727
842
|
|
|
728
843
|
...
|
|
729
844
|
|
|
730
845
|
def liboverride_troubleshoot_operation(
|
|
731
|
-
override_context=None,
|
|
732
|
-
execution_context=None,
|
|
733
|
-
undo=None,
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
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",
|
|
737
851
|
):
|
|
738
852
|
"""Advanced operations over library override to help fix broken hierarchies
|
|
739
853
|
|
|
740
|
-
:type override_context: typing.
|
|
741
|
-
:type execution_context: typing.
|
|
742
|
-
:type undo:
|
|
854
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
855
|
+
:type execution_context: typing.Union[str, int]
|
|
856
|
+
:type undo: bool
|
|
743
857
|
:param type: Library Override Troubleshoot Operation
|
|
744
858
|
|
|
745
859
|
OVERRIDE_LIBRARY_RESYNC_HIERARCHY
|
|
@@ -750,7 +864,7 @@ def liboverride_troubleshoot_operation(
|
|
|
750
864
|
|
|
751
865
|
OVERRIDE_LIBRARY_DELETE_HIERARCHY
|
|
752
866
|
Delete -- Delete the selected local overrides (including their hierarchies of override dependencies) and relink their usages to the linked data-blocks.
|
|
753
|
-
:type type: typing.
|
|
867
|
+
:type type: typing.Any
|
|
754
868
|
:param selection_set: Selection Set, Over which part of the tree items to apply the operation
|
|
755
869
|
|
|
756
870
|
SELECTED
|
|
@@ -761,51 +875,53 @@ def liboverride_troubleshoot_operation(
|
|
|
761
875
|
|
|
762
876
|
SELECTED_AND_CONTENT
|
|
763
877
|
Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
|
|
764
|
-
:type selection_set: typing.
|
|
878
|
+
:type selection_set: typing.Any
|
|
765
879
|
"""
|
|
766
880
|
|
|
767
881
|
...
|
|
768
882
|
|
|
769
|
-
def material_drop(
|
|
883
|
+
def material_drop(
|
|
884
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
885
|
+
execution_context: typing.Union[str, int] = None,
|
|
886
|
+
undo: bool = None,
|
|
887
|
+
):
|
|
770
888
|
"""Drag material to object in Outliner
|
|
771
889
|
|
|
772
|
-
:type override_context: typing.
|
|
773
|
-
:type execution_context: typing.
|
|
774
|
-
:type undo:
|
|
890
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
891
|
+
:type execution_context: typing.Union[str, int]
|
|
892
|
+
:type undo: bool
|
|
775
893
|
"""
|
|
776
894
|
|
|
777
895
|
...
|
|
778
896
|
|
|
779
897
|
def modifier_operation(
|
|
780
|
-
override_context=None,
|
|
781
|
-
execution_context=None,
|
|
782
|
-
undo=None,
|
|
783
|
-
|
|
784
|
-
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",
|
|
785
902
|
):
|
|
786
903
|
"""Undocumented, consider contributing.
|
|
787
904
|
|
|
788
|
-
:type override_context: typing.
|
|
789
|
-
:type execution_context: typing.
|
|
790
|
-
:type undo:
|
|
905
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
906
|
+
:type execution_context: typing.Union[str, int]
|
|
907
|
+
:type undo: bool
|
|
791
908
|
:param type: Modifier Operation
|
|
792
|
-
:type type: typing.
|
|
909
|
+
:type type: typing.Any
|
|
793
910
|
"""
|
|
794
911
|
|
|
795
912
|
...
|
|
796
913
|
|
|
797
914
|
def object_operation(
|
|
798
|
-
override_context=None,
|
|
799
|
-
execution_context=None,
|
|
800
|
-
undo=None,
|
|
801
|
-
|
|
802
|
-
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",
|
|
803
919
|
):
|
|
804
920
|
"""Undocumented, consider contributing.
|
|
805
921
|
|
|
806
|
-
:type override_context: typing.
|
|
807
|
-
:type execution_context: typing.
|
|
808
|
-
:type undo:
|
|
922
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
923
|
+
:type execution_context: typing.Union[str, int]
|
|
924
|
+
:type undo: bool
|
|
809
925
|
:param type: Object Operation
|
|
810
926
|
|
|
811
927
|
SELECT
|
|
@@ -822,123 +938,149 @@ def object_operation(
|
|
|
822
938
|
|
|
823
939
|
RENAME
|
|
824
940
|
Rename.
|
|
825
|
-
:type type: typing.
|
|
941
|
+
:type type: typing.Any
|
|
826
942
|
"""
|
|
827
943
|
|
|
828
944
|
...
|
|
829
945
|
|
|
830
|
-
def operation(
|
|
946
|
+
def operation(
|
|
947
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
948
|
+
execution_context: typing.Union[str, int] = None,
|
|
949
|
+
undo: bool = None,
|
|
950
|
+
):
|
|
831
951
|
"""Context menu for item operations
|
|
832
952
|
|
|
833
|
-
:type override_context: typing.
|
|
834
|
-
:type execution_context: typing.
|
|
835
|
-
:type undo:
|
|
953
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
954
|
+
:type execution_context: typing.Union[str, int]
|
|
955
|
+
:type undo: bool
|
|
956
|
+
"""
|
|
957
|
+
|
|
958
|
+
...
|
|
959
|
+
|
|
960
|
+
def orphans_manage(
|
|
961
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
962
|
+
execution_context: typing.Union[str, int] = None,
|
|
963
|
+
undo: bool = None,
|
|
964
|
+
):
|
|
965
|
+
"""Open a window to manage unused data
|
|
966
|
+
|
|
967
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
968
|
+
:type execution_context: typing.Union[str, int]
|
|
969
|
+
:type undo: bool
|
|
836
970
|
"""
|
|
837
971
|
|
|
838
972
|
...
|
|
839
973
|
|
|
840
974
|
def orphans_purge(
|
|
841
|
-
override_context=None,
|
|
842
|
-
execution_context=None,
|
|
843
|
-
undo=None,
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
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,
|
|
848
981
|
):
|
|
849
982
|
"""Clear all orphaned data-blocks without any users from the file
|
|
850
983
|
|
|
851
|
-
:type override_context: typing.
|
|
852
|
-
:type execution_context: typing.
|
|
853
|
-
:type undo:
|
|
984
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
985
|
+
:type execution_context: typing.Union[str, int]
|
|
986
|
+
:type undo: bool
|
|
854
987
|
:param do_local_ids: Local Data-blocks, Include unused local data-blocks into deletion
|
|
855
|
-
:type do_local_ids: typing.
|
|
988
|
+
:type do_local_ids: typing.Union[bool, typing.Any]
|
|
856
989
|
:param do_linked_ids: Linked Data-blocks, Include unused linked data-blocks into deletion
|
|
857
|
-
:type do_linked_ids: typing.
|
|
990
|
+
:type do_linked_ids: typing.Union[bool, typing.Any]
|
|
858
991
|
:param do_recursive: Recursive Delete, Recursively check for indirectly unused data-blocks, ensuring that no orphaned data-blocks remain after execution
|
|
859
|
-
:type do_recursive: typing.
|
|
992
|
+
:type do_recursive: typing.Union[bool, typing.Any]
|
|
860
993
|
"""
|
|
861
994
|
|
|
862
995
|
...
|
|
863
996
|
|
|
864
|
-
def parent_clear(
|
|
997
|
+
def parent_clear(
|
|
998
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
999
|
+
execution_context: typing.Union[str, int] = None,
|
|
1000
|
+
undo: bool = None,
|
|
1001
|
+
):
|
|
865
1002
|
"""Drag to clear parent in Outliner
|
|
866
1003
|
|
|
867
|
-
:type override_context: typing.
|
|
868
|
-
:type execution_context: typing.
|
|
869
|
-
:type undo:
|
|
1004
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1005
|
+
:type execution_context: typing.Union[str, int]
|
|
1006
|
+
:type undo: bool
|
|
870
1007
|
"""
|
|
871
1008
|
|
|
872
1009
|
...
|
|
873
1010
|
|
|
874
|
-
def parent_drop(
|
|
1011
|
+
def parent_drop(
|
|
1012
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1013
|
+
execution_context: typing.Union[str, int] = None,
|
|
1014
|
+
undo: bool = None,
|
|
1015
|
+
):
|
|
875
1016
|
"""Drag to parent in Outliner
|
|
876
1017
|
|
|
877
|
-
:type override_context: typing.
|
|
878
|
-
:type execution_context: typing.
|
|
879
|
-
:type undo:
|
|
1018
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1019
|
+
:type execution_context: typing.Union[str, int]
|
|
1020
|
+
:type undo: bool
|
|
880
1021
|
"""
|
|
881
1022
|
|
|
882
1023
|
...
|
|
883
1024
|
|
|
884
|
-
def scene_drop(
|
|
1025
|
+
def scene_drop(
|
|
1026
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1027
|
+
execution_context: typing.Union[str, int] = None,
|
|
1028
|
+
undo: bool = None,
|
|
1029
|
+
):
|
|
885
1030
|
"""Drag object to scene in Outliner
|
|
886
1031
|
|
|
887
|
-
:type override_context: typing.
|
|
888
|
-
:type execution_context: typing.
|
|
889
|
-
:type undo:
|
|
1032
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1033
|
+
:type execution_context: typing.Union[str, int]
|
|
1034
|
+
:type undo: bool
|
|
890
1035
|
"""
|
|
891
1036
|
|
|
892
1037
|
...
|
|
893
1038
|
|
|
894
1039
|
def scene_operation(
|
|
895
|
-
override_context=None,
|
|
896
|
-
execution_context=None,
|
|
897
|
-
undo=None,
|
|
898
|
-
|
|
899
|
-
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",
|
|
900
1044
|
):
|
|
901
1045
|
"""Context menu for scene operations
|
|
902
1046
|
|
|
903
|
-
:type override_context: typing.
|
|
904
|
-
:type execution_context: typing.
|
|
905
|
-
:type undo:
|
|
1047
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1048
|
+
:type execution_context: typing.Union[str, int]
|
|
1049
|
+
:type undo: bool
|
|
906
1050
|
:param type: Scene Operation
|
|
907
|
-
:type type: typing.
|
|
1051
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
908
1052
|
"""
|
|
909
1053
|
|
|
910
1054
|
...
|
|
911
1055
|
|
|
912
1056
|
def scroll_page(
|
|
913
|
-
override_context=None,
|
|
914
|
-
execution_context=None,
|
|
915
|
-
undo=None,
|
|
916
|
-
|
|
917
|
-
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,
|
|
918
1061
|
):
|
|
919
1062
|
"""Scroll page up or down
|
|
920
1063
|
|
|
921
|
-
:type override_context: typing.
|
|
922
|
-
:type execution_context: typing.
|
|
923
|
-
:type undo:
|
|
1064
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1065
|
+
:type execution_context: typing.Union[str, int]
|
|
1066
|
+
:type undo: bool
|
|
924
1067
|
:param up: Up, Scroll up one page
|
|
925
|
-
:type up: typing.
|
|
1068
|
+
:type up: typing.Union[bool, typing.Any]
|
|
926
1069
|
"""
|
|
927
1070
|
|
|
928
1071
|
...
|
|
929
1072
|
|
|
930
1073
|
def select_all(
|
|
931
|
-
override_context=None,
|
|
932
|
-
execution_context=None,
|
|
933
|
-
undo=None,
|
|
934
|
-
|
|
935
|
-
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",
|
|
936
1078
|
):
|
|
937
1079
|
"""Toggle the Outliner selection of items
|
|
938
1080
|
|
|
939
|
-
:type override_context: typing.
|
|
940
|
-
:type execution_context: typing.
|
|
941
|
-
:type undo:
|
|
1081
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1082
|
+
:type execution_context: typing.Union[str, int]
|
|
1083
|
+
:type undo: bool
|
|
942
1084
|
:param action: Action, Selection action to execute
|
|
943
1085
|
|
|
944
1086
|
TOGGLE
|
|
@@ -952,41 +1094,40 @@ def select_all(
|
|
|
952
1094
|
|
|
953
1095
|
INVERT
|
|
954
1096
|
Invert -- Invert selection of all elements.
|
|
955
|
-
:type action: typing.
|
|
1097
|
+
:type action: typing.Any
|
|
956
1098
|
"""
|
|
957
1099
|
|
|
958
1100
|
...
|
|
959
1101
|
|
|
960
1102
|
def select_box(
|
|
961
|
-
override_context=None,
|
|
962
|
-
execution_context=None,
|
|
963
|
-
undo=None,
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
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",
|
|
972
1113
|
):
|
|
973
1114
|
"""Use box selection to select tree elements
|
|
974
1115
|
|
|
975
|
-
:type override_context: typing.
|
|
976
|
-
:type execution_context: typing.
|
|
977
|
-
:type undo:
|
|
1116
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1117
|
+
:type execution_context: typing.Union[str, int]
|
|
1118
|
+
:type undo: bool
|
|
978
1119
|
:param tweak: Tweak, Tweak gesture from empty space for box selection
|
|
979
|
-
:type tweak: typing.
|
|
1120
|
+
:type tweak: typing.Union[bool, typing.Any]
|
|
980
1121
|
:param xmin: X Min
|
|
981
|
-
:type xmin: typing.
|
|
1122
|
+
:type xmin: typing.Any
|
|
982
1123
|
:param xmax: X Max
|
|
983
|
-
:type xmax: typing.
|
|
1124
|
+
:type xmax: typing.Any
|
|
984
1125
|
:param ymin: Y Min
|
|
985
|
-
:type ymin: typing.
|
|
1126
|
+
:type ymin: typing.Any
|
|
986
1127
|
:param ymax: Y Max
|
|
987
|
-
:type ymax: typing.
|
|
1128
|
+
:type ymax: typing.Any
|
|
988
1129
|
:param wait_for_input: Wait for Input
|
|
989
|
-
:type wait_for_input: typing.
|
|
1130
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
990
1131
|
:param mode: Mode
|
|
991
1132
|
|
|
992
1133
|
SET
|
|
@@ -997,79 +1138,89 @@ def select_box(
|
|
|
997
1138
|
|
|
998
1139
|
SUB
|
|
999
1140
|
Subtract -- Subtract existing selection.
|
|
1000
|
-
:type mode: typing.
|
|
1141
|
+
:type mode: typing.Any
|
|
1001
1142
|
"""
|
|
1002
1143
|
|
|
1003
1144
|
...
|
|
1004
1145
|
|
|
1005
1146
|
def select_walk(
|
|
1006
|
-
override_context=None,
|
|
1007
|
-
execution_context=None,
|
|
1008
|
-
undo=None,
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
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,
|
|
1013
1153
|
):
|
|
1014
1154
|
"""Use walk navigation to select tree elements
|
|
1015
1155
|
|
|
1016
|
-
:type override_context: typing.
|
|
1017
|
-
:type execution_context: typing.
|
|
1018
|
-
:type undo:
|
|
1156
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1157
|
+
:type execution_context: typing.Union[str, int]
|
|
1158
|
+
:type undo: bool
|
|
1019
1159
|
:param direction: Walk Direction, Select/Deselect element in this direction
|
|
1020
|
-
:type direction: typing.
|
|
1160
|
+
:type direction: typing.Any
|
|
1021
1161
|
:param extend: Extend, Extend selection on walk
|
|
1022
|
-
:type extend: typing.
|
|
1162
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
1023
1163
|
:param toggle_all: Toggle All, Toggle open/close hierarchy
|
|
1024
|
-
:type toggle_all: typing.
|
|
1164
|
+
:type toggle_all: typing.Union[bool, typing.Any]
|
|
1025
1165
|
"""
|
|
1026
1166
|
|
|
1027
1167
|
...
|
|
1028
1168
|
|
|
1029
|
-
def show_active(
|
|
1169
|
+
def show_active(
|
|
1170
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1171
|
+
execution_context: typing.Union[str, int] = None,
|
|
1172
|
+
undo: bool = None,
|
|
1173
|
+
):
|
|
1030
1174
|
"""Open up the tree and adjust the view so that the active object is shown centered
|
|
1031
1175
|
|
|
1032
|
-
:type override_context: typing.
|
|
1033
|
-
:type execution_context: typing.
|
|
1034
|
-
:type undo:
|
|
1176
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1177
|
+
:type execution_context: typing.Union[str, int]
|
|
1178
|
+
:type undo: bool
|
|
1035
1179
|
"""
|
|
1036
1180
|
|
|
1037
1181
|
...
|
|
1038
1182
|
|
|
1039
|
-
def show_hierarchy(
|
|
1183
|
+
def show_hierarchy(
|
|
1184
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1185
|
+
execution_context: typing.Union[str, int] = None,
|
|
1186
|
+
undo: bool = None,
|
|
1187
|
+
):
|
|
1040
1188
|
"""Open all object entries and close all others
|
|
1041
1189
|
|
|
1042
|
-
:type override_context: typing.
|
|
1043
|
-
:type execution_context: typing.
|
|
1044
|
-
:type undo:
|
|
1190
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1191
|
+
:type execution_context: typing.Union[str, int]
|
|
1192
|
+
:type undo: bool
|
|
1045
1193
|
"""
|
|
1046
1194
|
|
|
1047
1195
|
...
|
|
1048
1196
|
|
|
1049
1197
|
def show_one_level(
|
|
1050
|
-
override_context=None,
|
|
1051
|
-
execution_context=None,
|
|
1052
|
-
undo=None,
|
|
1053
|
-
|
|
1054
|
-
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,
|
|
1055
1202
|
):
|
|
1056
1203
|
"""Expand/collapse all entries by one level
|
|
1057
1204
|
|
|
1058
|
-
:type override_context: typing.
|
|
1059
|
-
:type execution_context: typing.
|
|
1060
|
-
:type undo:
|
|
1205
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1206
|
+
:type execution_context: typing.Union[str, int]
|
|
1207
|
+
:type undo: bool
|
|
1061
1208
|
:param open: Open, Expand all entries one level deep
|
|
1062
|
-
:type open: typing.
|
|
1209
|
+
:type open: typing.Union[bool, typing.Any]
|
|
1063
1210
|
"""
|
|
1064
1211
|
|
|
1065
1212
|
...
|
|
1066
1213
|
|
|
1067
|
-
def unhide_all(
|
|
1214
|
+
def unhide_all(
|
|
1215
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1216
|
+
execution_context: typing.Union[str, int] = None,
|
|
1217
|
+
undo: bool = None,
|
|
1218
|
+
):
|
|
1068
1219
|
"""Unhide all objects and collections
|
|
1069
1220
|
|
|
1070
|
-
:type override_context: typing.
|
|
1071
|
-
:type execution_context: typing.
|
|
1072
|
-
:type undo:
|
|
1221
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1222
|
+
:type execution_context: typing.Union[str, int]
|
|
1223
|
+
:type undo: bool
|
|
1073
1224
|
"""
|
|
1074
1225
|
|
|
1075
1226
|
...
|