fake-bpy-module 20240508__py3-none-any.whl → 20240510__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.
- bmesh/ops/__init__.pyi +106 -106
- bpy/ops/action/__init__.pyi +152 -76
- bpy/ops/anim/__init__.pyi +212 -106
- bpy/ops/armature/__init__.pyi +192 -96
- bpy/ops/asset/__init__.pyi +64 -32
- bpy/ops/boid/__init__.pyi +32 -16
- bpy/ops/brush/__init__.pyi +36 -18
- bpy/ops/buttons/__init__.pyi +24 -12
- bpy/ops/cachefile/__init__.pyi +20 -10
- bpy/ops/camera/__init__.pyi +8 -4
- bpy/ops/clip/__init__.pyi +368 -184
- bpy/ops/cloth/__init__.pyi +4 -2
- bpy/ops/collection/__init__.pyi +36 -18
- bpy/ops/console/__init__.pyi +84 -42
- bpy/ops/constraint/__init__.pyi +72 -36
- bpy/ops/curve/__init__.pyi +204 -102
- bpy/ops/curves/__init__.pyi +108 -54
- bpy/ops/cycles/__init__.pyi +12 -6
- bpy/ops/dpaint/__init__.pyi +20 -10
- bpy/ops/ed/__init__.pyi +48 -24
- bpy/ops/export_anim/__init__.pyi +4 -2
- bpy/ops/export_mesh/__init__.pyi +4 -2
- bpy/ops/export_scene/__init__.pyi +15 -9
- bpy/ops/file/__init__.pyi +160 -80
- bpy/ops/fluid/__init__.pyi +56 -28
- bpy/ops/font/__init__.pyi +92 -46
- bpy/ops/geometry/__init__.pyi +40 -20
- bpy/ops/gizmogroup/__init__.pyi +8 -4
- bpy/ops/gpencil/__init__.pyi +600 -300
- bpy/ops/graph/__init__.pyi +260 -130
- bpy/ops/grease_pencil/__init__.pyi +268 -134
- bpy/ops/image/__init__.pyi +188 -94
- bpy/ops/import_anim/__init__.pyi +4 -2
- bpy/ops/import_curve/__init__.pyi +4 -2
- bpy/ops/import_mesh/__init__.pyi +4 -2
- bpy/ops/import_scene/__init__.pyi +12 -6
- bpy/ops/info/__init__.pyi +28 -14
- bpy/ops/lattice/__init__.pyi +32 -16
- bpy/ops/marker/__init__.pyi +44 -22
- bpy/ops/mask/__init__.pyi +156 -78
- bpy/ops/material/__init__.pyi +12 -6
- bpy/ops/mball/__init__.pyi +32 -16
- bpy/ops/mesh/__init__.pyi +652 -326
- bpy/ops/nla/__init__.pyi +158 -80
- bpy/ops/node/__init__.pyi +404 -202
- bpy/ops/object/__init__.pyi +1002 -490
- bpy/ops/outliner/__init__.pyi +276 -138
- bpy/ops/paint/__init__.pyi +212 -106
- bpy/ops/paintcurve/__init__.pyi +32 -16
- bpy/ops/palette/__init__.pyi +28 -14
- bpy/ops/particle/__init__.pyi +144 -72
- bpy/ops/pose/__init__.pyi +156 -78
- bpy/ops/poselib/__init__.pyi +36 -18
- bpy/ops/preferences/__init__.pyi +152 -76
- bpy/ops/ptcache/__init__.pyi +28 -14
- bpy/ops/render/__init__.pyi +48 -24
- bpy/ops/rigidbody/__init__.pyi +52 -26
- bpy/ops/scene/__init__.pyi +156 -78
- bpy/ops/screen/__init__.pyi +156 -78
- bpy/ops/script/__init__.pyi +12 -6
- bpy/ops/sculpt/__init__.pyi +134 -68
- bpy/ops/sculpt_curves/__init__.pyi +16 -8
- bpy/ops/sequencer/__init__.pyi +340 -170
- bpy/ops/sound/__init__.pyi +28 -14
- bpy/ops/spreadsheet/__init__.pyi +16 -8
- bpy/ops/surface/__init__.pyi +24 -12
- bpy/ops/text/__init__.pyi +172 -86
- bpy/ops/text_editor/__init__.pyi +4 -2
- bpy/ops/texture/__init__.pyi +16 -8
- bpy/ops/transform/__init__.pyi +108 -54
- bpy/ops/ui/__init__.pyi +132 -66
- bpy/ops/uilist/__init__.pyi +12 -6
- bpy/ops/uv/__init__.pyi +196 -98
- bpy/ops/view2d/__init__.pyi +56 -28
- bpy/ops/view3d/__init__.pyi +268 -134
- bpy/ops/wm/__init__.pyi +496 -227
- bpy/ops/workspace/__init__.pyi +28 -14
- bpy/ops/world/__init__.pyi +4 -2
- bpy/types/__init__.pyi +434 -37
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/RECORD +84 -84
- mathutils/__init__.pyi +20 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/top_level.txt +0 -0
bpy/ops/ui/__init__.pyi
CHANGED
|
@@ -4,13 +4,15 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def assign_default_button(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
):
|
|
11
13
|
"""Set this property's current value as the new default
|
|
12
14
|
|
|
13
|
-
:type override_context: typing.Optional[typing.Union[
|
|
15
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
14
16
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
17
|
:type undo: typing.Optional[bool]
|
|
16
18
|
"""
|
|
@@ -18,14 +20,16 @@ def assign_default_button(
|
|
|
18
20
|
...
|
|
19
21
|
|
|
20
22
|
def button_execute(
|
|
21
|
-
override_context: typing.Optional[
|
|
23
|
+
override_context: typing.Optional[
|
|
24
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
25
|
+
] = None,
|
|
22
26
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
27
|
undo: typing.Optional[bool] = None,
|
|
24
28
|
skip_depressed: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
25
29
|
):
|
|
26
30
|
"""Presses active button
|
|
27
31
|
|
|
28
|
-
:type override_context: typing.Optional[typing.Union[
|
|
32
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
29
33
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
30
34
|
:type undo: typing.Optional[bool]
|
|
31
35
|
:param skip_depressed: Skip Depressed
|
|
@@ -35,13 +39,15 @@ def button_execute(
|
|
|
35
39
|
...
|
|
36
40
|
|
|
37
41
|
def button_string_clear(
|
|
38
|
-
override_context: typing.Optional[
|
|
42
|
+
override_context: typing.Optional[
|
|
43
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
44
|
+
] = None,
|
|
39
45
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
46
|
undo: typing.Optional[bool] = None,
|
|
41
47
|
):
|
|
42
48
|
"""Unsets the text of the active button
|
|
43
49
|
|
|
44
|
-
:type override_context: typing.Optional[typing.Union[
|
|
50
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
45
51
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
46
52
|
:type undo: typing.Optional[bool]
|
|
47
53
|
"""
|
|
@@ -49,13 +55,15 @@ def button_string_clear(
|
|
|
49
55
|
...
|
|
50
56
|
|
|
51
57
|
def copy_as_driver_button(
|
|
52
|
-
override_context: typing.Optional[
|
|
58
|
+
override_context: typing.Optional[
|
|
59
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
60
|
+
] = None,
|
|
53
61
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
54
62
|
undo: typing.Optional[bool] = None,
|
|
55
63
|
):
|
|
56
64
|
"""Create a new driver with this property as input, and copy it to the internal clipboard. Use Paste Driver to add it to the target property, or Paste Driver Variables to extend an existing driver
|
|
57
65
|
|
|
58
|
-
:type override_context: typing.Optional[typing.Union[
|
|
66
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
59
67
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
60
68
|
:type undo: typing.Optional[bool]
|
|
61
69
|
"""
|
|
@@ -63,14 +71,16 @@ def copy_as_driver_button(
|
|
|
63
71
|
...
|
|
64
72
|
|
|
65
73
|
def copy_data_path_button(
|
|
66
|
-
override_context: typing.Optional[
|
|
74
|
+
override_context: typing.Optional[
|
|
75
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
76
|
+
] = None,
|
|
67
77
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
68
78
|
undo: typing.Optional[bool] = None,
|
|
69
79
|
full_path: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
70
80
|
):
|
|
71
81
|
"""Copy the RNA data path for this property to the clipboard
|
|
72
82
|
|
|
73
|
-
:type override_context: typing.Optional[typing.Union[
|
|
83
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
74
84
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
75
85
|
:type undo: typing.Optional[bool]
|
|
76
86
|
:param full_path: full_path, Copy full data path
|
|
@@ -80,14 +90,16 @@ def copy_data_path_button(
|
|
|
80
90
|
...
|
|
81
91
|
|
|
82
92
|
def copy_driver_to_selected_button(
|
|
83
|
-
override_context: typing.Optional[
|
|
93
|
+
override_context: typing.Optional[
|
|
94
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
95
|
+
] = None,
|
|
84
96
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
85
97
|
undo: typing.Optional[bool] = None,
|
|
86
98
|
all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
87
99
|
):
|
|
88
100
|
"""Copy the property's driver from the active item to the same property of all selected items, if the same property exists
|
|
89
101
|
|
|
90
|
-
:type override_context: typing.Optional[typing.Union[
|
|
102
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
91
103
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
92
104
|
:type undo: typing.Optional[bool]
|
|
93
105
|
:param all: All, Copy to selected the drivers of all elements of the array
|
|
@@ -97,13 +109,15 @@ def copy_driver_to_selected_button(
|
|
|
97
109
|
...
|
|
98
110
|
|
|
99
111
|
def copy_python_command_button(
|
|
100
|
-
override_context: typing.Optional[
|
|
112
|
+
override_context: typing.Optional[
|
|
113
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
114
|
+
] = None,
|
|
101
115
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
102
116
|
undo: typing.Optional[bool] = None,
|
|
103
117
|
):
|
|
104
118
|
"""Copy the Python command matching this button
|
|
105
119
|
|
|
106
|
-
:type override_context: typing.Optional[typing.Union[
|
|
120
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
107
121
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
108
122
|
:type undo: typing.Optional[bool]
|
|
109
123
|
"""
|
|
@@ -111,14 +125,16 @@ def copy_python_command_button(
|
|
|
111
125
|
...
|
|
112
126
|
|
|
113
127
|
def copy_to_selected_button(
|
|
114
|
-
override_context: typing.Optional[
|
|
128
|
+
override_context: typing.Optional[
|
|
129
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
130
|
+
] = None,
|
|
115
131
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
116
132
|
undo: typing.Optional[bool] = None,
|
|
117
133
|
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
118
134
|
):
|
|
119
135
|
"""Copy the property's value from the active item to the same property of all selected items if the same property exists
|
|
120
136
|
|
|
121
|
-
:type override_context: typing.Optional[typing.Union[
|
|
137
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
122
138
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
123
139
|
:type undo: typing.Optional[bool]
|
|
124
140
|
:param all: All, Copy to selected all elements of the array
|
|
@@ -128,7 +144,9 @@ def copy_to_selected_button(
|
|
|
128
144
|
...
|
|
129
145
|
|
|
130
146
|
def drop_color(
|
|
131
|
-
override_context: typing.Optional[
|
|
147
|
+
override_context: typing.Optional[
|
|
148
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
149
|
+
] = None,
|
|
132
150
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
133
151
|
undo: typing.Optional[bool] = None,
|
|
134
152
|
color: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
@@ -136,7 +154,7 @@ def drop_color(
|
|
|
136
154
|
):
|
|
137
155
|
"""Drop colors to buttons
|
|
138
156
|
|
|
139
|
-
:type override_context: typing.Optional[typing.Union[
|
|
157
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
140
158
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
141
159
|
:type undo: typing.Optional[bool]
|
|
142
160
|
:param color: Color, Source color
|
|
@@ -148,14 +166,16 @@ def drop_color(
|
|
|
148
166
|
...
|
|
149
167
|
|
|
150
168
|
def drop_material(
|
|
151
|
-
override_context: typing.Optional[
|
|
169
|
+
override_context: typing.Optional[
|
|
170
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
171
|
+
] = None,
|
|
152
172
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
153
173
|
undo: typing.Optional[bool] = None,
|
|
154
174
|
session_uid: typing.Optional[typing.Any] = 0,
|
|
155
175
|
):
|
|
156
176
|
"""Drag material to Material slots in Properties
|
|
157
177
|
|
|
158
|
-
:type override_context: typing.Optional[typing.Union[
|
|
178
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
159
179
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
160
180
|
:type undo: typing.Optional[bool]
|
|
161
181
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
@@ -165,14 +185,16 @@ def drop_material(
|
|
|
165
185
|
...
|
|
166
186
|
|
|
167
187
|
def drop_name(
|
|
168
|
-
override_context: typing.Optional[
|
|
188
|
+
override_context: typing.Optional[
|
|
189
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
190
|
+
] = None,
|
|
169
191
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
170
192
|
undo: typing.Optional[bool] = None,
|
|
171
193
|
string: typing.Union[str, typing.Any] = "",
|
|
172
194
|
):
|
|
173
195
|
"""Drop name to button
|
|
174
196
|
|
|
175
|
-
:type override_context: typing.Optional[typing.Union[
|
|
197
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
176
198
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
177
199
|
:type undo: typing.Optional[bool]
|
|
178
200
|
:param string: String, The string value to drop into the button
|
|
@@ -182,13 +204,15 @@ def drop_name(
|
|
|
182
204
|
...
|
|
183
205
|
|
|
184
206
|
def editsource(
|
|
185
|
-
override_context: typing.Optional[
|
|
207
|
+
override_context: typing.Optional[
|
|
208
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
209
|
+
] = None,
|
|
186
210
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
187
211
|
undo: typing.Optional[bool] = None,
|
|
188
212
|
):
|
|
189
213
|
"""Edit UI source code of the active button
|
|
190
214
|
|
|
191
|
-
:type override_context: typing.Optional[typing.Union[
|
|
215
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
192
216
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
193
217
|
:type undo: typing.Optional[bool]
|
|
194
218
|
"""
|
|
@@ -196,13 +220,15 @@ def editsource(
|
|
|
196
220
|
...
|
|
197
221
|
|
|
198
222
|
def edittranslation_init(
|
|
199
|
-
override_context: typing.Optional[
|
|
223
|
+
override_context: typing.Optional[
|
|
224
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
225
|
+
] = None,
|
|
200
226
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
201
227
|
undo: typing.Optional[bool] = None,
|
|
202
228
|
):
|
|
203
229
|
"""Edit i18n in current language for the active button
|
|
204
230
|
|
|
205
|
-
:type override_context: typing.Optional[typing.Union[
|
|
231
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
206
232
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
207
233
|
:type undo: typing.Optional[bool]
|
|
208
234
|
"""
|
|
@@ -210,13 +236,15 @@ def edittranslation_init(
|
|
|
210
236
|
...
|
|
211
237
|
|
|
212
238
|
def eyedropper_color(
|
|
213
|
-
override_context: typing.Optional[
|
|
239
|
+
override_context: typing.Optional[
|
|
240
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
241
|
+
] = None,
|
|
214
242
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
215
243
|
undo: typing.Optional[bool] = None,
|
|
216
244
|
):
|
|
217
245
|
"""Sample a color from the Blender window to store in a property
|
|
218
246
|
|
|
219
|
-
:type override_context: typing.Optional[typing.Union[
|
|
247
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
220
248
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
221
249
|
:type undo: typing.Optional[bool]
|
|
222
250
|
"""
|
|
@@ -224,13 +252,15 @@ def eyedropper_color(
|
|
|
224
252
|
...
|
|
225
253
|
|
|
226
254
|
def eyedropper_colorramp(
|
|
227
|
-
override_context: typing.Optional[
|
|
255
|
+
override_context: typing.Optional[
|
|
256
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
257
|
+
] = None,
|
|
228
258
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
229
259
|
undo: typing.Optional[bool] = None,
|
|
230
260
|
):
|
|
231
261
|
"""Sample a color band
|
|
232
262
|
|
|
233
|
-
:type override_context: typing.Optional[typing.Union[
|
|
263
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
234
264
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
235
265
|
:type undo: typing.Optional[bool]
|
|
236
266
|
"""
|
|
@@ -238,13 +268,15 @@ def eyedropper_colorramp(
|
|
|
238
268
|
...
|
|
239
269
|
|
|
240
270
|
def eyedropper_colorramp_point(
|
|
241
|
-
override_context: typing.Optional[
|
|
271
|
+
override_context: typing.Optional[
|
|
272
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
273
|
+
] = None,
|
|
242
274
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
243
275
|
undo: typing.Optional[bool] = None,
|
|
244
276
|
):
|
|
245
277
|
"""Point-sample a color band
|
|
246
278
|
|
|
247
|
-
:type override_context: typing.Optional[typing.Union[
|
|
279
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
248
280
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
249
281
|
:type undo: typing.Optional[bool]
|
|
250
282
|
"""
|
|
@@ -252,13 +284,15 @@ def eyedropper_colorramp_point(
|
|
|
252
284
|
...
|
|
253
285
|
|
|
254
286
|
def eyedropper_depth(
|
|
255
|
-
override_context: typing.Optional[
|
|
287
|
+
override_context: typing.Optional[
|
|
288
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
289
|
+
] = None,
|
|
256
290
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
257
291
|
undo: typing.Optional[bool] = None,
|
|
258
292
|
):
|
|
259
293
|
"""Sample depth from the 3D view
|
|
260
294
|
|
|
261
|
-
:type override_context: typing.Optional[typing.Union[
|
|
295
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
262
296
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
263
297
|
:type undo: typing.Optional[bool]
|
|
264
298
|
"""
|
|
@@ -266,14 +300,16 @@ def eyedropper_depth(
|
|
|
266
300
|
...
|
|
267
301
|
|
|
268
302
|
def eyedropper_driver(
|
|
269
|
-
override_context: typing.Optional[
|
|
303
|
+
override_context: typing.Optional[
|
|
304
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
305
|
+
] = None,
|
|
270
306
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
271
307
|
undo: typing.Optional[bool] = None,
|
|
272
308
|
mapping_type: typing.Optional[typing.Any] = "SINGLE_MANY",
|
|
273
309
|
):
|
|
274
310
|
"""Pick a property to use as a driver target
|
|
275
311
|
|
|
276
|
-
:type override_context: typing.Optional[typing.Union[
|
|
312
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
277
313
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
278
314
|
:type undo: typing.Optional[bool]
|
|
279
315
|
:param mapping_type: Mapping Type, Method used to match target and driven properties
|
|
@@ -298,14 +334,16 @@ def eyedropper_driver(
|
|
|
298
334
|
...
|
|
299
335
|
|
|
300
336
|
def eyedropper_gpencil_color(
|
|
301
|
-
override_context: typing.Optional[
|
|
337
|
+
override_context: typing.Optional[
|
|
338
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
339
|
+
] = None,
|
|
302
340
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
303
341
|
undo: typing.Optional[bool] = None,
|
|
304
342
|
mode: typing.Optional[typing.Any] = "MATERIAL",
|
|
305
343
|
):
|
|
306
344
|
"""Sample a color from the Blender Window and create Grease Pencil material
|
|
307
345
|
|
|
308
|
-
:type override_context: typing.Optional[typing.Union[
|
|
346
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
309
347
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
310
348
|
:type undo: typing.Optional[bool]
|
|
311
349
|
:param mode: Mode
|
|
@@ -315,13 +353,15 @@ def eyedropper_gpencil_color(
|
|
|
315
353
|
...
|
|
316
354
|
|
|
317
355
|
def eyedropper_id(
|
|
318
|
-
override_context: typing.Optional[
|
|
356
|
+
override_context: typing.Optional[
|
|
357
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
358
|
+
] = None,
|
|
319
359
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
320
360
|
undo: typing.Optional[bool] = None,
|
|
321
361
|
):
|
|
322
362
|
"""Sample a data-block from the 3D View to store in a property
|
|
323
363
|
|
|
324
|
-
:type override_context: typing.Optional[typing.Union[
|
|
364
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
325
365
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
326
366
|
:type undo: typing.Optional[bool]
|
|
327
367
|
"""
|
|
@@ -329,13 +369,15 @@ def eyedropper_id(
|
|
|
329
369
|
...
|
|
330
370
|
|
|
331
371
|
def jump_to_target_button(
|
|
332
|
-
override_context: typing.Optional[
|
|
372
|
+
override_context: typing.Optional[
|
|
373
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
374
|
+
] = None,
|
|
333
375
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
334
376
|
undo: typing.Optional[bool] = None,
|
|
335
377
|
):
|
|
336
378
|
"""Switch to the target object or bone
|
|
337
379
|
|
|
338
|
-
:type override_context: typing.Optional[typing.Union[
|
|
380
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
339
381
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
340
382
|
:type undo: typing.Optional[bool]
|
|
341
383
|
"""
|
|
@@ -343,13 +385,15 @@ def jump_to_target_button(
|
|
|
343
385
|
...
|
|
344
386
|
|
|
345
387
|
def list_start_filter(
|
|
346
|
-
override_context: typing.Optional[
|
|
388
|
+
override_context: typing.Optional[
|
|
389
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
390
|
+
] = None,
|
|
347
391
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
348
392
|
undo: typing.Optional[bool] = None,
|
|
349
393
|
):
|
|
350
394
|
"""Start entering filter text for the list in focus
|
|
351
395
|
|
|
352
|
-
:type override_context: typing.Optional[typing.Union[
|
|
396
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
353
397
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
354
398
|
:type undo: typing.Optional[bool]
|
|
355
399
|
"""
|
|
@@ -357,13 +401,15 @@ def list_start_filter(
|
|
|
357
401
|
...
|
|
358
402
|
|
|
359
403
|
def override_idtemplate_clear(
|
|
360
|
-
override_context: typing.Optional[
|
|
404
|
+
override_context: typing.Optional[
|
|
405
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
406
|
+
] = None,
|
|
361
407
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
362
408
|
undo: typing.Optional[bool] = None,
|
|
363
409
|
):
|
|
364
410
|
"""Delete the selected local override and relink its usages to the linked data-block if possible, else reset it and mark it as non editable
|
|
365
411
|
|
|
366
|
-
:type override_context: typing.Optional[typing.Union[
|
|
412
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
367
413
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
368
414
|
:type undo: typing.Optional[bool]
|
|
369
415
|
"""
|
|
@@ -371,13 +417,15 @@ def override_idtemplate_clear(
|
|
|
371
417
|
...
|
|
372
418
|
|
|
373
419
|
def override_idtemplate_make(
|
|
374
|
-
override_context: typing.Optional[
|
|
420
|
+
override_context: typing.Optional[
|
|
421
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
422
|
+
] = None,
|
|
375
423
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
376
424
|
undo: typing.Optional[bool] = None,
|
|
377
425
|
):
|
|
378
426
|
"""Create a local override of the selected linked data-block, and its hierarchy of dependencies
|
|
379
427
|
|
|
380
|
-
:type override_context: typing.Optional[typing.Union[
|
|
428
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
381
429
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
382
430
|
:type undo: typing.Optional[bool]
|
|
383
431
|
"""
|
|
@@ -385,13 +433,15 @@ def override_idtemplate_make(
|
|
|
385
433
|
...
|
|
386
434
|
|
|
387
435
|
def override_idtemplate_reset(
|
|
388
|
-
override_context: typing.Optional[
|
|
436
|
+
override_context: typing.Optional[
|
|
437
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
438
|
+
] = None,
|
|
389
439
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
390
440
|
undo: typing.Optional[bool] = None,
|
|
391
441
|
):
|
|
392
442
|
"""Reset the selected local override to its linked reference values
|
|
393
443
|
|
|
394
|
-
:type override_context: typing.Optional[typing.Union[
|
|
444
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
395
445
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
396
446
|
:type undo: typing.Optional[bool]
|
|
397
447
|
"""
|
|
@@ -399,14 +449,16 @@ def override_idtemplate_reset(
|
|
|
399
449
|
...
|
|
400
450
|
|
|
401
451
|
def override_remove_button(
|
|
402
|
-
override_context: typing.Optional[
|
|
452
|
+
override_context: typing.Optional[
|
|
453
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
454
|
+
] = None,
|
|
403
455
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
404
456
|
undo: typing.Optional[bool] = None,
|
|
405
457
|
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
406
458
|
):
|
|
407
459
|
"""Remove an override operation
|
|
408
460
|
|
|
409
|
-
:type override_context: typing.Optional[typing.Union[
|
|
461
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
410
462
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
411
463
|
:type undo: typing.Optional[bool]
|
|
412
464
|
:param all: All, Reset to default values all elements of the array
|
|
@@ -416,7 +468,9 @@ def override_remove_button(
|
|
|
416
468
|
...
|
|
417
469
|
|
|
418
470
|
def override_type_set_button(
|
|
419
|
-
override_context: typing.Optional[
|
|
471
|
+
override_context: typing.Optional[
|
|
472
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
473
|
+
] = None,
|
|
420
474
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
421
475
|
undo: typing.Optional[bool] = None,
|
|
422
476
|
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
@@ -424,7 +478,7 @@ def override_type_set_button(
|
|
|
424
478
|
):
|
|
425
479
|
"""Create an override operation, or set the type of an existing one
|
|
426
480
|
|
|
427
|
-
:type override_context: typing.Optional[typing.Union[
|
|
481
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
428
482
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
429
483
|
:type undo: typing.Optional[bool]
|
|
430
484
|
:param all: All, Reset to default values all elements of the array
|
|
@@ -448,13 +502,15 @@ def override_type_set_button(
|
|
|
448
502
|
...
|
|
449
503
|
|
|
450
504
|
def reloadtranslation(
|
|
451
|
-
override_context: typing.Optional[
|
|
505
|
+
override_context: typing.Optional[
|
|
506
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
507
|
+
] = None,
|
|
452
508
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
453
509
|
undo: typing.Optional[bool] = None,
|
|
454
510
|
):
|
|
455
511
|
"""Force a full reload of UI translation
|
|
456
512
|
|
|
457
|
-
:type override_context: typing.Optional[typing.Union[
|
|
513
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
458
514
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
459
515
|
:type undo: typing.Optional[bool]
|
|
460
516
|
"""
|
|
@@ -462,14 +518,16 @@ def reloadtranslation(
|
|
|
462
518
|
...
|
|
463
519
|
|
|
464
520
|
def reset_default_button(
|
|
465
|
-
override_context: typing.Optional[
|
|
521
|
+
override_context: typing.Optional[
|
|
522
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
523
|
+
] = None,
|
|
466
524
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
467
525
|
undo: typing.Optional[bool] = None,
|
|
468
526
|
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
469
527
|
):
|
|
470
528
|
"""Reset this property's value to its default value
|
|
471
529
|
|
|
472
|
-
:type override_context: typing.Optional[typing.Union[
|
|
530
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
473
531
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
474
532
|
:type undo: typing.Optional[bool]
|
|
475
533
|
:param all: All, Reset to default values all elements of the array
|
|
@@ -479,13 +537,15 @@ def reset_default_button(
|
|
|
479
537
|
...
|
|
480
538
|
|
|
481
539
|
def unset_property_button(
|
|
482
|
-
override_context: typing.Optional[
|
|
540
|
+
override_context: typing.Optional[
|
|
541
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
542
|
+
] = None,
|
|
483
543
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
484
544
|
undo: typing.Optional[bool] = None,
|
|
485
545
|
):
|
|
486
546
|
"""Clear the property and use default or generated value in operators
|
|
487
547
|
|
|
488
|
-
:type override_context: typing.Optional[typing.Union[
|
|
548
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
489
549
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
490
550
|
:type undo: typing.Optional[bool]
|
|
491
551
|
"""
|
|
@@ -493,13 +553,15 @@ def unset_property_button(
|
|
|
493
553
|
...
|
|
494
554
|
|
|
495
555
|
def view_drop(
|
|
496
|
-
override_context: typing.Optional[
|
|
556
|
+
override_context: typing.Optional[
|
|
557
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
558
|
+
] = None,
|
|
497
559
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
498
560
|
undo: typing.Optional[bool] = None,
|
|
499
561
|
):
|
|
500
562
|
"""Drag and drop onto a data-set or item within the data-set
|
|
501
563
|
|
|
502
|
-
:type override_context: typing.Optional[typing.Union[
|
|
564
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
503
565
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
504
566
|
:type undo: typing.Optional[bool]
|
|
505
567
|
"""
|
|
@@ -507,13 +569,15 @@ def view_drop(
|
|
|
507
569
|
...
|
|
508
570
|
|
|
509
571
|
def view_item_rename(
|
|
510
|
-
override_context: typing.Optional[
|
|
572
|
+
override_context: typing.Optional[
|
|
573
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
574
|
+
] = None,
|
|
511
575
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
512
576
|
undo: typing.Optional[bool] = None,
|
|
513
577
|
):
|
|
514
578
|
"""Rename the active item in the data-set view
|
|
515
579
|
|
|
516
|
-
:type override_context: typing.Optional[typing.Union[
|
|
580
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
517
581
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
518
582
|
:type undo: typing.Optional[bool]
|
|
519
583
|
"""
|
|
@@ -521,13 +585,15 @@ def view_item_rename(
|
|
|
521
585
|
...
|
|
522
586
|
|
|
523
587
|
def view_start_filter(
|
|
524
|
-
override_context: typing.Optional[
|
|
588
|
+
override_context: typing.Optional[
|
|
589
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
590
|
+
] = None,
|
|
525
591
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
526
592
|
undo: typing.Optional[bool] = None,
|
|
527
593
|
):
|
|
528
594
|
"""Start entering filter text for the data-set in focus
|
|
529
595
|
|
|
530
|
-
:type override_context: typing.Optional[typing.Union[
|
|
596
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
531
597
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
532
598
|
:type undo: typing.Optional[bool]
|
|
533
599
|
"""
|
bpy/ops/uilist/__init__.pyi
CHANGED
|
@@ -4,7 +4,9 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def entry_add(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
list_path: typing.Union[str, typing.Any] = "",
|
|
@@ -12,7 +14,7 @@ def entry_add(
|
|
|
12
14
|
):
|
|
13
15
|
"""Add an entry to the list after the current active item
|
|
14
16
|
|
|
15
|
-
:type override_context: typing.Optional[typing.Union[
|
|
17
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
16
18
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
17
19
|
:type undo: typing.Optional[bool]
|
|
18
20
|
:param list_path: list_path
|
|
@@ -24,7 +26,9 @@ def entry_add(
|
|
|
24
26
|
...
|
|
25
27
|
|
|
26
28
|
def entry_move(
|
|
27
|
-
override_context: typing.Optional[
|
|
29
|
+
override_context: typing.Optional[
|
|
30
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
31
|
+
] = None,
|
|
28
32
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
29
33
|
undo: typing.Optional[bool] = None,
|
|
30
34
|
list_path: typing.Union[str, typing.Any] = "",
|
|
@@ -33,7 +37,7 @@ def entry_move(
|
|
|
33
37
|
):
|
|
34
38
|
"""Move an entry in the list up or down
|
|
35
39
|
|
|
36
|
-
:type override_context: typing.Optional[typing.Union[
|
|
40
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
37
41
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
38
42
|
:type undo: typing.Optional[bool]
|
|
39
43
|
:param list_path: list_path
|
|
@@ -53,7 +57,9 @@ def entry_move(
|
|
|
53
57
|
...
|
|
54
58
|
|
|
55
59
|
def entry_remove(
|
|
56
|
-
override_context: typing.Optional[
|
|
60
|
+
override_context: typing.Optional[
|
|
61
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
62
|
+
] = None,
|
|
57
63
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
58
64
|
undo: typing.Optional[bool] = None,
|
|
59
65
|
list_path: typing.Union[str, typing.Any] = "",
|
|
@@ -61,7 +67,7 @@ def entry_remove(
|
|
|
61
67
|
):
|
|
62
68
|
"""Remove the selected entry from the list
|
|
63
69
|
|
|
64
|
-
:type override_context: typing.Optional[typing.Union[
|
|
70
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
65
71
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
66
72
|
:type undo: typing.Optional[bool]
|
|
67
73
|
:param list_path: list_path
|