fake-bpy-module 20240718__py3-none-any.whl → 20240719__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.
- bl_operators/add_mesh_torus/__init__.pyi +1 -190
- bl_operators/anim/__init__.pyi +104 -1504
- bl_operators/assets/__init__.pyi +3 -535
- bl_operators/bone_selection_sets/__init__.pyi +187 -2680
- bl_operators/clip/__init__.pyi +144 -1894
- bl_operators/connect_to_output/__init__.pyi +3 -176
- bl_operators/console/__init__.pyi +5 -880
- bl_operators/constraint/__init__.pyi +4 -704
- bl_operators/file/__init__.pyi +3 -528
- bl_operators/freestyle/__init__.pyi +4 -704
- bl_operators/geometry_nodes/__init__.pyi +4 -704
- bl_operators/image/__init__.pyi +5 -869
- bl_operators/image_as_planes/__init__.pyi +4 -424
- bl_operators/mesh/__init__.pyi +3 -528
- bl_operators/node/__init__.pyi +159 -2065
- bl_operators/object/__init__.pyi +217 -2842
- bl_operators/object_align/__init__.pyi +1 -176
- bl_operators/object_quick_effects/__init__.pyi +4 -725
- bl_operators/object_randomize_transform/__init__.pyi +1 -176
- bl_operators/presets/__init__.pyi +405 -5487
- bl_operators/rigidbody/__init__.pyi +3 -528
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
- bl_operators/sequencer/__init__.pyi +119 -1507
- bl_operators/spreadsheet/__init__.pyi +1 -176
- bl_operators/userpref/__init__.pyi +383 -4757
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
- bl_operators/uvcalc_transform/__init__.pyi +2 -352
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
- bl_operators/view3d/__init__.pyi +101 -1468
- bl_operators/wm/__init__.pyi +723 -8894
- bl_operators/world/__init__.pyi +1 -176
- bl_ui/__init__.pyi +3 -534
- bl_ui/anim/__init__.pyi +1 -244
- bl_ui/asset_shelf/__init__.pyi +1 -189
- bl_ui/generic_ui_list/__init__.pyi +3 -594
- bl_ui/node_add_menu/__init__.pyi +1 -244
- bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
- bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
- bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
- bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
- bl_ui/properties_collection/__init__.pyi +58 -1272
- bl_ui/properties_constraint/__init__.pyi +1508 -32656
- bl_ui/properties_data_armature/__init__.pyi +278 -3804
- bl_ui/properties_data_bone/__init__.pyi +151 -2062
- bl_ui/properties_data_camera/__init__.pyi +216 -3034
- bl_ui/properties_data_curve/__init__.pyi +214 -3117
- bl_ui/properties_data_curves/__init__.pyi +57 -1273
- bl_ui/properties_data_empty/__init__.pyi +2 -385
- bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
- bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
- bl_ui/properties_data_lattice/__init__.pyi +3 -595
- bl_ui/properties_data_light/__init__.pyi +200 -2502
- bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
- bl_ui/properties_data_mesh/__init__.pyi +323 -4380
- bl_ui/properties_data_metaball/__init__.pyi +38 -1011
- bl_ui/properties_data_modifier/__init__.pyi +157 -2451
- bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
- bl_ui/properties_data_speaker/__init__.pyi +36 -1018
- bl_ui/properties_data_volume/__init__.pyi +104 -1660
- bl_ui/properties_freestyle/__init__.pyi +438 -5136
- bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
- bl_ui/properties_mask_common/__init__.pyi +59 -1705
- bl_ui/properties_material/__init__.pyi +227 -3334
- bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
- bl_ui/properties_object/__init__.pyi +197 -2908
- bl_ui/properties_output/__init__.pyi +286 -3895
- bl_ui/properties_paint_common/__init__.pyi +40 -923
- bl_ui/properties_particle/__init__.pyi +954 -10839
- bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
- bl_ui/properties_physics_common/__init__.pyi +1 -196
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
- bl_ui/properties_physics_field/__init__.pyi +160 -2166
- bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
- bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
- bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
- bl_ui/properties_render/__init__.pyi +1065 -11565
- bl_ui/properties_scene/__init__.pyi +209 -3090
- bl_ui/properties_texture/__init__.pyi +426 -5475
- bl_ui/properties_view_layer/__init__.pyi +264 -3827
- bl_ui/properties_workspace/__init__.pyi +7 -770
- bl_ui/properties_world/__init__.pyi +147 -2056
- bl_ui/space_clip/__init__.pyi +1013 -16279
- bl_ui/space_console/__init__.pyi +39 -1442
- bl_ui/space_dopesheet/__init__.pyi +450 -7213
- bl_ui/space_filebrowser/__init__.pyi +406 -6708
- bl_ui/space_graph/__init__.pyi +223 -4886
- bl_ui/space_image/__init__.pyi +1091 -16394
- bl_ui/space_info/__init__.pyi +39 -1442
- bl_ui/space_nla/__init__.pyi +216 -4157
- bl_ui/space_node/__init__.pyi +394 -6344
- bl_ui/space_outliner/__init__.pyi +156 -3448
- bl_ui/space_properties/__init__.pyi +3 -567
- bl_ui/space_sequencer/__init__.pyi +1224 -18036
- bl_ui/space_spreadsheet/__init__.pyi +1 -189
- bl_ui/space_statusbar/__init__.pyi +1 -189
- bl_ui/space_text/__init__.pyi +183 -3851
- bl_ui/space_time/__init__.pyi +69 -1622
- bl_ui/space_toolsystem_common/__init__.pyi +2 -118
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
- bl_ui/space_topbar/__init__.pyi +322 -6269
- bl_ui/space_userpref/__init__.pyi +1758 -19735
- bl_ui/space_view3d/__init__.pyi +3853 -67593
- bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
- bl_ui/temp_anim_layers/__init__.pyi +1 -189
- bl_ui/utils/__init__.pyi +0 -35
- bpy/ops/outliner/__init__.pyi +0 -1
- bpy/types/__init__.pyi +65 -1
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/top_level.txt +0 -0
bl_operators/assets/__init__.pyi
CHANGED
|
@@ -6,7 +6,7 @@ import bpy.types
|
|
|
6
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
|
-
class ASSET_OT_open_containing_blend_file:
|
|
9
|
+
class ASSET_OT_open_containing_blend_file(bpy.types.Operator):
|
|
10
10
|
"""Open the blend file that contains the active asset"""
|
|
11
11
|
|
|
12
12
|
bl_idname: typing.Any
|
|
@@ -15,21 +15,6 @@ class ASSET_OT_open_containing_blend_file:
|
|
|
15
15
|
bl_rna: typing.Any
|
|
16
16
|
id_data: typing.Any
|
|
17
17
|
|
|
18
|
-
def as_keywords(self, *, ignore=()):
|
|
19
|
-
"""Return a copy of the properties as a dictionary
|
|
20
|
-
|
|
21
|
-
:param ignore:
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def as_pointer(self) -> int:
|
|
26
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
27
|
-
|
|
28
|
-
:return: int (memory address).
|
|
29
|
-
:rtype: int
|
|
30
|
-
"""
|
|
31
|
-
...
|
|
32
|
-
|
|
33
18
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
34
19
|
"""
|
|
35
20
|
|
|
@@ -53,22 +38,6 @@ class ASSET_OT_open_containing_blend_file:
|
|
|
53
38
|
"""
|
|
54
39
|
...
|
|
55
40
|
|
|
56
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
57
|
-
"""Adds driver(s) to the given property
|
|
58
|
-
|
|
59
|
-
:return: The driver(s) added.
|
|
60
|
-
:rtype: bpy.types.FCurve
|
|
61
|
-
"""
|
|
62
|
-
...
|
|
63
|
-
|
|
64
|
-
def driver_remove(self) -> bool:
|
|
65
|
-
"""Remove driver(s) from the given property
|
|
66
|
-
|
|
67
|
-
:return: Success of driver removal.
|
|
68
|
-
:rtype: bool
|
|
69
|
-
"""
|
|
70
|
-
...
|
|
71
|
-
|
|
72
41
|
def execute(self, context):
|
|
73
42
|
"""
|
|
74
43
|
|
|
@@ -76,98 +45,6 @@ class ASSET_OT_open_containing_blend_file:
|
|
|
76
45
|
"""
|
|
77
46
|
...
|
|
78
47
|
|
|
79
|
-
def get(self):
|
|
80
|
-
"""Returns the value of the custom property assigned to key or default
|
|
81
|
-
when not found (matches Python's dictionary function of the same name).
|
|
82
|
-
|
|
83
|
-
"""
|
|
84
|
-
...
|
|
85
|
-
|
|
86
|
-
def id_properties_clear(self):
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
90
|
-
"""
|
|
91
|
-
...
|
|
92
|
-
|
|
93
|
-
def id_properties_ensure(self):
|
|
94
|
-
"""
|
|
95
|
-
|
|
96
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
|
-
def id_properties_ui(self):
|
|
101
|
-
"""
|
|
102
|
-
|
|
103
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
104
|
-
"""
|
|
105
|
-
...
|
|
106
|
-
|
|
107
|
-
def is_property_hidden(self) -> bool:
|
|
108
|
-
"""Check if a property is hidden.
|
|
109
|
-
|
|
110
|
-
:return: True when the property is hidden.
|
|
111
|
-
:rtype: bool
|
|
112
|
-
"""
|
|
113
|
-
...
|
|
114
|
-
|
|
115
|
-
def is_property_overridable_library(self) -> bool:
|
|
116
|
-
"""Check if a property is overridable.
|
|
117
|
-
|
|
118
|
-
:return: True when the property is overridable.
|
|
119
|
-
:rtype: bool
|
|
120
|
-
"""
|
|
121
|
-
...
|
|
122
|
-
|
|
123
|
-
def is_property_readonly(self) -> bool:
|
|
124
|
-
"""Check if a property is readonly.
|
|
125
|
-
|
|
126
|
-
:return: True when the property is readonly (not writable).
|
|
127
|
-
:rtype: bool
|
|
128
|
-
"""
|
|
129
|
-
...
|
|
130
|
-
|
|
131
|
-
def is_property_set(self) -> bool:
|
|
132
|
-
"""Check if a property is set, use for testing operator properties.
|
|
133
|
-
|
|
134
|
-
:return: True when the property has been set.
|
|
135
|
-
:rtype: bool
|
|
136
|
-
"""
|
|
137
|
-
...
|
|
138
|
-
|
|
139
|
-
def items(self):
|
|
140
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
141
|
-
dictionary function of the same name).
|
|
142
|
-
|
|
143
|
-
:return: custom property key, value pairs.
|
|
144
|
-
"""
|
|
145
|
-
...
|
|
146
|
-
|
|
147
|
-
def keyframe_delete(self) -> bool:
|
|
148
|
-
"""Remove a keyframe from this properties fcurve.
|
|
149
|
-
|
|
150
|
-
:return: Success of keyframe deletion.
|
|
151
|
-
:rtype: bool
|
|
152
|
-
"""
|
|
153
|
-
...
|
|
154
|
-
|
|
155
|
-
def keyframe_insert(self) -> bool:
|
|
156
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
157
|
-
|
|
158
|
-
:return: Success of keyframe insertion.
|
|
159
|
-
:rtype: bool
|
|
160
|
-
"""
|
|
161
|
-
...
|
|
162
|
-
|
|
163
|
-
def keys(self):
|
|
164
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
165
|
-
dictionary function of the same name).
|
|
166
|
-
|
|
167
|
-
:return: custom property keys.
|
|
168
|
-
"""
|
|
169
|
-
...
|
|
170
|
-
|
|
171
48
|
def modal(self, context, event):
|
|
172
49
|
"""
|
|
173
50
|
|
|
@@ -183,19 +60,6 @@ class ASSET_OT_open_containing_blend_file:
|
|
|
183
60
|
"""
|
|
184
61
|
...
|
|
185
62
|
|
|
186
|
-
def path_from_id(self) -> str:
|
|
187
|
-
"""Returns the data path from the ID to this object (string).
|
|
188
|
-
|
|
189
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
190
|
-
to this struct and property (when given).
|
|
191
|
-
:rtype: str
|
|
192
|
-
"""
|
|
193
|
-
...
|
|
194
|
-
|
|
195
|
-
def path_resolve(self):
|
|
196
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
197
|
-
...
|
|
198
|
-
|
|
199
63
|
@classmethod
|
|
200
64
|
def poll(cls, context):
|
|
201
65
|
"""
|
|
@@ -204,46 +68,7 @@ class ASSET_OT_open_containing_blend_file:
|
|
|
204
68
|
"""
|
|
205
69
|
...
|
|
206
70
|
|
|
207
|
-
|
|
208
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
209
|
-
...
|
|
210
|
-
|
|
211
|
-
def pop(self):
|
|
212
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
213
|
-
when not found (matches Python's dictionary function of the same name).
|
|
214
|
-
|
|
215
|
-
"""
|
|
216
|
-
...
|
|
217
|
-
|
|
218
|
-
def property_overridable_library_set(self) -> bool:
|
|
219
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
220
|
-
|
|
221
|
-
:return: True when the overridable status of the property was successfully set.
|
|
222
|
-
:rtype: bool
|
|
223
|
-
"""
|
|
224
|
-
...
|
|
225
|
-
|
|
226
|
-
def property_unset(self):
|
|
227
|
-
"""Unset a property, will use default value afterward."""
|
|
228
|
-
...
|
|
229
|
-
|
|
230
|
-
def type_recast(self):
|
|
231
|
-
"""Return a new instance, this is needed because types
|
|
232
|
-
such as textures can be changed at runtime.
|
|
233
|
-
|
|
234
|
-
:return: a new instance of this object with the type initialized again.
|
|
235
|
-
"""
|
|
236
|
-
...
|
|
237
|
-
|
|
238
|
-
def values(self):
|
|
239
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
240
|
-
dictionary function of the same name).
|
|
241
|
-
|
|
242
|
-
:return: custom property values.
|
|
243
|
-
"""
|
|
244
|
-
...
|
|
245
|
-
|
|
246
|
-
class ASSET_OT_tag_add(AssetBrowserMetadataOperator):
|
|
71
|
+
class ASSET_OT_tag_add(AssetBrowserMetadataOperator, bpy.types.Operator):
|
|
247
72
|
"""Add a new keyword tag to the active asset"""
|
|
248
73
|
|
|
249
74
|
bl_idname: typing.Any
|
|
@@ -252,21 +77,6 @@ class ASSET_OT_tag_add(AssetBrowserMetadataOperator):
|
|
|
252
77
|
bl_rna: typing.Any
|
|
253
78
|
id_data: typing.Any
|
|
254
79
|
|
|
255
|
-
def as_keywords(self, *, ignore=()):
|
|
256
|
-
"""Return a copy of the properties as a dictionary
|
|
257
|
-
|
|
258
|
-
:param ignore:
|
|
259
|
-
"""
|
|
260
|
-
...
|
|
261
|
-
|
|
262
|
-
def as_pointer(self) -> int:
|
|
263
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
264
|
-
|
|
265
|
-
:return: int (memory address).
|
|
266
|
-
:rtype: int
|
|
267
|
-
"""
|
|
268
|
-
...
|
|
269
|
-
|
|
270
80
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
271
81
|
"""
|
|
272
82
|
|
|
@@ -283,22 +93,6 @@ class ASSET_OT_tag_add(AssetBrowserMetadataOperator):
|
|
|
283
93
|
"""
|
|
284
94
|
...
|
|
285
95
|
|
|
286
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
287
|
-
"""Adds driver(s) to the given property
|
|
288
|
-
|
|
289
|
-
:return: The driver(s) added.
|
|
290
|
-
:rtype: bpy.types.FCurve
|
|
291
|
-
"""
|
|
292
|
-
...
|
|
293
|
-
|
|
294
|
-
def driver_remove(self) -> bool:
|
|
295
|
-
"""Remove driver(s) from the given property
|
|
296
|
-
|
|
297
|
-
:return: Success of driver removal.
|
|
298
|
-
:rtype: bool
|
|
299
|
-
"""
|
|
300
|
-
...
|
|
301
|
-
|
|
302
96
|
def execute(self, context):
|
|
303
97
|
"""
|
|
304
98
|
|
|
@@ -306,158 +100,7 @@ class ASSET_OT_tag_add(AssetBrowserMetadataOperator):
|
|
|
306
100
|
"""
|
|
307
101
|
...
|
|
308
102
|
|
|
309
|
-
|
|
310
|
-
"""Returns the value of the custom property assigned to key or default
|
|
311
|
-
when not found (matches Python's dictionary function of the same name).
|
|
312
|
-
|
|
313
|
-
"""
|
|
314
|
-
...
|
|
315
|
-
|
|
316
|
-
def id_properties_clear(self):
|
|
317
|
-
"""
|
|
318
|
-
|
|
319
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
320
|
-
"""
|
|
321
|
-
...
|
|
322
|
-
|
|
323
|
-
def id_properties_ensure(self):
|
|
324
|
-
"""
|
|
325
|
-
|
|
326
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
327
|
-
"""
|
|
328
|
-
...
|
|
329
|
-
|
|
330
|
-
def id_properties_ui(self):
|
|
331
|
-
"""
|
|
332
|
-
|
|
333
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
334
|
-
"""
|
|
335
|
-
...
|
|
336
|
-
|
|
337
|
-
def is_property_hidden(self) -> bool:
|
|
338
|
-
"""Check if a property is hidden.
|
|
339
|
-
|
|
340
|
-
:return: True when the property is hidden.
|
|
341
|
-
:rtype: bool
|
|
342
|
-
"""
|
|
343
|
-
...
|
|
344
|
-
|
|
345
|
-
def is_property_overridable_library(self) -> bool:
|
|
346
|
-
"""Check if a property is overridable.
|
|
347
|
-
|
|
348
|
-
:return: True when the property is overridable.
|
|
349
|
-
:rtype: bool
|
|
350
|
-
"""
|
|
351
|
-
...
|
|
352
|
-
|
|
353
|
-
def is_property_readonly(self) -> bool:
|
|
354
|
-
"""Check if a property is readonly.
|
|
355
|
-
|
|
356
|
-
:return: True when the property is readonly (not writable).
|
|
357
|
-
:rtype: bool
|
|
358
|
-
"""
|
|
359
|
-
...
|
|
360
|
-
|
|
361
|
-
def is_property_set(self) -> bool:
|
|
362
|
-
"""Check if a property is set, use for testing operator properties.
|
|
363
|
-
|
|
364
|
-
:return: True when the property has been set.
|
|
365
|
-
:rtype: bool
|
|
366
|
-
"""
|
|
367
|
-
...
|
|
368
|
-
|
|
369
|
-
def items(self):
|
|
370
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
371
|
-
dictionary function of the same name).
|
|
372
|
-
|
|
373
|
-
:return: custom property key, value pairs.
|
|
374
|
-
"""
|
|
375
|
-
...
|
|
376
|
-
|
|
377
|
-
def keyframe_delete(self) -> bool:
|
|
378
|
-
"""Remove a keyframe from this properties fcurve.
|
|
379
|
-
|
|
380
|
-
:return: Success of keyframe deletion.
|
|
381
|
-
:rtype: bool
|
|
382
|
-
"""
|
|
383
|
-
...
|
|
384
|
-
|
|
385
|
-
def keyframe_insert(self) -> bool:
|
|
386
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
387
|
-
|
|
388
|
-
:return: Success of keyframe insertion.
|
|
389
|
-
:rtype: bool
|
|
390
|
-
"""
|
|
391
|
-
...
|
|
392
|
-
|
|
393
|
-
def keys(self):
|
|
394
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
395
|
-
dictionary function of the same name).
|
|
396
|
-
|
|
397
|
-
:return: custom property keys.
|
|
398
|
-
"""
|
|
399
|
-
...
|
|
400
|
-
|
|
401
|
-
def path_from_id(self) -> str:
|
|
402
|
-
"""Returns the data path from the ID to this object (string).
|
|
403
|
-
|
|
404
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
405
|
-
to this struct and property (when given).
|
|
406
|
-
:rtype: str
|
|
407
|
-
"""
|
|
408
|
-
...
|
|
409
|
-
|
|
410
|
-
def path_resolve(self):
|
|
411
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
412
|
-
...
|
|
413
|
-
|
|
414
|
-
def poll(self, context):
|
|
415
|
-
"""
|
|
416
|
-
|
|
417
|
-
:param context:
|
|
418
|
-
"""
|
|
419
|
-
...
|
|
420
|
-
|
|
421
|
-
def poll_message_set(self):
|
|
422
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
423
|
-
...
|
|
424
|
-
|
|
425
|
-
def pop(self):
|
|
426
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
427
|
-
when not found (matches Python's dictionary function of the same name).
|
|
428
|
-
|
|
429
|
-
"""
|
|
430
|
-
...
|
|
431
|
-
|
|
432
|
-
def property_overridable_library_set(self) -> bool:
|
|
433
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
434
|
-
|
|
435
|
-
:return: True when the overridable status of the property was successfully set.
|
|
436
|
-
:rtype: bool
|
|
437
|
-
"""
|
|
438
|
-
...
|
|
439
|
-
|
|
440
|
-
def property_unset(self):
|
|
441
|
-
"""Unset a property, will use default value afterward."""
|
|
442
|
-
...
|
|
443
|
-
|
|
444
|
-
def type_recast(self):
|
|
445
|
-
"""Return a new instance, this is needed because types
|
|
446
|
-
such as textures can be changed at runtime.
|
|
447
|
-
|
|
448
|
-
:return: a new instance of this object with the type initialized again.
|
|
449
|
-
"""
|
|
450
|
-
...
|
|
451
|
-
|
|
452
|
-
def values(self):
|
|
453
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
454
|
-
dictionary function of the same name).
|
|
455
|
-
|
|
456
|
-
:return: custom property values.
|
|
457
|
-
"""
|
|
458
|
-
...
|
|
459
|
-
|
|
460
|
-
class ASSET_OT_tag_remove(AssetBrowserMetadataOperator):
|
|
103
|
+
class ASSET_OT_tag_remove(AssetBrowserMetadataOperator, bpy.types.Operator):
|
|
461
104
|
"""Remove an existing keyword tag from the active asset"""
|
|
462
105
|
|
|
463
106
|
bl_idname: typing.Any
|
|
@@ -466,21 +109,6 @@ class ASSET_OT_tag_remove(AssetBrowserMetadataOperator):
|
|
|
466
109
|
bl_rna: typing.Any
|
|
467
110
|
id_data: typing.Any
|
|
468
111
|
|
|
469
|
-
def as_keywords(self, *, ignore=()):
|
|
470
|
-
"""Return a copy of the properties as a dictionary
|
|
471
|
-
|
|
472
|
-
:param ignore:
|
|
473
|
-
"""
|
|
474
|
-
...
|
|
475
|
-
|
|
476
|
-
def as_pointer(self) -> int:
|
|
477
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
478
|
-
|
|
479
|
-
:return: int (memory address).
|
|
480
|
-
:rtype: int
|
|
481
|
-
"""
|
|
482
|
-
...
|
|
483
|
-
|
|
484
112
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
485
113
|
"""
|
|
486
114
|
|
|
@@ -497,22 +125,6 @@ class ASSET_OT_tag_remove(AssetBrowserMetadataOperator):
|
|
|
497
125
|
"""
|
|
498
126
|
...
|
|
499
127
|
|
|
500
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
501
|
-
"""Adds driver(s) to the given property
|
|
502
|
-
|
|
503
|
-
:return: The driver(s) added.
|
|
504
|
-
:rtype: bpy.types.FCurve
|
|
505
|
-
"""
|
|
506
|
-
...
|
|
507
|
-
|
|
508
|
-
def driver_remove(self) -> bool:
|
|
509
|
-
"""Remove driver(s) from the given property
|
|
510
|
-
|
|
511
|
-
:return: Success of driver removal.
|
|
512
|
-
:rtype: bool
|
|
513
|
-
"""
|
|
514
|
-
...
|
|
515
|
-
|
|
516
128
|
def execute(self, context):
|
|
517
129
|
"""
|
|
518
130
|
|
|
@@ -520,111 +132,6 @@ class ASSET_OT_tag_remove(AssetBrowserMetadataOperator):
|
|
|
520
132
|
"""
|
|
521
133
|
...
|
|
522
134
|
|
|
523
|
-
def get(self):
|
|
524
|
-
"""Returns the value of the custom property assigned to key or default
|
|
525
|
-
when not found (matches Python's dictionary function of the same name).
|
|
526
|
-
|
|
527
|
-
"""
|
|
528
|
-
...
|
|
529
|
-
|
|
530
|
-
def id_properties_clear(self):
|
|
531
|
-
"""
|
|
532
|
-
|
|
533
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
534
|
-
"""
|
|
535
|
-
...
|
|
536
|
-
|
|
537
|
-
def id_properties_ensure(self):
|
|
538
|
-
"""
|
|
539
|
-
|
|
540
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
541
|
-
"""
|
|
542
|
-
...
|
|
543
|
-
|
|
544
|
-
def id_properties_ui(self):
|
|
545
|
-
"""
|
|
546
|
-
|
|
547
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
548
|
-
"""
|
|
549
|
-
...
|
|
550
|
-
|
|
551
|
-
def is_property_hidden(self) -> bool:
|
|
552
|
-
"""Check if a property is hidden.
|
|
553
|
-
|
|
554
|
-
:return: True when the property is hidden.
|
|
555
|
-
:rtype: bool
|
|
556
|
-
"""
|
|
557
|
-
...
|
|
558
|
-
|
|
559
|
-
def is_property_overridable_library(self) -> bool:
|
|
560
|
-
"""Check if a property is overridable.
|
|
561
|
-
|
|
562
|
-
:return: True when the property is overridable.
|
|
563
|
-
:rtype: bool
|
|
564
|
-
"""
|
|
565
|
-
...
|
|
566
|
-
|
|
567
|
-
def is_property_readonly(self) -> bool:
|
|
568
|
-
"""Check if a property is readonly.
|
|
569
|
-
|
|
570
|
-
:return: True when the property is readonly (not writable).
|
|
571
|
-
:rtype: bool
|
|
572
|
-
"""
|
|
573
|
-
...
|
|
574
|
-
|
|
575
|
-
def is_property_set(self) -> bool:
|
|
576
|
-
"""Check if a property is set, use for testing operator properties.
|
|
577
|
-
|
|
578
|
-
:return: True when the property has been set.
|
|
579
|
-
:rtype: bool
|
|
580
|
-
"""
|
|
581
|
-
...
|
|
582
|
-
|
|
583
|
-
def items(self):
|
|
584
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
585
|
-
dictionary function of the same name).
|
|
586
|
-
|
|
587
|
-
:return: custom property key, value pairs.
|
|
588
|
-
"""
|
|
589
|
-
...
|
|
590
|
-
|
|
591
|
-
def keyframe_delete(self) -> bool:
|
|
592
|
-
"""Remove a keyframe from this properties fcurve.
|
|
593
|
-
|
|
594
|
-
:return: Success of keyframe deletion.
|
|
595
|
-
:rtype: bool
|
|
596
|
-
"""
|
|
597
|
-
...
|
|
598
|
-
|
|
599
|
-
def keyframe_insert(self) -> bool:
|
|
600
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
601
|
-
|
|
602
|
-
:return: Success of keyframe insertion.
|
|
603
|
-
:rtype: bool
|
|
604
|
-
"""
|
|
605
|
-
...
|
|
606
|
-
|
|
607
|
-
def keys(self):
|
|
608
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
609
|
-
dictionary function of the same name).
|
|
610
|
-
|
|
611
|
-
:return: custom property keys.
|
|
612
|
-
"""
|
|
613
|
-
...
|
|
614
|
-
|
|
615
|
-
def path_from_id(self) -> str:
|
|
616
|
-
"""Returns the data path from the ID to this object (string).
|
|
617
|
-
|
|
618
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
619
|
-
to this struct and property (when given).
|
|
620
|
-
:rtype: str
|
|
621
|
-
"""
|
|
622
|
-
...
|
|
623
|
-
|
|
624
|
-
def path_resolve(self):
|
|
625
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
626
|
-
...
|
|
627
|
-
|
|
628
135
|
@classmethod
|
|
629
136
|
def poll(cls, context):
|
|
630
137
|
"""
|
|
@@ -633,45 +140,6 @@ class ASSET_OT_tag_remove(AssetBrowserMetadataOperator):
|
|
|
633
140
|
"""
|
|
634
141
|
...
|
|
635
142
|
|
|
636
|
-
def poll_message_set(self):
|
|
637
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
638
|
-
...
|
|
639
|
-
|
|
640
|
-
def pop(self):
|
|
641
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
642
|
-
when not found (matches Python's dictionary function of the same name).
|
|
643
|
-
|
|
644
|
-
"""
|
|
645
|
-
...
|
|
646
|
-
|
|
647
|
-
def property_overridable_library_set(self) -> bool:
|
|
648
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
649
|
-
|
|
650
|
-
:return: True when the overridable status of the property was successfully set.
|
|
651
|
-
:rtype: bool
|
|
652
|
-
"""
|
|
653
|
-
...
|
|
654
|
-
|
|
655
|
-
def property_unset(self):
|
|
656
|
-
"""Unset a property, will use default value afterward."""
|
|
657
|
-
...
|
|
658
|
-
|
|
659
|
-
def type_recast(self):
|
|
660
|
-
"""Return a new instance, this is needed because types
|
|
661
|
-
such as textures can be changed at runtime.
|
|
662
|
-
|
|
663
|
-
:return: a new instance of this object with the type initialized again.
|
|
664
|
-
"""
|
|
665
|
-
...
|
|
666
|
-
|
|
667
|
-
def values(self):
|
|
668
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
669
|
-
dictionary function of the same name).
|
|
670
|
-
|
|
671
|
-
:return: custom property values.
|
|
672
|
-
"""
|
|
673
|
-
...
|
|
674
|
-
|
|
675
143
|
class AssetBrowserMetadataOperator:
|
|
676
144
|
@classmethod
|
|
677
145
|
def poll(cls, context):
|