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