fake-bpy-module 20240718__py3-none-any.whl → 20240720__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/ops/sound/__init__.pyi +37 -7
- bpy/types/__init__.pyi +65 -8
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/RECORD +120 -120
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.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-20240720.dist-info}/top_level.txt +0 -0
bl_operators/anim/__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 ANIM_OT_keying_set_export:
|
|
9
|
+
class ANIM_OT_keying_set_export(bpy.types.Operator):
|
|
10
10
|
"""Export Keying Set to a Python script"""
|
|
11
11
|
|
|
12
12
|
bl_idname: typing.Any
|
|
@@ -14,21 +14,6 @@ class ANIM_OT_keying_set_export:
|
|
|
14
14
|
bl_rna: typing.Any
|
|
15
15
|
id_data: typing.Any
|
|
16
16
|
|
|
17
|
-
def as_keywords(self, *, ignore=()):
|
|
18
|
-
"""Return a copy of the properties as a dictionary
|
|
19
|
-
|
|
20
|
-
:param ignore:
|
|
21
|
-
"""
|
|
22
|
-
...
|
|
23
|
-
|
|
24
|
-
def as_pointer(self) -> int:
|
|
25
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
26
|
-
|
|
27
|
-
:return: int (memory address).
|
|
28
|
-
:rtype: int
|
|
29
|
-
"""
|
|
30
|
-
...
|
|
31
|
-
|
|
32
17
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
33
18
|
"""
|
|
34
19
|
|
|
@@ -45,22 +30,6 @@ class ANIM_OT_keying_set_export:
|
|
|
45
30
|
"""
|
|
46
31
|
...
|
|
47
32
|
|
|
48
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
49
|
-
"""Adds driver(s) to the given property
|
|
50
|
-
|
|
51
|
-
:return: The driver(s) added.
|
|
52
|
-
:rtype: bpy.types.FCurve
|
|
53
|
-
"""
|
|
54
|
-
...
|
|
55
|
-
|
|
56
|
-
def driver_remove(self) -> bool:
|
|
57
|
-
"""Remove driver(s) from the given property
|
|
58
|
-
|
|
59
|
-
:return: Success of driver removal.
|
|
60
|
-
:rtype: bool
|
|
61
|
-
"""
|
|
62
|
-
...
|
|
63
|
-
|
|
64
33
|
def execute(self, context):
|
|
65
34
|
"""
|
|
66
35
|
|
|
@@ -68,34 +37,6 @@ class ANIM_OT_keying_set_export:
|
|
|
68
37
|
"""
|
|
69
38
|
...
|
|
70
39
|
|
|
71
|
-
def get(self):
|
|
72
|
-
"""Returns the value of the custom property assigned to key or default
|
|
73
|
-
when not found (matches Python's dictionary function of the same name).
|
|
74
|
-
|
|
75
|
-
"""
|
|
76
|
-
...
|
|
77
|
-
|
|
78
|
-
def id_properties_clear(self):
|
|
79
|
-
"""
|
|
80
|
-
|
|
81
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
82
|
-
"""
|
|
83
|
-
...
|
|
84
|
-
|
|
85
|
-
def id_properties_ensure(self):
|
|
86
|
-
"""
|
|
87
|
-
|
|
88
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
89
|
-
"""
|
|
90
|
-
...
|
|
91
|
-
|
|
92
|
-
def id_properties_ui(self):
|
|
93
|
-
"""
|
|
94
|
-
|
|
95
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
96
|
-
"""
|
|
97
|
-
...
|
|
98
|
-
|
|
99
40
|
def invoke(self, context, _event):
|
|
100
41
|
"""
|
|
101
42
|
|
|
@@ -104,124 +45,72 @@ class ANIM_OT_keying_set_export:
|
|
|
104
45
|
"""
|
|
105
46
|
...
|
|
106
47
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
:return: True when the property is hidden.
|
|
111
|
-
:rtype: bool
|
|
112
|
-
"""
|
|
113
|
-
...
|
|
48
|
+
class ARMATURE_OT_collection_remove_unused(bpy.types.Operator):
|
|
49
|
+
"""Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed"""
|
|
114
50
|
|
|
115
|
-
|
|
116
|
-
|
|
51
|
+
bl_idname: typing.Any
|
|
52
|
+
bl_label: typing.Any
|
|
53
|
+
bl_options: typing.Any
|
|
54
|
+
bl_rna: typing.Any
|
|
55
|
+
id_data: typing.Any
|
|
117
56
|
|
|
118
|
-
|
|
119
|
-
:rtype: bool
|
|
57
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
120
58
|
"""
|
|
121
|
-
...
|
|
122
59
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
:return: True when the property is readonly (not writable).
|
|
127
|
-
:rtype: bool
|
|
60
|
+
:return: The RNA type or default when not found.
|
|
61
|
+
:rtype: bpy.types.Struct
|
|
128
62
|
"""
|
|
129
63
|
...
|
|
130
64
|
|
|
131
|
-
def
|
|
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
|
|
65
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
136
66
|
"""
|
|
137
|
-
...
|
|
138
67
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
dictionary function of the same name).
|
|
142
|
-
|
|
143
|
-
:return: custom property key, value pairs.
|
|
68
|
+
:return: The class or default when not found.
|
|
69
|
+
:rtype: typing.Any
|
|
144
70
|
"""
|
|
145
71
|
...
|
|
146
72
|
|
|
147
|
-
def
|
|
148
|
-
"""Remove a keyframe from this properties fcurve.
|
|
149
|
-
|
|
150
|
-
:return: Success of keyframe deletion.
|
|
151
|
-
:rtype: bool
|
|
73
|
+
def execute(self, context):
|
|
152
74
|
"""
|
|
153
|
-
...
|
|
154
75
|
|
|
155
|
-
|
|
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
|
|
76
|
+
:param context:
|
|
160
77
|
"""
|
|
161
78
|
...
|
|
162
79
|
|
|
163
|
-
def
|
|
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.
|
|
80
|
+
def execute_edit_mode(self, context):
|
|
168
81
|
"""
|
|
169
|
-
...
|
|
170
|
-
|
|
171
|
-
def path_from_id(self) -> str:
|
|
172
|
-
"""Returns the data path from the ID to this object (string).
|
|
173
82
|
|
|
174
|
-
|
|
175
|
-
to this struct and property (when given).
|
|
176
|
-
:rtype: str
|
|
83
|
+
:param context:
|
|
177
84
|
"""
|
|
178
85
|
...
|
|
179
86
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
...
|
|
183
|
-
|
|
184
|
-
def poll_message_set(self):
|
|
185
|
-
"""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."""
|
|
186
|
-
...
|
|
187
|
-
|
|
188
|
-
def pop(self):
|
|
189
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
190
|
-
when not found (matches Python's dictionary function of the same name).
|
|
191
|
-
|
|
87
|
+
@classmethod
|
|
88
|
+
def poll(cls, context):
|
|
192
89
|
"""
|
|
193
|
-
...
|
|
194
|
-
|
|
195
|
-
def property_overridable_library_set(self) -> bool:
|
|
196
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
197
90
|
|
|
198
|
-
:
|
|
199
|
-
:rtype: bool
|
|
91
|
+
:param context:
|
|
200
92
|
"""
|
|
201
93
|
...
|
|
202
94
|
|
|
203
|
-
def
|
|
204
|
-
"""
|
|
205
|
-
...
|
|
206
|
-
|
|
207
|
-
def type_recast(self):
|
|
208
|
-
"""Return a new instance, this is needed because types
|
|
209
|
-
such as textures can be changed at runtime.
|
|
95
|
+
def remove_bcolls(self, armature, bcolls_to_remove):
|
|
96
|
+
"""
|
|
210
97
|
|
|
211
|
-
|
|
98
|
+
:param armature:
|
|
99
|
+
:param bcolls_to_remove:
|
|
212
100
|
"""
|
|
213
101
|
...
|
|
214
102
|
|
|
215
|
-
def
|
|
216
|
-
"""
|
|
217
|
-
dictionary function of the same name).
|
|
103
|
+
def visit(self, bcoll, bcolls_with_bones, bcolls_to_remove):
|
|
104
|
+
"""
|
|
218
105
|
|
|
219
|
-
|
|
106
|
+
:param bcoll:
|
|
107
|
+
:param bcolls_with_bones:
|
|
108
|
+
:param bcolls_to_remove:
|
|
220
109
|
"""
|
|
221
110
|
...
|
|
222
111
|
|
|
223
|
-
class
|
|
224
|
-
"""
|
|
112
|
+
class ARMATURE_OT_collection_show_all(bpy.types.Operator):
|
|
113
|
+
"""Show all bone collections"""
|
|
225
114
|
|
|
226
115
|
bl_idname: typing.Any
|
|
227
116
|
bl_label: typing.Any
|
|
@@ -229,21 +118,6 @@ class ARMATURE_OT_collection_remove_unused:
|
|
|
229
118
|
bl_rna: typing.Any
|
|
230
119
|
id_data: typing.Any
|
|
231
120
|
|
|
232
|
-
def as_keywords(self, *, ignore=()):
|
|
233
|
-
"""Return a copy of the properties as a dictionary
|
|
234
|
-
|
|
235
|
-
:param ignore:
|
|
236
|
-
"""
|
|
237
|
-
...
|
|
238
|
-
|
|
239
|
-
def as_pointer(self) -> int:
|
|
240
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
241
|
-
|
|
242
|
-
:return: int (memory address).
|
|
243
|
-
:rtype: int
|
|
244
|
-
"""
|
|
245
|
-
...
|
|
246
|
-
|
|
247
121
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
248
122
|
"""
|
|
249
123
|
|
|
@@ -260,22 +134,6 @@ class ARMATURE_OT_collection_remove_unused:
|
|
|
260
134
|
"""
|
|
261
135
|
...
|
|
262
136
|
|
|
263
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
264
|
-
"""Adds driver(s) to the given property
|
|
265
|
-
|
|
266
|
-
:return: The driver(s) added.
|
|
267
|
-
:rtype: bpy.types.FCurve
|
|
268
|
-
"""
|
|
269
|
-
...
|
|
270
|
-
|
|
271
|
-
def driver_remove(self) -> bool:
|
|
272
|
-
"""Remove driver(s) from the given property
|
|
273
|
-
|
|
274
|
-
:return: Success of driver removal.
|
|
275
|
-
:rtype: bool
|
|
276
|
-
"""
|
|
277
|
-
...
|
|
278
|
-
|
|
279
137
|
def execute(self, context):
|
|
280
138
|
"""
|
|
281
139
|
|
|
@@ -283,118 +141,86 @@ class ARMATURE_OT_collection_remove_unused:
|
|
|
283
141
|
"""
|
|
284
142
|
...
|
|
285
143
|
|
|
286
|
-
|
|
144
|
+
@classmethod
|
|
145
|
+
def poll(cls, context):
|
|
287
146
|
"""
|
|
288
147
|
|
|
289
148
|
:param context:
|
|
290
149
|
"""
|
|
291
150
|
...
|
|
292
151
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
when not found (matches Python's dictionary function of the same name).
|
|
152
|
+
class ARMATURE_OT_collection_unsolo_all(bpy.types.Operator):
|
|
153
|
+
"""Clear the 'solo' setting on all bone collections"""
|
|
296
154
|
|
|
297
|
-
|
|
298
|
-
|
|
155
|
+
bl_idname: typing.Any
|
|
156
|
+
bl_label: typing.Any
|
|
157
|
+
bl_options: typing.Any
|
|
158
|
+
bl_rna: typing.Any
|
|
159
|
+
id_data: typing.Any
|
|
299
160
|
|
|
300
|
-
def
|
|
161
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
301
162
|
"""
|
|
302
163
|
|
|
303
|
-
:return:
|
|
164
|
+
:return: The RNA type or default when not found.
|
|
165
|
+
:rtype: bpy.types.Struct
|
|
304
166
|
"""
|
|
305
167
|
...
|
|
306
168
|
|
|
307
|
-
def
|
|
169
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
308
170
|
"""
|
|
309
171
|
|
|
310
|
-
:return:
|
|
172
|
+
:return: The class or default when not found.
|
|
173
|
+
:rtype: typing.Any
|
|
311
174
|
"""
|
|
312
175
|
...
|
|
313
176
|
|
|
314
|
-
def
|
|
177
|
+
def execute(self, context):
|
|
315
178
|
"""
|
|
316
179
|
|
|
317
|
-
:
|
|
180
|
+
:param context:
|
|
318
181
|
"""
|
|
319
182
|
...
|
|
320
183
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
:return: True when the property is hidden.
|
|
325
|
-
:rtype: bool
|
|
184
|
+
@classmethod
|
|
185
|
+
def poll(cls, context):
|
|
326
186
|
"""
|
|
327
|
-
...
|
|
328
|
-
|
|
329
|
-
def is_property_overridable_library(self) -> bool:
|
|
330
|
-
"""Check if a property is overridable.
|
|
331
187
|
|
|
332
|
-
:
|
|
333
|
-
:rtype: bool
|
|
188
|
+
:param context:
|
|
334
189
|
"""
|
|
335
190
|
...
|
|
336
191
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
:return: True when the property is readonly (not writable).
|
|
341
|
-
:rtype: bool
|
|
342
|
-
"""
|
|
343
|
-
...
|
|
192
|
+
class ARMATURE_OT_copy_bone_color_to_selected(bpy.types.Operator):
|
|
193
|
+
"""Copy the bone color of the active bone to all selected bones"""
|
|
344
194
|
|
|
345
|
-
|
|
346
|
-
|
|
195
|
+
bl_idname: typing.Any
|
|
196
|
+
bl_label: typing.Any
|
|
197
|
+
bl_options: typing.Any
|
|
198
|
+
bl_rna: typing.Any
|
|
199
|
+
id_data: typing.Any
|
|
347
200
|
|
|
348
|
-
|
|
349
|
-
:rtype: bool
|
|
201
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
350
202
|
"""
|
|
351
|
-
...
|
|
352
203
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
dictionary function of the same name).
|
|
356
|
-
|
|
357
|
-
:return: custom property key, value pairs.
|
|
204
|
+
:return: The RNA type or default when not found.
|
|
205
|
+
:rtype: bpy.types.Struct
|
|
358
206
|
"""
|
|
359
207
|
...
|
|
360
208
|
|
|
361
|
-
def
|
|
362
|
-
"""Remove a keyframe from this properties fcurve.
|
|
363
|
-
|
|
364
|
-
:return: Success of keyframe deletion.
|
|
365
|
-
:rtype: bool
|
|
209
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
366
210
|
"""
|
|
367
|
-
...
|
|
368
211
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
:return: Success of keyframe insertion.
|
|
373
|
-
:rtype: bool
|
|
212
|
+
:return: The class or default when not found.
|
|
213
|
+
:rtype: typing.Any
|
|
374
214
|
"""
|
|
375
215
|
...
|
|
376
216
|
|
|
377
|
-
def
|
|
378
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
379
|
-
dictionary function of the same name).
|
|
380
|
-
|
|
381
|
-
:return: custom property keys.
|
|
217
|
+
def execute(self, context):
|
|
382
218
|
"""
|
|
383
|
-
...
|
|
384
219
|
|
|
385
|
-
|
|
386
|
-
"""Returns the data path from the ID to this object (string).
|
|
387
|
-
|
|
388
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
389
|
-
to this struct and property (when given).
|
|
390
|
-
:rtype: str
|
|
220
|
+
:param context:
|
|
391
221
|
"""
|
|
392
222
|
...
|
|
393
223
|
|
|
394
|
-
def path_resolve(self):
|
|
395
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
396
|
-
...
|
|
397
|
-
|
|
398
224
|
@classmethod
|
|
399
225
|
def poll(cls, context):
|
|
400
226
|
"""
|
|
@@ -403,64 +229,48 @@ class ARMATURE_OT_collection_remove_unused:
|
|
|
403
229
|
"""
|
|
404
230
|
...
|
|
405
231
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
...
|
|
232
|
+
class ClearUselessActions(bpy.types.Operator):
|
|
233
|
+
"""Mark actions with no F-Curves for deletion after save and reload of file preserving "action libraries" """
|
|
409
234
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
235
|
+
bl_idname: typing.Any
|
|
236
|
+
bl_label: typing.Any
|
|
237
|
+
bl_options: typing.Any
|
|
238
|
+
bl_rna: typing.Any
|
|
239
|
+
id_data: typing.Any
|
|
413
240
|
|
|
241
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
414
242
|
"""
|
|
415
|
-
...
|
|
416
|
-
|
|
417
|
-
def property_overridable_library_set(self) -> bool:
|
|
418
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
419
243
|
|
|
420
|
-
:return:
|
|
421
|
-
:rtype:
|
|
244
|
+
:return: The RNA type or default when not found.
|
|
245
|
+
:rtype: bpy.types.Struct
|
|
422
246
|
"""
|
|
423
247
|
...
|
|
424
248
|
|
|
425
|
-
def
|
|
426
|
-
"""Unset a property, will use default value afterward."""
|
|
427
|
-
...
|
|
428
|
-
|
|
429
|
-
def remove_bcolls(self, armature, bcolls_to_remove):
|
|
249
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
430
250
|
"""
|
|
431
251
|
|
|
432
|
-
:
|
|
433
|
-
:
|
|
252
|
+
:return: The class or default when not found.
|
|
253
|
+
:rtype: typing.Any
|
|
434
254
|
"""
|
|
435
255
|
...
|
|
436
256
|
|
|
437
|
-
def
|
|
438
|
-
"""Return a new instance, this is needed because types
|
|
439
|
-
such as textures can be changed at runtime.
|
|
440
|
-
|
|
441
|
-
:return: a new instance of this object with the type initialized again.
|
|
257
|
+
def execute(self, _context):
|
|
442
258
|
"""
|
|
443
|
-
...
|
|
444
|
-
|
|
445
|
-
def values(self):
|
|
446
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
447
|
-
dictionary function of the same name).
|
|
448
259
|
|
|
449
|
-
|
|
260
|
+
:param _context:
|
|
450
261
|
"""
|
|
451
262
|
...
|
|
452
263
|
|
|
453
|
-
|
|
264
|
+
@classmethod
|
|
265
|
+
def poll(cls, _context):
|
|
454
266
|
"""
|
|
455
267
|
|
|
456
|
-
:param
|
|
457
|
-
:param bcolls_with_bones:
|
|
458
|
-
:param bcolls_to_remove:
|
|
268
|
+
:param _context:
|
|
459
269
|
"""
|
|
460
270
|
...
|
|
461
271
|
|
|
462
|
-
class
|
|
463
|
-
"""
|
|
272
|
+
class NLA_OT_bake(bpy.types.Operator):
|
|
273
|
+
"""Bake all selected objects location/scale/rotation animation to an action"""
|
|
464
274
|
|
|
465
275
|
bl_idname: typing.Any
|
|
466
276
|
bl_label: typing.Any
|
|
@@ -468,21 +278,6 @@ class ARMATURE_OT_collection_show_all:
|
|
|
468
278
|
bl_rna: typing.Any
|
|
469
279
|
id_data: typing.Any
|
|
470
280
|
|
|
471
|
-
def as_keywords(self, *, ignore=()):
|
|
472
|
-
"""Return a copy of the properties as a dictionary
|
|
473
|
-
|
|
474
|
-
:param ignore:
|
|
475
|
-
"""
|
|
476
|
-
...
|
|
477
|
-
|
|
478
|
-
def as_pointer(self) -> int:
|
|
479
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
480
|
-
|
|
481
|
-
:return: int (memory address).
|
|
482
|
-
:rtype: int
|
|
483
|
-
"""
|
|
484
|
-
...
|
|
485
|
-
|
|
486
281
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
487
282
|
"""
|
|
488
283
|
|
|
@@ -499,22 +294,6 @@ class ARMATURE_OT_collection_show_all:
|
|
|
499
294
|
"""
|
|
500
295
|
...
|
|
501
296
|
|
|
502
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
503
|
-
"""Adds driver(s) to the given property
|
|
504
|
-
|
|
505
|
-
:return: The driver(s) added.
|
|
506
|
-
:rtype: bpy.types.FCurve
|
|
507
|
-
"""
|
|
508
|
-
...
|
|
509
|
-
|
|
510
|
-
def driver_remove(self) -> bool:
|
|
511
|
-
"""Remove driver(s) from the given property
|
|
512
|
-
|
|
513
|
-
:return: Success of driver removal.
|
|
514
|
-
:rtype: bool
|
|
515
|
-
"""
|
|
516
|
-
...
|
|
517
|
-
|
|
518
297
|
def execute(self, context):
|
|
519
298
|
"""
|
|
520
299
|
|
|
@@ -522,1221 +301,42 @@ class ARMATURE_OT_collection_show_all:
|
|
|
522
301
|
"""
|
|
523
302
|
...
|
|
524
303
|
|
|
525
|
-
def
|
|
526
|
-
"""Returns the value of the custom property assigned to key or default
|
|
527
|
-
when not found (matches Python's dictionary function of the same name).
|
|
528
|
-
|
|
529
|
-
"""
|
|
530
|
-
...
|
|
531
|
-
|
|
532
|
-
def id_properties_clear(self):
|
|
533
|
-
"""
|
|
534
|
-
|
|
535
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
536
|
-
"""
|
|
537
|
-
...
|
|
538
|
-
|
|
539
|
-
def id_properties_ensure(self):
|
|
540
|
-
"""
|
|
541
|
-
|
|
542
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
545
|
-
|
|
546
|
-
def id_properties_ui(self):
|
|
547
|
-
"""
|
|
548
|
-
|
|
549
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
550
|
-
"""
|
|
551
|
-
...
|
|
552
|
-
|
|
553
|
-
def is_property_hidden(self) -> bool:
|
|
554
|
-
"""Check if a property is hidden.
|
|
555
|
-
|
|
556
|
-
:return: True when the property is hidden.
|
|
557
|
-
:rtype: bool
|
|
304
|
+
def invoke(self, context, _event):
|
|
558
305
|
"""
|
|
559
|
-
...
|
|
560
306
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
:return: True when the property is overridable.
|
|
565
|
-
:rtype: bool
|
|
307
|
+
:param context:
|
|
308
|
+
:param _event:
|
|
566
309
|
"""
|
|
567
310
|
...
|
|
568
311
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
:return: True when the property is readonly (not writable).
|
|
573
|
-
:rtype: bool
|
|
574
|
-
"""
|
|
575
|
-
...
|
|
312
|
+
class UpdateAnimatedTransformConstraint(bpy.types.Operator):
|
|
313
|
+
"""Update f-curves/drivers affecting Transform constraints (use it with files from 2.70 and earlier)"""
|
|
576
314
|
|
|
577
|
-
|
|
578
|
-
|
|
315
|
+
bl_idname: typing.Any
|
|
316
|
+
bl_label: typing.Any
|
|
317
|
+
bl_options: typing.Any
|
|
318
|
+
bl_rna: typing.Any
|
|
319
|
+
id_data: typing.Any
|
|
579
320
|
|
|
580
|
-
|
|
581
|
-
:rtype: bool
|
|
321
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
582
322
|
"""
|
|
583
|
-
...
|
|
584
323
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
dictionary function of the same name).
|
|
588
|
-
|
|
589
|
-
:return: custom property key, value pairs.
|
|
324
|
+
:return: The RNA type or default when not found.
|
|
325
|
+
:rtype: bpy.types.Struct
|
|
590
326
|
"""
|
|
591
327
|
...
|
|
592
328
|
|
|
593
|
-
def
|
|
594
|
-
"""Remove a keyframe from this properties fcurve.
|
|
595
|
-
|
|
596
|
-
:return: Success of keyframe deletion.
|
|
597
|
-
:rtype: bool
|
|
329
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
598
330
|
"""
|
|
599
|
-
...
|
|
600
331
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
:return: Success of keyframe insertion.
|
|
605
|
-
:rtype: bool
|
|
332
|
+
:return: The class or default when not found.
|
|
333
|
+
:rtype: typing.Any
|
|
606
334
|
"""
|
|
607
335
|
...
|
|
608
336
|
|
|
609
|
-
def
|
|
610
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
611
|
-
dictionary function of the same name).
|
|
612
|
-
|
|
613
|
-
:return: custom property keys.
|
|
614
|
-
"""
|
|
615
|
-
...
|
|
616
|
-
|
|
617
|
-
def path_from_id(self) -> str:
|
|
618
|
-
"""Returns the data path from the ID to this object (string).
|
|
619
|
-
|
|
620
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
621
|
-
to this struct and property (when given).
|
|
622
|
-
:rtype: str
|
|
623
|
-
"""
|
|
624
|
-
...
|
|
625
|
-
|
|
626
|
-
def path_resolve(self):
|
|
627
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
628
|
-
...
|
|
629
|
-
|
|
630
|
-
@classmethod
|
|
631
|
-
def poll(cls, context):
|
|
632
|
-
"""
|
|
633
|
-
|
|
634
|
-
:param context:
|
|
635
|
-
"""
|
|
636
|
-
...
|
|
637
|
-
|
|
638
|
-
def poll_message_set(self):
|
|
639
|
-
"""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."""
|
|
640
|
-
...
|
|
641
|
-
|
|
642
|
-
def pop(self):
|
|
643
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
644
|
-
when not found (matches Python's dictionary function of the same name).
|
|
645
|
-
|
|
646
|
-
"""
|
|
647
|
-
...
|
|
648
|
-
|
|
649
|
-
def property_overridable_library_set(self) -> bool:
|
|
650
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
651
|
-
|
|
652
|
-
:return: True when the overridable status of the property was successfully set.
|
|
653
|
-
:rtype: bool
|
|
654
|
-
"""
|
|
655
|
-
...
|
|
656
|
-
|
|
657
|
-
def property_unset(self):
|
|
658
|
-
"""Unset a property, will use default value afterward."""
|
|
659
|
-
...
|
|
660
|
-
|
|
661
|
-
def type_recast(self):
|
|
662
|
-
"""Return a new instance, this is needed because types
|
|
663
|
-
such as textures can be changed at runtime.
|
|
664
|
-
|
|
665
|
-
:return: a new instance of this object with the type initialized again.
|
|
666
|
-
"""
|
|
667
|
-
...
|
|
668
|
-
|
|
669
|
-
def values(self):
|
|
670
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
671
|
-
dictionary function of the same name).
|
|
672
|
-
|
|
673
|
-
:return: custom property values.
|
|
674
|
-
"""
|
|
675
|
-
...
|
|
676
|
-
|
|
677
|
-
class ARMATURE_OT_collection_unsolo_all:
|
|
678
|
-
"""Clear the 'solo' setting on all bone collections"""
|
|
679
|
-
|
|
680
|
-
bl_idname: typing.Any
|
|
681
|
-
bl_label: typing.Any
|
|
682
|
-
bl_options: typing.Any
|
|
683
|
-
bl_rna: typing.Any
|
|
684
|
-
id_data: typing.Any
|
|
685
|
-
|
|
686
|
-
def as_keywords(self, *, ignore=()):
|
|
687
|
-
"""Return a copy of the properties as a dictionary
|
|
688
|
-
|
|
689
|
-
:param ignore:
|
|
690
|
-
"""
|
|
691
|
-
...
|
|
692
|
-
|
|
693
|
-
def as_pointer(self) -> int:
|
|
694
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
695
|
-
|
|
696
|
-
:return: int (memory address).
|
|
697
|
-
:rtype: int
|
|
698
|
-
"""
|
|
699
|
-
...
|
|
700
|
-
|
|
701
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
702
|
-
"""
|
|
703
|
-
|
|
704
|
-
:return: The RNA type or default when not found.
|
|
705
|
-
:rtype: bpy.types.Struct
|
|
706
|
-
"""
|
|
707
|
-
...
|
|
708
|
-
|
|
709
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
710
|
-
"""
|
|
711
|
-
|
|
712
|
-
:return: The class or default when not found.
|
|
713
|
-
:rtype: typing.Any
|
|
714
|
-
"""
|
|
715
|
-
...
|
|
716
|
-
|
|
717
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
718
|
-
"""Adds driver(s) to the given property
|
|
719
|
-
|
|
720
|
-
:return: The driver(s) added.
|
|
721
|
-
:rtype: bpy.types.FCurve
|
|
722
|
-
"""
|
|
723
|
-
...
|
|
724
|
-
|
|
725
|
-
def driver_remove(self) -> bool:
|
|
726
|
-
"""Remove driver(s) from the given property
|
|
727
|
-
|
|
728
|
-
:return: Success of driver removal.
|
|
729
|
-
:rtype: bool
|
|
730
|
-
"""
|
|
731
|
-
...
|
|
732
|
-
|
|
733
|
-
def execute(self, context):
|
|
734
|
-
"""
|
|
735
|
-
|
|
736
|
-
:param context:
|
|
737
|
-
"""
|
|
738
|
-
...
|
|
739
|
-
|
|
740
|
-
def get(self):
|
|
741
|
-
"""Returns the value of the custom property assigned to key or default
|
|
742
|
-
when not found (matches Python's dictionary function of the same name).
|
|
743
|
-
|
|
744
|
-
"""
|
|
745
|
-
...
|
|
746
|
-
|
|
747
|
-
def id_properties_clear(self):
|
|
748
|
-
"""
|
|
749
|
-
|
|
750
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
751
|
-
"""
|
|
752
|
-
...
|
|
753
|
-
|
|
754
|
-
def id_properties_ensure(self):
|
|
755
|
-
"""
|
|
756
|
-
|
|
757
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
758
|
-
"""
|
|
759
|
-
...
|
|
760
|
-
|
|
761
|
-
def id_properties_ui(self):
|
|
762
|
-
"""
|
|
763
|
-
|
|
764
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
765
|
-
"""
|
|
766
|
-
...
|
|
767
|
-
|
|
768
|
-
def is_property_hidden(self) -> bool:
|
|
769
|
-
"""Check if a property is hidden.
|
|
770
|
-
|
|
771
|
-
:return: True when the property is hidden.
|
|
772
|
-
:rtype: bool
|
|
773
|
-
"""
|
|
774
|
-
...
|
|
775
|
-
|
|
776
|
-
def is_property_overridable_library(self) -> bool:
|
|
777
|
-
"""Check if a property is overridable.
|
|
778
|
-
|
|
779
|
-
:return: True when the property is overridable.
|
|
780
|
-
:rtype: bool
|
|
781
|
-
"""
|
|
782
|
-
...
|
|
783
|
-
|
|
784
|
-
def is_property_readonly(self) -> bool:
|
|
785
|
-
"""Check if a property is readonly.
|
|
786
|
-
|
|
787
|
-
:return: True when the property is readonly (not writable).
|
|
788
|
-
:rtype: bool
|
|
789
|
-
"""
|
|
790
|
-
...
|
|
791
|
-
|
|
792
|
-
def is_property_set(self) -> bool:
|
|
793
|
-
"""Check if a property is set, use for testing operator properties.
|
|
794
|
-
|
|
795
|
-
:return: True when the property has been set.
|
|
796
|
-
:rtype: bool
|
|
797
|
-
"""
|
|
798
|
-
...
|
|
799
|
-
|
|
800
|
-
def items(self):
|
|
801
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
802
|
-
dictionary function of the same name).
|
|
803
|
-
|
|
804
|
-
:return: custom property key, value pairs.
|
|
805
|
-
"""
|
|
806
|
-
...
|
|
807
|
-
|
|
808
|
-
def keyframe_delete(self) -> bool:
|
|
809
|
-
"""Remove a keyframe from this properties fcurve.
|
|
810
|
-
|
|
811
|
-
:return: Success of keyframe deletion.
|
|
812
|
-
:rtype: bool
|
|
813
|
-
"""
|
|
814
|
-
...
|
|
815
|
-
|
|
816
|
-
def keyframe_insert(self) -> bool:
|
|
817
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
818
|
-
|
|
819
|
-
:return: Success of keyframe insertion.
|
|
820
|
-
:rtype: bool
|
|
821
|
-
"""
|
|
822
|
-
...
|
|
823
|
-
|
|
824
|
-
def keys(self):
|
|
825
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
826
|
-
dictionary function of the same name).
|
|
827
|
-
|
|
828
|
-
:return: custom property keys.
|
|
829
|
-
"""
|
|
830
|
-
...
|
|
831
|
-
|
|
832
|
-
def path_from_id(self) -> str:
|
|
833
|
-
"""Returns the data path from the ID to this object (string).
|
|
834
|
-
|
|
835
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
836
|
-
to this struct and property (when given).
|
|
837
|
-
:rtype: str
|
|
838
|
-
"""
|
|
839
|
-
...
|
|
840
|
-
|
|
841
|
-
def path_resolve(self):
|
|
842
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
843
|
-
...
|
|
844
|
-
|
|
845
|
-
@classmethod
|
|
846
|
-
def poll(cls, context):
|
|
847
|
-
"""
|
|
848
|
-
|
|
849
|
-
:param context:
|
|
850
|
-
"""
|
|
851
|
-
...
|
|
852
|
-
|
|
853
|
-
def poll_message_set(self):
|
|
854
|
-
"""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."""
|
|
855
|
-
...
|
|
856
|
-
|
|
857
|
-
def pop(self):
|
|
858
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
859
|
-
when not found (matches Python's dictionary function of the same name).
|
|
860
|
-
|
|
861
|
-
"""
|
|
862
|
-
...
|
|
863
|
-
|
|
864
|
-
def property_overridable_library_set(self) -> bool:
|
|
865
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
866
|
-
|
|
867
|
-
:return: True when the overridable status of the property was successfully set.
|
|
868
|
-
:rtype: bool
|
|
869
|
-
"""
|
|
870
|
-
...
|
|
871
|
-
|
|
872
|
-
def property_unset(self):
|
|
873
|
-
"""Unset a property, will use default value afterward."""
|
|
874
|
-
...
|
|
875
|
-
|
|
876
|
-
def type_recast(self):
|
|
877
|
-
"""Return a new instance, this is needed because types
|
|
878
|
-
such as textures can be changed at runtime.
|
|
879
|
-
|
|
880
|
-
:return: a new instance of this object with the type initialized again.
|
|
881
|
-
"""
|
|
882
|
-
...
|
|
883
|
-
|
|
884
|
-
def values(self):
|
|
885
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
886
|
-
dictionary function of the same name).
|
|
887
|
-
|
|
888
|
-
:return: custom property values.
|
|
889
|
-
"""
|
|
890
|
-
...
|
|
891
|
-
|
|
892
|
-
class ARMATURE_OT_copy_bone_color_to_selected:
|
|
893
|
-
"""Copy the bone color of the active bone to all selected bones"""
|
|
894
|
-
|
|
895
|
-
bl_idname: typing.Any
|
|
896
|
-
bl_label: typing.Any
|
|
897
|
-
bl_options: typing.Any
|
|
898
|
-
bl_rna: typing.Any
|
|
899
|
-
id_data: typing.Any
|
|
900
|
-
|
|
901
|
-
def as_keywords(self, *, ignore=()):
|
|
902
|
-
"""Return a copy of the properties as a dictionary
|
|
903
|
-
|
|
904
|
-
:param ignore:
|
|
905
|
-
"""
|
|
906
|
-
...
|
|
907
|
-
|
|
908
|
-
def as_pointer(self) -> int:
|
|
909
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
910
|
-
|
|
911
|
-
:return: int (memory address).
|
|
912
|
-
:rtype: int
|
|
913
|
-
"""
|
|
914
|
-
...
|
|
915
|
-
|
|
916
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
917
|
-
"""
|
|
918
|
-
|
|
919
|
-
:return: The RNA type or default when not found.
|
|
920
|
-
:rtype: bpy.types.Struct
|
|
921
|
-
"""
|
|
922
|
-
...
|
|
923
|
-
|
|
924
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
925
|
-
"""
|
|
926
|
-
|
|
927
|
-
:return: The class or default when not found.
|
|
928
|
-
:rtype: typing.Any
|
|
929
|
-
"""
|
|
930
|
-
...
|
|
931
|
-
|
|
932
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
933
|
-
"""Adds driver(s) to the given property
|
|
934
|
-
|
|
935
|
-
:return: The driver(s) added.
|
|
936
|
-
:rtype: bpy.types.FCurve
|
|
937
|
-
"""
|
|
938
|
-
...
|
|
939
|
-
|
|
940
|
-
def driver_remove(self) -> bool:
|
|
941
|
-
"""Remove driver(s) from the given property
|
|
942
|
-
|
|
943
|
-
:return: Success of driver removal.
|
|
944
|
-
:rtype: bool
|
|
945
|
-
"""
|
|
946
|
-
...
|
|
947
|
-
|
|
948
|
-
def execute(self, context):
|
|
949
|
-
"""
|
|
950
|
-
|
|
951
|
-
:param context:
|
|
952
|
-
"""
|
|
953
|
-
...
|
|
954
|
-
|
|
955
|
-
def get(self):
|
|
956
|
-
"""Returns the value of the custom property assigned to key or default
|
|
957
|
-
when not found (matches Python's dictionary function of the same name).
|
|
958
|
-
|
|
959
|
-
"""
|
|
960
|
-
...
|
|
961
|
-
|
|
962
|
-
def id_properties_clear(self):
|
|
963
|
-
"""
|
|
964
|
-
|
|
965
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
966
|
-
"""
|
|
967
|
-
...
|
|
968
|
-
|
|
969
|
-
def id_properties_ensure(self):
|
|
970
|
-
"""
|
|
971
|
-
|
|
972
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
973
|
-
"""
|
|
974
|
-
...
|
|
975
|
-
|
|
976
|
-
def id_properties_ui(self):
|
|
977
|
-
"""
|
|
978
|
-
|
|
979
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
980
|
-
"""
|
|
981
|
-
...
|
|
982
|
-
|
|
983
|
-
def is_property_hidden(self) -> bool:
|
|
984
|
-
"""Check if a property is hidden.
|
|
985
|
-
|
|
986
|
-
:return: True when the property is hidden.
|
|
987
|
-
:rtype: bool
|
|
988
|
-
"""
|
|
989
|
-
...
|
|
990
|
-
|
|
991
|
-
def is_property_overridable_library(self) -> bool:
|
|
992
|
-
"""Check if a property is overridable.
|
|
993
|
-
|
|
994
|
-
:return: True when the property is overridable.
|
|
995
|
-
:rtype: bool
|
|
996
|
-
"""
|
|
997
|
-
...
|
|
998
|
-
|
|
999
|
-
def is_property_readonly(self) -> bool:
|
|
1000
|
-
"""Check if a property is readonly.
|
|
1001
|
-
|
|
1002
|
-
:return: True when the property is readonly (not writable).
|
|
1003
|
-
:rtype: bool
|
|
1004
|
-
"""
|
|
1005
|
-
...
|
|
1006
|
-
|
|
1007
|
-
def is_property_set(self) -> bool:
|
|
1008
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1009
|
-
|
|
1010
|
-
:return: True when the property has been set.
|
|
1011
|
-
:rtype: bool
|
|
1012
|
-
"""
|
|
1013
|
-
...
|
|
1014
|
-
|
|
1015
|
-
def items(self):
|
|
1016
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1017
|
-
dictionary function of the same name).
|
|
1018
|
-
|
|
1019
|
-
:return: custom property key, value pairs.
|
|
1020
|
-
"""
|
|
1021
|
-
...
|
|
1022
|
-
|
|
1023
|
-
def keyframe_delete(self) -> bool:
|
|
1024
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1025
|
-
|
|
1026
|
-
:return: Success of keyframe deletion.
|
|
1027
|
-
:rtype: bool
|
|
1028
|
-
"""
|
|
1029
|
-
...
|
|
1030
|
-
|
|
1031
|
-
def keyframe_insert(self) -> bool:
|
|
1032
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1033
|
-
|
|
1034
|
-
:return: Success of keyframe insertion.
|
|
1035
|
-
:rtype: bool
|
|
1036
|
-
"""
|
|
1037
|
-
...
|
|
1038
|
-
|
|
1039
|
-
def keys(self):
|
|
1040
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1041
|
-
dictionary function of the same name).
|
|
1042
|
-
|
|
1043
|
-
:return: custom property keys.
|
|
1044
|
-
"""
|
|
1045
|
-
...
|
|
1046
|
-
|
|
1047
|
-
def path_from_id(self) -> str:
|
|
1048
|
-
"""Returns the data path from the ID to this object (string).
|
|
1049
|
-
|
|
1050
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1051
|
-
to this struct and property (when given).
|
|
1052
|
-
:rtype: str
|
|
1053
|
-
"""
|
|
1054
|
-
...
|
|
1055
|
-
|
|
1056
|
-
def path_resolve(self):
|
|
1057
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1058
|
-
...
|
|
1059
|
-
|
|
1060
|
-
@classmethod
|
|
1061
|
-
def poll(cls, context):
|
|
1062
|
-
"""
|
|
1063
|
-
|
|
1064
|
-
:param context:
|
|
1065
|
-
"""
|
|
1066
|
-
...
|
|
1067
|
-
|
|
1068
|
-
def poll_message_set(self):
|
|
1069
|
-
"""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."""
|
|
1070
|
-
...
|
|
1071
|
-
|
|
1072
|
-
def pop(self):
|
|
1073
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1074
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1075
|
-
|
|
1076
|
-
"""
|
|
1077
|
-
...
|
|
1078
|
-
|
|
1079
|
-
def property_overridable_library_set(self) -> bool:
|
|
1080
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1081
|
-
|
|
1082
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1083
|
-
:rtype: bool
|
|
1084
|
-
"""
|
|
1085
|
-
...
|
|
1086
|
-
|
|
1087
|
-
def property_unset(self):
|
|
1088
|
-
"""Unset a property, will use default value afterward."""
|
|
1089
|
-
...
|
|
1090
|
-
|
|
1091
|
-
def type_recast(self):
|
|
1092
|
-
"""Return a new instance, this is needed because types
|
|
1093
|
-
such as textures can be changed at runtime.
|
|
1094
|
-
|
|
1095
|
-
:return: a new instance of this object with the type initialized again.
|
|
1096
|
-
"""
|
|
1097
|
-
...
|
|
1098
|
-
|
|
1099
|
-
def values(self):
|
|
1100
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1101
|
-
dictionary function of the same name).
|
|
1102
|
-
|
|
1103
|
-
:return: custom property values.
|
|
1104
|
-
"""
|
|
1105
|
-
...
|
|
1106
|
-
|
|
1107
|
-
class ClearUselessActions:
|
|
1108
|
-
"""Mark actions with no F-Curves for deletion after save and reload of file preserving "action libraries" """
|
|
1109
|
-
|
|
1110
|
-
bl_idname: typing.Any
|
|
1111
|
-
bl_label: typing.Any
|
|
1112
|
-
bl_options: typing.Any
|
|
1113
|
-
bl_rna: typing.Any
|
|
1114
|
-
id_data: typing.Any
|
|
1115
|
-
|
|
1116
|
-
def as_keywords(self, *, ignore=()):
|
|
1117
|
-
"""Return a copy of the properties as a dictionary
|
|
1118
|
-
|
|
1119
|
-
:param ignore:
|
|
1120
|
-
"""
|
|
1121
|
-
...
|
|
1122
|
-
|
|
1123
|
-
def as_pointer(self) -> int:
|
|
1124
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1125
|
-
|
|
1126
|
-
:return: int (memory address).
|
|
1127
|
-
:rtype: int
|
|
1128
|
-
"""
|
|
1129
|
-
...
|
|
1130
|
-
|
|
1131
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1132
|
-
"""
|
|
1133
|
-
|
|
1134
|
-
:return: The RNA type or default when not found.
|
|
1135
|
-
:rtype: bpy.types.Struct
|
|
1136
|
-
"""
|
|
1137
|
-
...
|
|
1138
|
-
|
|
1139
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1140
|
-
"""
|
|
1141
|
-
|
|
1142
|
-
:return: The class or default when not found.
|
|
1143
|
-
:rtype: typing.Any
|
|
1144
|
-
"""
|
|
1145
|
-
...
|
|
1146
|
-
|
|
1147
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1148
|
-
"""Adds driver(s) to the given property
|
|
1149
|
-
|
|
1150
|
-
:return: The driver(s) added.
|
|
1151
|
-
:rtype: bpy.types.FCurve
|
|
1152
|
-
"""
|
|
1153
|
-
...
|
|
1154
|
-
|
|
1155
|
-
def driver_remove(self) -> bool:
|
|
1156
|
-
"""Remove driver(s) from the given property
|
|
1157
|
-
|
|
1158
|
-
:return: Success of driver removal.
|
|
1159
|
-
:rtype: bool
|
|
1160
|
-
"""
|
|
1161
|
-
...
|
|
1162
|
-
|
|
1163
|
-
def execute(self, _context):
|
|
1164
|
-
"""
|
|
1165
|
-
|
|
1166
|
-
:param _context:
|
|
1167
|
-
"""
|
|
1168
|
-
...
|
|
1169
|
-
|
|
1170
|
-
def get(self):
|
|
1171
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1172
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1173
|
-
|
|
1174
|
-
"""
|
|
1175
|
-
...
|
|
1176
|
-
|
|
1177
|
-
def id_properties_clear(self):
|
|
1178
|
-
"""
|
|
1179
|
-
|
|
1180
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1181
|
-
"""
|
|
1182
|
-
...
|
|
1183
|
-
|
|
1184
|
-
def id_properties_ensure(self):
|
|
1185
|
-
"""
|
|
1186
|
-
|
|
1187
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1188
|
-
"""
|
|
1189
|
-
...
|
|
1190
|
-
|
|
1191
|
-
def id_properties_ui(self):
|
|
1192
|
-
"""
|
|
1193
|
-
|
|
1194
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1195
|
-
"""
|
|
1196
|
-
...
|
|
1197
|
-
|
|
1198
|
-
def is_property_hidden(self) -> bool:
|
|
1199
|
-
"""Check if a property is hidden.
|
|
1200
|
-
|
|
1201
|
-
:return: True when the property is hidden.
|
|
1202
|
-
:rtype: bool
|
|
1203
|
-
"""
|
|
1204
|
-
...
|
|
1205
|
-
|
|
1206
|
-
def is_property_overridable_library(self) -> bool:
|
|
1207
|
-
"""Check if a property is overridable.
|
|
1208
|
-
|
|
1209
|
-
:return: True when the property is overridable.
|
|
1210
|
-
:rtype: bool
|
|
1211
|
-
"""
|
|
1212
|
-
...
|
|
1213
|
-
|
|
1214
|
-
def is_property_readonly(self) -> bool:
|
|
1215
|
-
"""Check if a property is readonly.
|
|
1216
|
-
|
|
1217
|
-
:return: True when the property is readonly (not writable).
|
|
1218
|
-
:rtype: bool
|
|
1219
|
-
"""
|
|
1220
|
-
...
|
|
1221
|
-
|
|
1222
|
-
def is_property_set(self) -> bool:
|
|
1223
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1224
|
-
|
|
1225
|
-
:return: True when the property has been set.
|
|
1226
|
-
:rtype: bool
|
|
1227
|
-
"""
|
|
1228
|
-
...
|
|
1229
|
-
|
|
1230
|
-
def items(self):
|
|
1231
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1232
|
-
dictionary function of the same name).
|
|
1233
|
-
|
|
1234
|
-
:return: custom property key, value pairs.
|
|
1235
|
-
"""
|
|
1236
|
-
...
|
|
1237
|
-
|
|
1238
|
-
def keyframe_delete(self) -> bool:
|
|
1239
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1240
|
-
|
|
1241
|
-
:return: Success of keyframe deletion.
|
|
1242
|
-
:rtype: bool
|
|
1243
|
-
"""
|
|
1244
|
-
...
|
|
1245
|
-
|
|
1246
|
-
def keyframe_insert(self) -> bool:
|
|
1247
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1248
|
-
|
|
1249
|
-
:return: Success of keyframe insertion.
|
|
1250
|
-
:rtype: bool
|
|
1251
|
-
"""
|
|
1252
|
-
...
|
|
1253
|
-
|
|
1254
|
-
def keys(self):
|
|
1255
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1256
|
-
dictionary function of the same name).
|
|
1257
|
-
|
|
1258
|
-
:return: custom property keys.
|
|
1259
|
-
"""
|
|
1260
|
-
...
|
|
1261
|
-
|
|
1262
|
-
def path_from_id(self) -> str:
|
|
1263
|
-
"""Returns the data path from the ID to this object (string).
|
|
1264
|
-
|
|
1265
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1266
|
-
to this struct and property (when given).
|
|
1267
|
-
:rtype: str
|
|
1268
|
-
"""
|
|
1269
|
-
...
|
|
1270
|
-
|
|
1271
|
-
def path_resolve(self):
|
|
1272
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1273
|
-
...
|
|
1274
|
-
|
|
1275
|
-
@classmethod
|
|
1276
|
-
def poll(cls, _context):
|
|
1277
|
-
"""
|
|
1278
|
-
|
|
1279
|
-
:param _context:
|
|
1280
|
-
"""
|
|
1281
|
-
...
|
|
1282
|
-
|
|
1283
|
-
def poll_message_set(self):
|
|
1284
|
-
"""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."""
|
|
1285
|
-
...
|
|
1286
|
-
|
|
1287
|
-
def pop(self):
|
|
1288
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1289
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1290
|
-
|
|
1291
|
-
"""
|
|
1292
|
-
...
|
|
1293
|
-
|
|
1294
|
-
def property_overridable_library_set(self) -> bool:
|
|
1295
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1296
|
-
|
|
1297
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1298
|
-
:rtype: bool
|
|
1299
|
-
"""
|
|
1300
|
-
...
|
|
1301
|
-
|
|
1302
|
-
def property_unset(self):
|
|
1303
|
-
"""Unset a property, will use default value afterward."""
|
|
1304
|
-
...
|
|
1305
|
-
|
|
1306
|
-
def type_recast(self):
|
|
1307
|
-
"""Return a new instance, this is needed because types
|
|
1308
|
-
such as textures can be changed at runtime.
|
|
1309
|
-
|
|
1310
|
-
:return: a new instance of this object with the type initialized again.
|
|
1311
|
-
"""
|
|
1312
|
-
...
|
|
1313
|
-
|
|
1314
|
-
def values(self):
|
|
1315
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1316
|
-
dictionary function of the same name).
|
|
1317
|
-
|
|
1318
|
-
:return: custom property values.
|
|
1319
|
-
"""
|
|
1320
|
-
...
|
|
1321
|
-
|
|
1322
|
-
class NLA_OT_bake:
|
|
1323
|
-
"""Bake all selected objects location/scale/rotation animation to an action"""
|
|
1324
|
-
|
|
1325
|
-
bl_idname: typing.Any
|
|
1326
|
-
bl_label: typing.Any
|
|
1327
|
-
bl_options: typing.Any
|
|
1328
|
-
bl_rna: typing.Any
|
|
1329
|
-
id_data: typing.Any
|
|
1330
|
-
|
|
1331
|
-
def as_keywords(self, *, ignore=()):
|
|
1332
|
-
"""Return a copy of the properties as a dictionary
|
|
1333
|
-
|
|
1334
|
-
:param ignore:
|
|
1335
|
-
"""
|
|
1336
|
-
...
|
|
1337
|
-
|
|
1338
|
-
def as_pointer(self) -> int:
|
|
1339
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1340
|
-
|
|
1341
|
-
:return: int (memory address).
|
|
1342
|
-
:rtype: int
|
|
1343
|
-
"""
|
|
1344
|
-
...
|
|
1345
|
-
|
|
1346
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1347
|
-
"""
|
|
1348
|
-
|
|
1349
|
-
:return: The RNA type or default when not found.
|
|
1350
|
-
:rtype: bpy.types.Struct
|
|
1351
|
-
"""
|
|
1352
|
-
...
|
|
1353
|
-
|
|
1354
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1355
|
-
"""
|
|
1356
|
-
|
|
1357
|
-
:return: The class or default when not found.
|
|
1358
|
-
:rtype: typing.Any
|
|
1359
|
-
"""
|
|
1360
|
-
...
|
|
1361
|
-
|
|
1362
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1363
|
-
"""Adds driver(s) to the given property
|
|
1364
|
-
|
|
1365
|
-
:return: The driver(s) added.
|
|
1366
|
-
:rtype: bpy.types.FCurve
|
|
1367
|
-
"""
|
|
1368
|
-
...
|
|
1369
|
-
|
|
1370
|
-
def driver_remove(self) -> bool:
|
|
1371
|
-
"""Remove driver(s) from the given property
|
|
1372
|
-
|
|
1373
|
-
:return: Success of driver removal.
|
|
1374
|
-
:rtype: bool
|
|
1375
|
-
"""
|
|
1376
|
-
...
|
|
1377
|
-
|
|
1378
|
-
def execute(self, context):
|
|
1379
|
-
"""
|
|
1380
|
-
|
|
1381
|
-
:param context:
|
|
1382
|
-
"""
|
|
1383
|
-
...
|
|
1384
|
-
|
|
1385
|
-
def get(self):
|
|
1386
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1387
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1388
|
-
|
|
1389
|
-
"""
|
|
1390
|
-
...
|
|
1391
|
-
|
|
1392
|
-
def id_properties_clear(self):
|
|
1393
|
-
"""
|
|
1394
|
-
|
|
1395
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1396
|
-
"""
|
|
1397
|
-
...
|
|
1398
|
-
|
|
1399
|
-
def id_properties_ensure(self):
|
|
1400
|
-
"""
|
|
1401
|
-
|
|
1402
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1403
|
-
"""
|
|
1404
|
-
...
|
|
1405
|
-
|
|
1406
|
-
def id_properties_ui(self):
|
|
1407
|
-
"""
|
|
1408
|
-
|
|
1409
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1410
|
-
"""
|
|
1411
|
-
...
|
|
1412
|
-
|
|
1413
|
-
def invoke(self, context, _event):
|
|
1414
|
-
"""
|
|
1415
|
-
|
|
1416
|
-
:param context:
|
|
1417
|
-
:param _event:
|
|
1418
|
-
"""
|
|
1419
|
-
...
|
|
1420
|
-
|
|
1421
|
-
def is_property_hidden(self) -> bool:
|
|
1422
|
-
"""Check if a property is hidden.
|
|
1423
|
-
|
|
1424
|
-
:return: True when the property is hidden.
|
|
1425
|
-
:rtype: bool
|
|
1426
|
-
"""
|
|
1427
|
-
...
|
|
1428
|
-
|
|
1429
|
-
def is_property_overridable_library(self) -> bool:
|
|
1430
|
-
"""Check if a property is overridable.
|
|
1431
|
-
|
|
1432
|
-
:return: True when the property is overridable.
|
|
1433
|
-
:rtype: bool
|
|
1434
|
-
"""
|
|
1435
|
-
...
|
|
1436
|
-
|
|
1437
|
-
def is_property_readonly(self) -> bool:
|
|
1438
|
-
"""Check if a property is readonly.
|
|
1439
|
-
|
|
1440
|
-
:return: True when the property is readonly (not writable).
|
|
1441
|
-
:rtype: bool
|
|
1442
|
-
"""
|
|
1443
|
-
...
|
|
1444
|
-
|
|
1445
|
-
def is_property_set(self) -> bool:
|
|
1446
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1447
|
-
|
|
1448
|
-
:return: True when the property has been set.
|
|
1449
|
-
:rtype: bool
|
|
1450
|
-
"""
|
|
1451
|
-
...
|
|
1452
|
-
|
|
1453
|
-
def items(self):
|
|
1454
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1455
|
-
dictionary function of the same name).
|
|
1456
|
-
|
|
1457
|
-
:return: custom property key, value pairs.
|
|
1458
|
-
"""
|
|
1459
|
-
...
|
|
1460
|
-
|
|
1461
|
-
def keyframe_delete(self) -> bool:
|
|
1462
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1463
|
-
|
|
1464
|
-
:return: Success of keyframe deletion.
|
|
1465
|
-
:rtype: bool
|
|
1466
|
-
"""
|
|
1467
|
-
...
|
|
1468
|
-
|
|
1469
|
-
def keyframe_insert(self) -> bool:
|
|
1470
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1471
|
-
|
|
1472
|
-
:return: Success of keyframe insertion.
|
|
1473
|
-
:rtype: bool
|
|
1474
|
-
"""
|
|
1475
|
-
...
|
|
1476
|
-
|
|
1477
|
-
def keys(self):
|
|
1478
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1479
|
-
dictionary function of the same name).
|
|
1480
|
-
|
|
1481
|
-
:return: custom property keys.
|
|
1482
|
-
"""
|
|
1483
|
-
...
|
|
1484
|
-
|
|
1485
|
-
def path_from_id(self) -> str:
|
|
1486
|
-
"""Returns the data path from the ID to this object (string).
|
|
1487
|
-
|
|
1488
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1489
|
-
to this struct and property (when given).
|
|
1490
|
-
:rtype: str
|
|
1491
|
-
"""
|
|
1492
|
-
...
|
|
1493
|
-
|
|
1494
|
-
def path_resolve(self):
|
|
1495
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1496
|
-
...
|
|
1497
|
-
|
|
1498
|
-
def poll_message_set(self):
|
|
1499
|
-
"""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."""
|
|
1500
|
-
...
|
|
1501
|
-
|
|
1502
|
-
def pop(self):
|
|
1503
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1504
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1505
|
-
|
|
1506
|
-
"""
|
|
1507
|
-
...
|
|
1508
|
-
|
|
1509
|
-
def property_overridable_library_set(self) -> bool:
|
|
1510
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1511
|
-
|
|
1512
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1513
|
-
:rtype: bool
|
|
1514
|
-
"""
|
|
1515
|
-
...
|
|
1516
|
-
|
|
1517
|
-
def property_unset(self):
|
|
1518
|
-
"""Unset a property, will use default value afterward."""
|
|
1519
|
-
...
|
|
1520
|
-
|
|
1521
|
-
def type_recast(self):
|
|
1522
|
-
"""Return a new instance, this is needed because types
|
|
1523
|
-
such as textures can be changed at runtime.
|
|
1524
|
-
|
|
1525
|
-
:return: a new instance of this object with the type initialized again.
|
|
1526
|
-
"""
|
|
1527
|
-
...
|
|
1528
|
-
|
|
1529
|
-
def values(self):
|
|
1530
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1531
|
-
dictionary function of the same name).
|
|
1532
|
-
|
|
1533
|
-
:return: custom property values.
|
|
1534
|
-
"""
|
|
1535
|
-
...
|
|
1536
|
-
|
|
1537
|
-
class UpdateAnimatedTransformConstraint:
|
|
1538
|
-
"""Update f-curves/drivers affecting Transform constraints (use it with files from 2.70 and earlier)"""
|
|
1539
|
-
|
|
1540
|
-
bl_idname: typing.Any
|
|
1541
|
-
bl_label: typing.Any
|
|
1542
|
-
bl_options: typing.Any
|
|
1543
|
-
bl_rna: typing.Any
|
|
1544
|
-
id_data: typing.Any
|
|
1545
|
-
|
|
1546
|
-
def as_keywords(self, *, ignore=()):
|
|
1547
|
-
"""Return a copy of the properties as a dictionary
|
|
1548
|
-
|
|
1549
|
-
:param ignore:
|
|
1550
|
-
"""
|
|
1551
|
-
...
|
|
1552
|
-
|
|
1553
|
-
def as_pointer(self) -> int:
|
|
1554
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1555
|
-
|
|
1556
|
-
:return: int (memory address).
|
|
1557
|
-
:rtype: int
|
|
1558
|
-
"""
|
|
1559
|
-
...
|
|
1560
|
-
|
|
1561
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1562
|
-
"""
|
|
1563
|
-
|
|
1564
|
-
:return: The RNA type or default when not found.
|
|
1565
|
-
:rtype: bpy.types.Struct
|
|
1566
|
-
"""
|
|
1567
|
-
...
|
|
1568
|
-
|
|
1569
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1570
|
-
"""
|
|
1571
|
-
|
|
1572
|
-
:return: The class or default when not found.
|
|
1573
|
-
:rtype: typing.Any
|
|
1574
|
-
"""
|
|
1575
|
-
...
|
|
1576
|
-
|
|
1577
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1578
|
-
"""Adds driver(s) to the given property
|
|
1579
|
-
|
|
1580
|
-
:return: The driver(s) added.
|
|
1581
|
-
:rtype: bpy.types.FCurve
|
|
1582
|
-
"""
|
|
1583
|
-
...
|
|
1584
|
-
|
|
1585
|
-
def driver_remove(self) -> bool:
|
|
1586
|
-
"""Remove driver(s) from the given property
|
|
1587
|
-
|
|
1588
|
-
:return: Success of driver removal.
|
|
1589
|
-
:rtype: bool
|
|
1590
|
-
"""
|
|
1591
|
-
...
|
|
1592
|
-
|
|
1593
|
-
def execute(self, context):
|
|
337
|
+
def execute(self, context):
|
|
1594
338
|
"""
|
|
1595
339
|
|
|
1596
340
|
:param context:
|
|
1597
341
|
"""
|
|
1598
342
|
...
|
|
1599
|
-
|
|
1600
|
-
def get(self):
|
|
1601
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1602
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1603
|
-
|
|
1604
|
-
"""
|
|
1605
|
-
...
|
|
1606
|
-
|
|
1607
|
-
def id_properties_clear(self):
|
|
1608
|
-
"""
|
|
1609
|
-
|
|
1610
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1611
|
-
"""
|
|
1612
|
-
...
|
|
1613
|
-
|
|
1614
|
-
def id_properties_ensure(self):
|
|
1615
|
-
"""
|
|
1616
|
-
|
|
1617
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1618
|
-
"""
|
|
1619
|
-
...
|
|
1620
|
-
|
|
1621
|
-
def id_properties_ui(self):
|
|
1622
|
-
"""
|
|
1623
|
-
|
|
1624
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1625
|
-
"""
|
|
1626
|
-
...
|
|
1627
|
-
|
|
1628
|
-
def is_property_hidden(self) -> bool:
|
|
1629
|
-
"""Check if a property is hidden.
|
|
1630
|
-
|
|
1631
|
-
:return: True when the property is hidden.
|
|
1632
|
-
:rtype: bool
|
|
1633
|
-
"""
|
|
1634
|
-
...
|
|
1635
|
-
|
|
1636
|
-
def is_property_overridable_library(self) -> bool:
|
|
1637
|
-
"""Check if a property is overridable.
|
|
1638
|
-
|
|
1639
|
-
:return: True when the property is overridable.
|
|
1640
|
-
:rtype: bool
|
|
1641
|
-
"""
|
|
1642
|
-
...
|
|
1643
|
-
|
|
1644
|
-
def is_property_readonly(self) -> bool:
|
|
1645
|
-
"""Check if a property is readonly.
|
|
1646
|
-
|
|
1647
|
-
:return: True when the property is readonly (not writable).
|
|
1648
|
-
:rtype: bool
|
|
1649
|
-
"""
|
|
1650
|
-
...
|
|
1651
|
-
|
|
1652
|
-
def is_property_set(self) -> bool:
|
|
1653
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1654
|
-
|
|
1655
|
-
:return: True when the property has been set.
|
|
1656
|
-
:rtype: bool
|
|
1657
|
-
"""
|
|
1658
|
-
...
|
|
1659
|
-
|
|
1660
|
-
def items(self):
|
|
1661
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1662
|
-
dictionary function of the same name).
|
|
1663
|
-
|
|
1664
|
-
:return: custom property key, value pairs.
|
|
1665
|
-
"""
|
|
1666
|
-
...
|
|
1667
|
-
|
|
1668
|
-
def keyframe_delete(self) -> bool:
|
|
1669
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1670
|
-
|
|
1671
|
-
:return: Success of keyframe deletion.
|
|
1672
|
-
:rtype: bool
|
|
1673
|
-
"""
|
|
1674
|
-
...
|
|
1675
|
-
|
|
1676
|
-
def keyframe_insert(self) -> bool:
|
|
1677
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1678
|
-
|
|
1679
|
-
:return: Success of keyframe insertion.
|
|
1680
|
-
:rtype: bool
|
|
1681
|
-
"""
|
|
1682
|
-
...
|
|
1683
|
-
|
|
1684
|
-
def keys(self):
|
|
1685
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1686
|
-
dictionary function of the same name).
|
|
1687
|
-
|
|
1688
|
-
:return: custom property keys.
|
|
1689
|
-
"""
|
|
1690
|
-
...
|
|
1691
|
-
|
|
1692
|
-
def path_from_id(self) -> str:
|
|
1693
|
-
"""Returns the data path from the ID to this object (string).
|
|
1694
|
-
|
|
1695
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1696
|
-
to this struct and property (when given).
|
|
1697
|
-
:rtype: str
|
|
1698
|
-
"""
|
|
1699
|
-
...
|
|
1700
|
-
|
|
1701
|
-
def path_resolve(self):
|
|
1702
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1703
|
-
...
|
|
1704
|
-
|
|
1705
|
-
def poll_message_set(self):
|
|
1706
|
-
"""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."""
|
|
1707
|
-
...
|
|
1708
|
-
|
|
1709
|
-
def pop(self):
|
|
1710
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1711
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1712
|
-
|
|
1713
|
-
"""
|
|
1714
|
-
...
|
|
1715
|
-
|
|
1716
|
-
def property_overridable_library_set(self) -> bool:
|
|
1717
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1718
|
-
|
|
1719
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1720
|
-
:rtype: bool
|
|
1721
|
-
"""
|
|
1722
|
-
...
|
|
1723
|
-
|
|
1724
|
-
def property_unset(self):
|
|
1725
|
-
"""Unset a property, will use default value afterward."""
|
|
1726
|
-
...
|
|
1727
|
-
|
|
1728
|
-
def type_recast(self):
|
|
1729
|
-
"""Return a new instance, this is needed because types
|
|
1730
|
-
such as textures can be changed at runtime.
|
|
1731
|
-
|
|
1732
|
-
:return: a new instance of this object with the type initialized again.
|
|
1733
|
-
"""
|
|
1734
|
-
...
|
|
1735
|
-
|
|
1736
|
-
def values(self):
|
|
1737
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1738
|
-
dictionary function of the same name).
|
|
1739
|
-
|
|
1740
|
-
:return: custom property values.
|
|
1741
|
-
"""
|
|
1742
|
-
...
|