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