fake-bpy-module 20240717__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/ops/screen/__init__.pyi +6 -3
- bpy/types/__init__.pyi +77 -5
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/WHEEL +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/top_level.txt +0 -0
|
@@ -6,7 +6,7 @@ import bpy.types
|
|
|
6
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
|
-
class ConsoleAutocomplete:
|
|
9
|
+
class ConsoleAutocomplete(bpy.types.Operator):
|
|
10
10
|
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one"""
|
|
11
11
|
|
|
12
12
|
bl_idname: typing.Any
|
|
@@ -14,21 +14,6 @@ class ConsoleAutocomplete:
|
|
|
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 ConsoleAutocomplete:
|
|
|
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,111 +37,6 @@ class ConsoleAutocomplete:
|
|
|
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
|
-
def is_property_hidden(self) -> bool:
|
|
100
|
-
"""Check if a property is hidden.
|
|
101
|
-
|
|
102
|
-
:return: True when the property is hidden.
|
|
103
|
-
:rtype: bool
|
|
104
|
-
"""
|
|
105
|
-
...
|
|
106
|
-
|
|
107
|
-
def is_property_overridable_library(self) -> bool:
|
|
108
|
-
"""Check if a property is overridable.
|
|
109
|
-
|
|
110
|
-
:return: True when the property is overridable.
|
|
111
|
-
:rtype: bool
|
|
112
|
-
"""
|
|
113
|
-
...
|
|
114
|
-
|
|
115
|
-
def is_property_readonly(self) -> bool:
|
|
116
|
-
"""Check if a property is readonly.
|
|
117
|
-
|
|
118
|
-
:return: True when the property is readonly (not writable).
|
|
119
|
-
:rtype: bool
|
|
120
|
-
"""
|
|
121
|
-
...
|
|
122
|
-
|
|
123
|
-
def is_property_set(self) -> bool:
|
|
124
|
-
"""Check if a property is set, use for testing operator properties.
|
|
125
|
-
|
|
126
|
-
:return: True when the property has been set.
|
|
127
|
-
:rtype: bool
|
|
128
|
-
"""
|
|
129
|
-
...
|
|
130
|
-
|
|
131
|
-
def items(self):
|
|
132
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
133
|
-
dictionary function of the same name).
|
|
134
|
-
|
|
135
|
-
:return: custom property key, value pairs.
|
|
136
|
-
"""
|
|
137
|
-
...
|
|
138
|
-
|
|
139
|
-
def keyframe_delete(self) -> bool:
|
|
140
|
-
"""Remove a keyframe from this properties fcurve.
|
|
141
|
-
|
|
142
|
-
:return: Success of keyframe deletion.
|
|
143
|
-
:rtype: bool
|
|
144
|
-
"""
|
|
145
|
-
...
|
|
146
|
-
|
|
147
|
-
def keyframe_insert(self) -> bool:
|
|
148
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
149
|
-
|
|
150
|
-
:return: Success of keyframe insertion.
|
|
151
|
-
:rtype: bool
|
|
152
|
-
"""
|
|
153
|
-
...
|
|
154
|
-
|
|
155
|
-
def keys(self):
|
|
156
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
157
|
-
dictionary function of the same name).
|
|
158
|
-
|
|
159
|
-
:return: custom property keys.
|
|
160
|
-
"""
|
|
161
|
-
...
|
|
162
|
-
|
|
163
|
-
def path_from_id(self) -> str:
|
|
164
|
-
"""Returns the data path from the ID to this object (string).
|
|
165
|
-
|
|
166
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
167
|
-
to this struct and property (when given).
|
|
168
|
-
:rtype: str
|
|
169
|
-
"""
|
|
170
|
-
...
|
|
171
|
-
|
|
172
|
-
def path_resolve(self):
|
|
173
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
174
|
-
...
|
|
175
|
-
|
|
176
40
|
@classmethod
|
|
177
41
|
def poll(cls, context):
|
|
178
42
|
"""
|
|
@@ -181,46 +45,7 @@ class ConsoleAutocomplete:
|
|
|
181
45
|
"""
|
|
182
46
|
...
|
|
183
47
|
|
|
184
|
-
|
|
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
|
-
|
|
192
|
-
"""
|
|
193
|
-
...
|
|
194
|
-
|
|
195
|
-
def property_overridable_library_set(self) -> bool:
|
|
196
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
197
|
-
|
|
198
|
-
:return: True when the overridable status of the property was successfully set.
|
|
199
|
-
:rtype: bool
|
|
200
|
-
"""
|
|
201
|
-
...
|
|
202
|
-
|
|
203
|
-
def property_unset(self):
|
|
204
|
-
"""Unset a property, will use default value afterward."""
|
|
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.
|
|
210
|
-
|
|
211
|
-
:return: a new instance of this object with the type initialized again.
|
|
212
|
-
"""
|
|
213
|
-
...
|
|
214
|
-
|
|
215
|
-
def values(self):
|
|
216
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
217
|
-
dictionary function of the same name).
|
|
218
|
-
|
|
219
|
-
:return: custom property values.
|
|
220
|
-
"""
|
|
221
|
-
...
|
|
222
|
-
|
|
223
|
-
class ConsoleBanner:
|
|
48
|
+
class ConsoleBanner(bpy.types.Operator):
|
|
224
49
|
"""Print a message when the terminal initializes"""
|
|
225
50
|
|
|
226
51
|
bl_idname: typing.Any
|
|
@@ -228,21 +53,6 @@ class ConsoleBanner:
|
|
|
228
53
|
bl_rna: typing.Any
|
|
229
54
|
id_data: typing.Any
|
|
230
55
|
|
|
231
|
-
def as_keywords(self, *, ignore=()):
|
|
232
|
-
"""Return a copy of the properties as a dictionary
|
|
233
|
-
|
|
234
|
-
:param ignore:
|
|
235
|
-
"""
|
|
236
|
-
...
|
|
237
|
-
|
|
238
|
-
def as_pointer(self) -> int:
|
|
239
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
240
|
-
|
|
241
|
-
:return: int (memory address).
|
|
242
|
-
:rtype: int
|
|
243
|
-
"""
|
|
244
|
-
...
|
|
245
|
-
|
|
246
56
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
247
57
|
"""
|
|
248
58
|
|
|
@@ -259,22 +69,6 @@ class ConsoleBanner:
|
|
|
259
69
|
"""
|
|
260
70
|
...
|
|
261
71
|
|
|
262
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
263
|
-
"""Adds driver(s) to the given property
|
|
264
|
-
|
|
265
|
-
:return: The driver(s) added.
|
|
266
|
-
:rtype: bpy.types.FCurve
|
|
267
|
-
"""
|
|
268
|
-
...
|
|
269
|
-
|
|
270
|
-
def driver_remove(self) -> bool:
|
|
271
|
-
"""Remove driver(s) from the given property
|
|
272
|
-
|
|
273
|
-
:return: Success of driver removal.
|
|
274
|
-
:rtype: bool
|
|
275
|
-
"""
|
|
276
|
-
...
|
|
277
|
-
|
|
278
72
|
def execute(self, context):
|
|
279
73
|
"""
|
|
280
74
|
|
|
@@ -282,111 +76,6 @@ class ConsoleBanner:
|
|
|
282
76
|
"""
|
|
283
77
|
...
|
|
284
78
|
|
|
285
|
-
def get(self):
|
|
286
|
-
"""Returns the value of the custom property assigned to key or default
|
|
287
|
-
when not found (matches Python's dictionary function of the same name).
|
|
288
|
-
|
|
289
|
-
"""
|
|
290
|
-
...
|
|
291
|
-
|
|
292
|
-
def id_properties_clear(self):
|
|
293
|
-
"""
|
|
294
|
-
|
|
295
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
296
|
-
"""
|
|
297
|
-
...
|
|
298
|
-
|
|
299
|
-
def id_properties_ensure(self):
|
|
300
|
-
"""
|
|
301
|
-
|
|
302
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
303
|
-
"""
|
|
304
|
-
...
|
|
305
|
-
|
|
306
|
-
def id_properties_ui(self):
|
|
307
|
-
"""
|
|
308
|
-
|
|
309
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
310
|
-
"""
|
|
311
|
-
...
|
|
312
|
-
|
|
313
|
-
def is_property_hidden(self) -> bool:
|
|
314
|
-
"""Check if a property is hidden.
|
|
315
|
-
|
|
316
|
-
:return: True when the property is hidden.
|
|
317
|
-
:rtype: bool
|
|
318
|
-
"""
|
|
319
|
-
...
|
|
320
|
-
|
|
321
|
-
def is_property_overridable_library(self) -> bool:
|
|
322
|
-
"""Check if a property is overridable.
|
|
323
|
-
|
|
324
|
-
:return: True when the property is overridable.
|
|
325
|
-
:rtype: bool
|
|
326
|
-
"""
|
|
327
|
-
...
|
|
328
|
-
|
|
329
|
-
def is_property_readonly(self) -> bool:
|
|
330
|
-
"""Check if a property is readonly.
|
|
331
|
-
|
|
332
|
-
:return: True when the property is readonly (not writable).
|
|
333
|
-
:rtype: bool
|
|
334
|
-
"""
|
|
335
|
-
...
|
|
336
|
-
|
|
337
|
-
def is_property_set(self) -> bool:
|
|
338
|
-
"""Check if a property is set, use for testing operator properties.
|
|
339
|
-
|
|
340
|
-
:return: True when the property has been set.
|
|
341
|
-
:rtype: bool
|
|
342
|
-
"""
|
|
343
|
-
...
|
|
344
|
-
|
|
345
|
-
def items(self):
|
|
346
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
347
|
-
dictionary function of the same name).
|
|
348
|
-
|
|
349
|
-
:return: custom property key, value pairs.
|
|
350
|
-
"""
|
|
351
|
-
...
|
|
352
|
-
|
|
353
|
-
def keyframe_delete(self) -> bool:
|
|
354
|
-
"""Remove a keyframe from this properties fcurve.
|
|
355
|
-
|
|
356
|
-
:return: Success of keyframe deletion.
|
|
357
|
-
:rtype: bool
|
|
358
|
-
"""
|
|
359
|
-
...
|
|
360
|
-
|
|
361
|
-
def keyframe_insert(self) -> bool:
|
|
362
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
363
|
-
|
|
364
|
-
:return: Success of keyframe insertion.
|
|
365
|
-
:rtype: bool
|
|
366
|
-
"""
|
|
367
|
-
...
|
|
368
|
-
|
|
369
|
-
def keys(self):
|
|
370
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
371
|
-
dictionary function of the same name).
|
|
372
|
-
|
|
373
|
-
:return: custom property keys.
|
|
374
|
-
"""
|
|
375
|
-
...
|
|
376
|
-
|
|
377
|
-
def path_from_id(self) -> str:
|
|
378
|
-
"""Returns the data path from the ID to this object (string).
|
|
379
|
-
|
|
380
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
381
|
-
to this struct and property (when given).
|
|
382
|
-
:rtype: str
|
|
383
|
-
"""
|
|
384
|
-
...
|
|
385
|
-
|
|
386
|
-
def path_resolve(self):
|
|
387
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
388
|
-
...
|
|
389
|
-
|
|
390
79
|
@classmethod
|
|
391
80
|
def poll(cls, context):
|
|
392
81
|
"""
|
|
@@ -395,46 +84,7 @@ class ConsoleBanner:
|
|
|
395
84
|
"""
|
|
396
85
|
...
|
|
397
86
|
|
|
398
|
-
|
|
399
|
-
"""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."""
|
|
400
|
-
...
|
|
401
|
-
|
|
402
|
-
def pop(self):
|
|
403
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
404
|
-
when not found (matches Python's dictionary function of the same name).
|
|
405
|
-
|
|
406
|
-
"""
|
|
407
|
-
...
|
|
408
|
-
|
|
409
|
-
def property_overridable_library_set(self) -> bool:
|
|
410
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
411
|
-
|
|
412
|
-
:return: True when the overridable status of the property was successfully set.
|
|
413
|
-
:rtype: bool
|
|
414
|
-
"""
|
|
415
|
-
...
|
|
416
|
-
|
|
417
|
-
def property_unset(self):
|
|
418
|
-
"""Unset a property, will use default value afterward."""
|
|
419
|
-
...
|
|
420
|
-
|
|
421
|
-
def type_recast(self):
|
|
422
|
-
"""Return a new instance, this is needed because types
|
|
423
|
-
such as textures can be changed at runtime.
|
|
424
|
-
|
|
425
|
-
:return: a new instance of this object with the type initialized again.
|
|
426
|
-
"""
|
|
427
|
-
...
|
|
428
|
-
|
|
429
|
-
def values(self):
|
|
430
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
431
|
-
dictionary function of the same name).
|
|
432
|
-
|
|
433
|
-
:return: custom property values.
|
|
434
|
-
"""
|
|
435
|
-
...
|
|
436
|
-
|
|
437
|
-
class ConsoleCopyAsScript:
|
|
87
|
+
class ConsoleCopyAsScript(bpy.types.Operator):
|
|
438
88
|
"""Copy the console contents for use in a script"""
|
|
439
89
|
|
|
440
90
|
bl_idname: typing.Any
|
|
@@ -442,21 +92,6 @@ class ConsoleCopyAsScript:
|
|
|
442
92
|
bl_rna: typing.Any
|
|
443
93
|
id_data: typing.Any
|
|
444
94
|
|
|
445
|
-
def as_keywords(self, *, ignore=()):
|
|
446
|
-
"""Return a copy of the properties as a dictionary
|
|
447
|
-
|
|
448
|
-
:param ignore:
|
|
449
|
-
"""
|
|
450
|
-
...
|
|
451
|
-
|
|
452
|
-
def as_pointer(self) -> int:
|
|
453
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
454
|
-
|
|
455
|
-
:return: int (memory address).
|
|
456
|
-
:rtype: int
|
|
457
|
-
"""
|
|
458
|
-
...
|
|
459
|
-
|
|
460
95
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
461
96
|
"""
|
|
462
97
|
|
|
@@ -473,22 +108,6 @@ class ConsoleCopyAsScript:
|
|
|
473
108
|
"""
|
|
474
109
|
...
|
|
475
110
|
|
|
476
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
477
|
-
"""Adds driver(s) to the given property
|
|
478
|
-
|
|
479
|
-
:return: The driver(s) added.
|
|
480
|
-
:rtype: bpy.types.FCurve
|
|
481
|
-
"""
|
|
482
|
-
...
|
|
483
|
-
|
|
484
|
-
def driver_remove(self) -> bool:
|
|
485
|
-
"""Remove driver(s) from the given property
|
|
486
|
-
|
|
487
|
-
:return: Success of driver removal.
|
|
488
|
-
:rtype: bool
|
|
489
|
-
"""
|
|
490
|
-
...
|
|
491
|
-
|
|
492
111
|
def execute(self, context):
|
|
493
112
|
"""
|
|
494
113
|
|
|
@@ -496,111 +115,6 @@ class ConsoleCopyAsScript:
|
|
|
496
115
|
"""
|
|
497
116
|
...
|
|
498
117
|
|
|
499
|
-
def get(self):
|
|
500
|
-
"""Returns the value of the custom property assigned to key or default
|
|
501
|
-
when not found (matches Python's dictionary function of the same name).
|
|
502
|
-
|
|
503
|
-
"""
|
|
504
|
-
...
|
|
505
|
-
|
|
506
|
-
def id_properties_clear(self):
|
|
507
|
-
"""
|
|
508
|
-
|
|
509
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
510
|
-
"""
|
|
511
|
-
...
|
|
512
|
-
|
|
513
|
-
def id_properties_ensure(self):
|
|
514
|
-
"""
|
|
515
|
-
|
|
516
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
517
|
-
"""
|
|
518
|
-
...
|
|
519
|
-
|
|
520
|
-
def id_properties_ui(self):
|
|
521
|
-
"""
|
|
522
|
-
|
|
523
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
524
|
-
"""
|
|
525
|
-
...
|
|
526
|
-
|
|
527
|
-
def is_property_hidden(self) -> bool:
|
|
528
|
-
"""Check if a property is hidden.
|
|
529
|
-
|
|
530
|
-
:return: True when the property is hidden.
|
|
531
|
-
:rtype: bool
|
|
532
|
-
"""
|
|
533
|
-
...
|
|
534
|
-
|
|
535
|
-
def is_property_overridable_library(self) -> bool:
|
|
536
|
-
"""Check if a property is overridable.
|
|
537
|
-
|
|
538
|
-
:return: True when the property is overridable.
|
|
539
|
-
:rtype: bool
|
|
540
|
-
"""
|
|
541
|
-
...
|
|
542
|
-
|
|
543
|
-
def is_property_readonly(self) -> bool:
|
|
544
|
-
"""Check if a property is readonly.
|
|
545
|
-
|
|
546
|
-
:return: True when the property is readonly (not writable).
|
|
547
|
-
:rtype: bool
|
|
548
|
-
"""
|
|
549
|
-
...
|
|
550
|
-
|
|
551
|
-
def is_property_set(self) -> bool:
|
|
552
|
-
"""Check if a property is set, use for testing operator properties.
|
|
553
|
-
|
|
554
|
-
:return: True when the property has been set.
|
|
555
|
-
:rtype: bool
|
|
556
|
-
"""
|
|
557
|
-
...
|
|
558
|
-
|
|
559
|
-
def items(self):
|
|
560
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
561
|
-
dictionary function of the same name).
|
|
562
|
-
|
|
563
|
-
:return: custom property key, value pairs.
|
|
564
|
-
"""
|
|
565
|
-
...
|
|
566
|
-
|
|
567
|
-
def keyframe_delete(self) -> bool:
|
|
568
|
-
"""Remove a keyframe from this properties fcurve.
|
|
569
|
-
|
|
570
|
-
:return: Success of keyframe deletion.
|
|
571
|
-
:rtype: bool
|
|
572
|
-
"""
|
|
573
|
-
...
|
|
574
|
-
|
|
575
|
-
def keyframe_insert(self) -> bool:
|
|
576
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
577
|
-
|
|
578
|
-
:return: Success of keyframe insertion.
|
|
579
|
-
:rtype: bool
|
|
580
|
-
"""
|
|
581
|
-
...
|
|
582
|
-
|
|
583
|
-
def keys(self):
|
|
584
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
585
|
-
dictionary function of the same name).
|
|
586
|
-
|
|
587
|
-
:return: custom property keys.
|
|
588
|
-
"""
|
|
589
|
-
...
|
|
590
|
-
|
|
591
|
-
def path_from_id(self) -> str:
|
|
592
|
-
"""Returns the data path from the ID to this object (string).
|
|
593
|
-
|
|
594
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
595
|
-
to this struct and property (when given).
|
|
596
|
-
:rtype: str
|
|
597
|
-
"""
|
|
598
|
-
...
|
|
599
|
-
|
|
600
|
-
def path_resolve(self):
|
|
601
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
602
|
-
...
|
|
603
|
-
|
|
604
118
|
@classmethod
|
|
605
119
|
def poll(cls, context):
|
|
606
120
|
"""
|
|
@@ -609,46 +123,7 @@ class ConsoleCopyAsScript:
|
|
|
609
123
|
"""
|
|
610
124
|
...
|
|
611
125
|
|
|
612
|
-
|
|
613
|
-
"""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."""
|
|
614
|
-
...
|
|
615
|
-
|
|
616
|
-
def pop(self):
|
|
617
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
618
|
-
when not found (matches Python's dictionary function of the same name).
|
|
619
|
-
|
|
620
|
-
"""
|
|
621
|
-
...
|
|
622
|
-
|
|
623
|
-
def property_overridable_library_set(self) -> bool:
|
|
624
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
625
|
-
|
|
626
|
-
:return: True when the overridable status of the property was successfully set.
|
|
627
|
-
:rtype: bool
|
|
628
|
-
"""
|
|
629
|
-
...
|
|
630
|
-
|
|
631
|
-
def property_unset(self):
|
|
632
|
-
"""Unset a property, will use default value afterward."""
|
|
633
|
-
...
|
|
634
|
-
|
|
635
|
-
def type_recast(self):
|
|
636
|
-
"""Return a new instance, this is needed because types
|
|
637
|
-
such as textures can be changed at runtime.
|
|
638
|
-
|
|
639
|
-
:return: a new instance of this object with the type initialized again.
|
|
640
|
-
"""
|
|
641
|
-
...
|
|
642
|
-
|
|
643
|
-
def values(self):
|
|
644
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
645
|
-
dictionary function of the same name).
|
|
646
|
-
|
|
647
|
-
:return: custom property values.
|
|
648
|
-
"""
|
|
649
|
-
...
|
|
650
|
-
|
|
651
|
-
class ConsoleExec:
|
|
126
|
+
class ConsoleExec(bpy.types.Operator):
|
|
652
127
|
"""Execute the current console line as a Python expression"""
|
|
653
128
|
|
|
654
129
|
bl_idname: typing.Any
|
|
@@ -657,21 +132,6 @@ class ConsoleExec:
|
|
|
657
132
|
bl_rna: typing.Any
|
|
658
133
|
id_data: typing.Any
|
|
659
134
|
|
|
660
|
-
def as_keywords(self, *, ignore=()):
|
|
661
|
-
"""Return a copy of the properties as a dictionary
|
|
662
|
-
|
|
663
|
-
:param ignore:
|
|
664
|
-
"""
|
|
665
|
-
...
|
|
666
|
-
|
|
667
|
-
def as_pointer(self) -> int:
|
|
668
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
669
|
-
|
|
670
|
-
:return: int (memory address).
|
|
671
|
-
:rtype: int
|
|
672
|
-
"""
|
|
673
|
-
...
|
|
674
|
-
|
|
675
135
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
676
136
|
"""
|
|
677
137
|
|
|
@@ -688,22 +148,6 @@ class ConsoleExec:
|
|
|
688
148
|
"""
|
|
689
149
|
...
|
|
690
150
|
|
|
691
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
692
|
-
"""Adds driver(s) to the given property
|
|
693
|
-
|
|
694
|
-
:return: The driver(s) added.
|
|
695
|
-
:rtype: bpy.types.FCurve
|
|
696
|
-
"""
|
|
697
|
-
...
|
|
698
|
-
|
|
699
|
-
def driver_remove(self) -> bool:
|
|
700
|
-
"""Remove driver(s) from the given property
|
|
701
|
-
|
|
702
|
-
:return: Success of driver removal.
|
|
703
|
-
:rtype: bool
|
|
704
|
-
"""
|
|
705
|
-
...
|
|
706
|
-
|
|
707
151
|
def execute(self, context):
|
|
708
152
|
"""
|
|
709
153
|
|
|
@@ -711,111 +155,6 @@ class ConsoleExec:
|
|
|
711
155
|
"""
|
|
712
156
|
...
|
|
713
157
|
|
|
714
|
-
def get(self):
|
|
715
|
-
"""Returns the value of the custom property assigned to key or default
|
|
716
|
-
when not found (matches Python's dictionary function of the same name).
|
|
717
|
-
|
|
718
|
-
"""
|
|
719
|
-
...
|
|
720
|
-
|
|
721
|
-
def id_properties_clear(self):
|
|
722
|
-
"""
|
|
723
|
-
|
|
724
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
725
|
-
"""
|
|
726
|
-
...
|
|
727
|
-
|
|
728
|
-
def id_properties_ensure(self):
|
|
729
|
-
"""
|
|
730
|
-
|
|
731
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
732
|
-
"""
|
|
733
|
-
...
|
|
734
|
-
|
|
735
|
-
def id_properties_ui(self):
|
|
736
|
-
"""
|
|
737
|
-
|
|
738
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
739
|
-
"""
|
|
740
|
-
...
|
|
741
|
-
|
|
742
|
-
def is_property_hidden(self) -> bool:
|
|
743
|
-
"""Check if a property is hidden.
|
|
744
|
-
|
|
745
|
-
:return: True when the property is hidden.
|
|
746
|
-
:rtype: bool
|
|
747
|
-
"""
|
|
748
|
-
...
|
|
749
|
-
|
|
750
|
-
def is_property_overridable_library(self) -> bool:
|
|
751
|
-
"""Check if a property is overridable.
|
|
752
|
-
|
|
753
|
-
:return: True when the property is overridable.
|
|
754
|
-
:rtype: bool
|
|
755
|
-
"""
|
|
756
|
-
...
|
|
757
|
-
|
|
758
|
-
def is_property_readonly(self) -> bool:
|
|
759
|
-
"""Check if a property is readonly.
|
|
760
|
-
|
|
761
|
-
:return: True when the property is readonly (not writable).
|
|
762
|
-
:rtype: bool
|
|
763
|
-
"""
|
|
764
|
-
...
|
|
765
|
-
|
|
766
|
-
def is_property_set(self) -> bool:
|
|
767
|
-
"""Check if a property is set, use for testing operator properties.
|
|
768
|
-
|
|
769
|
-
:return: True when the property has been set.
|
|
770
|
-
:rtype: bool
|
|
771
|
-
"""
|
|
772
|
-
...
|
|
773
|
-
|
|
774
|
-
def items(self):
|
|
775
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
776
|
-
dictionary function of the same name).
|
|
777
|
-
|
|
778
|
-
:return: custom property key, value pairs.
|
|
779
|
-
"""
|
|
780
|
-
...
|
|
781
|
-
|
|
782
|
-
def keyframe_delete(self) -> bool:
|
|
783
|
-
"""Remove a keyframe from this properties fcurve.
|
|
784
|
-
|
|
785
|
-
:return: Success of keyframe deletion.
|
|
786
|
-
:rtype: bool
|
|
787
|
-
"""
|
|
788
|
-
...
|
|
789
|
-
|
|
790
|
-
def keyframe_insert(self) -> bool:
|
|
791
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
792
|
-
|
|
793
|
-
:return: Success of keyframe insertion.
|
|
794
|
-
:rtype: bool
|
|
795
|
-
"""
|
|
796
|
-
...
|
|
797
|
-
|
|
798
|
-
def keys(self):
|
|
799
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
800
|
-
dictionary function of the same name).
|
|
801
|
-
|
|
802
|
-
:return: custom property keys.
|
|
803
|
-
"""
|
|
804
|
-
...
|
|
805
|
-
|
|
806
|
-
def path_from_id(self) -> str:
|
|
807
|
-
"""Returns the data path from the ID to this object (string).
|
|
808
|
-
|
|
809
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
810
|
-
to this struct and property (when given).
|
|
811
|
-
:rtype: str
|
|
812
|
-
"""
|
|
813
|
-
...
|
|
814
|
-
|
|
815
|
-
def path_resolve(self):
|
|
816
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
817
|
-
...
|
|
818
|
-
|
|
819
158
|
@classmethod
|
|
820
159
|
def poll(cls, context):
|
|
821
160
|
"""
|
|
@@ -824,46 +163,7 @@ class ConsoleExec:
|
|
|
824
163
|
"""
|
|
825
164
|
...
|
|
826
165
|
|
|
827
|
-
|
|
828
|
-
"""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."""
|
|
829
|
-
...
|
|
830
|
-
|
|
831
|
-
def pop(self):
|
|
832
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
833
|
-
when not found (matches Python's dictionary function of the same name).
|
|
834
|
-
|
|
835
|
-
"""
|
|
836
|
-
...
|
|
837
|
-
|
|
838
|
-
def property_overridable_library_set(self) -> bool:
|
|
839
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
840
|
-
|
|
841
|
-
:return: True when the overridable status of the property was successfully set.
|
|
842
|
-
:rtype: bool
|
|
843
|
-
"""
|
|
844
|
-
...
|
|
845
|
-
|
|
846
|
-
def property_unset(self):
|
|
847
|
-
"""Unset a property, will use default value afterward."""
|
|
848
|
-
...
|
|
849
|
-
|
|
850
|
-
def type_recast(self):
|
|
851
|
-
"""Return a new instance, this is needed because types
|
|
852
|
-
such as textures can be changed at runtime.
|
|
853
|
-
|
|
854
|
-
:return: a new instance of this object with the type initialized again.
|
|
855
|
-
"""
|
|
856
|
-
...
|
|
857
|
-
|
|
858
|
-
def values(self):
|
|
859
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
860
|
-
dictionary function of the same name).
|
|
861
|
-
|
|
862
|
-
:return: custom property values.
|
|
863
|
-
"""
|
|
864
|
-
...
|
|
865
|
-
|
|
866
|
-
class ConsoleLanguage:
|
|
166
|
+
class ConsoleLanguage(bpy.types.Operator):
|
|
867
167
|
"""Set the current language for this console"""
|
|
868
168
|
|
|
869
169
|
bl_idname: typing.Any
|
|
@@ -871,21 +171,6 @@ class ConsoleLanguage:
|
|
|
871
171
|
bl_rna: typing.Any
|
|
872
172
|
id_data: typing.Any
|
|
873
173
|
|
|
874
|
-
def as_keywords(self, *, ignore=()):
|
|
875
|
-
"""Return a copy of the properties as a dictionary
|
|
876
|
-
|
|
877
|
-
:param ignore:
|
|
878
|
-
"""
|
|
879
|
-
...
|
|
880
|
-
|
|
881
|
-
def as_pointer(self) -> int:
|
|
882
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
883
|
-
|
|
884
|
-
:return: int (memory address).
|
|
885
|
-
:rtype: int
|
|
886
|
-
"""
|
|
887
|
-
...
|
|
888
|
-
|
|
889
174
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
890
175
|
"""
|
|
891
176
|
|
|
@@ -902,22 +187,6 @@ class ConsoleLanguage:
|
|
|
902
187
|
"""
|
|
903
188
|
...
|
|
904
189
|
|
|
905
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
906
|
-
"""Adds driver(s) to the given property
|
|
907
|
-
|
|
908
|
-
:return: The driver(s) added.
|
|
909
|
-
:rtype: bpy.types.FCurve
|
|
910
|
-
"""
|
|
911
|
-
...
|
|
912
|
-
|
|
913
|
-
def driver_remove(self) -> bool:
|
|
914
|
-
"""Remove driver(s) from the given property
|
|
915
|
-
|
|
916
|
-
:return: Success of driver removal.
|
|
917
|
-
:rtype: bool
|
|
918
|
-
"""
|
|
919
|
-
...
|
|
920
|
-
|
|
921
190
|
def execute(self, context):
|
|
922
191
|
"""
|
|
923
192
|
|
|
@@ -925,111 +194,6 @@ class ConsoleLanguage:
|
|
|
925
194
|
"""
|
|
926
195
|
...
|
|
927
196
|
|
|
928
|
-
def get(self):
|
|
929
|
-
"""Returns the value of the custom property assigned to key or default
|
|
930
|
-
when not found (matches Python's dictionary function of the same name).
|
|
931
|
-
|
|
932
|
-
"""
|
|
933
|
-
...
|
|
934
|
-
|
|
935
|
-
def id_properties_clear(self):
|
|
936
|
-
"""
|
|
937
|
-
|
|
938
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
939
|
-
"""
|
|
940
|
-
...
|
|
941
|
-
|
|
942
|
-
def id_properties_ensure(self):
|
|
943
|
-
"""
|
|
944
|
-
|
|
945
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
946
|
-
"""
|
|
947
|
-
...
|
|
948
|
-
|
|
949
|
-
def id_properties_ui(self):
|
|
950
|
-
"""
|
|
951
|
-
|
|
952
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
953
|
-
"""
|
|
954
|
-
...
|
|
955
|
-
|
|
956
|
-
def is_property_hidden(self) -> bool:
|
|
957
|
-
"""Check if a property is hidden.
|
|
958
|
-
|
|
959
|
-
:return: True when the property is hidden.
|
|
960
|
-
:rtype: bool
|
|
961
|
-
"""
|
|
962
|
-
...
|
|
963
|
-
|
|
964
|
-
def is_property_overridable_library(self) -> bool:
|
|
965
|
-
"""Check if a property is overridable.
|
|
966
|
-
|
|
967
|
-
:return: True when the property is overridable.
|
|
968
|
-
:rtype: bool
|
|
969
|
-
"""
|
|
970
|
-
...
|
|
971
|
-
|
|
972
|
-
def is_property_readonly(self) -> bool:
|
|
973
|
-
"""Check if a property is readonly.
|
|
974
|
-
|
|
975
|
-
:return: True when the property is readonly (not writable).
|
|
976
|
-
:rtype: bool
|
|
977
|
-
"""
|
|
978
|
-
...
|
|
979
|
-
|
|
980
|
-
def is_property_set(self) -> bool:
|
|
981
|
-
"""Check if a property is set, use for testing operator properties.
|
|
982
|
-
|
|
983
|
-
:return: True when the property has been set.
|
|
984
|
-
:rtype: bool
|
|
985
|
-
"""
|
|
986
|
-
...
|
|
987
|
-
|
|
988
|
-
def items(self):
|
|
989
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
990
|
-
dictionary function of the same name).
|
|
991
|
-
|
|
992
|
-
:return: custom property key, value pairs.
|
|
993
|
-
"""
|
|
994
|
-
...
|
|
995
|
-
|
|
996
|
-
def keyframe_delete(self) -> bool:
|
|
997
|
-
"""Remove a keyframe from this properties fcurve.
|
|
998
|
-
|
|
999
|
-
:return: Success of keyframe deletion.
|
|
1000
|
-
:rtype: bool
|
|
1001
|
-
"""
|
|
1002
|
-
...
|
|
1003
|
-
|
|
1004
|
-
def keyframe_insert(self) -> bool:
|
|
1005
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1006
|
-
|
|
1007
|
-
:return: Success of keyframe insertion.
|
|
1008
|
-
:rtype: bool
|
|
1009
|
-
"""
|
|
1010
|
-
...
|
|
1011
|
-
|
|
1012
|
-
def keys(self):
|
|
1013
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1014
|
-
dictionary function of the same name).
|
|
1015
|
-
|
|
1016
|
-
:return: custom property keys.
|
|
1017
|
-
"""
|
|
1018
|
-
...
|
|
1019
|
-
|
|
1020
|
-
def path_from_id(self) -> str:
|
|
1021
|
-
"""Returns the data path from the ID to this object (string).
|
|
1022
|
-
|
|
1023
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1024
|
-
to this struct and property (when given).
|
|
1025
|
-
:rtype: str
|
|
1026
|
-
"""
|
|
1027
|
-
...
|
|
1028
|
-
|
|
1029
|
-
def path_resolve(self):
|
|
1030
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1031
|
-
...
|
|
1032
|
-
|
|
1033
197
|
@classmethod
|
|
1034
198
|
def poll(cls, context):
|
|
1035
199
|
"""
|
|
@@ -1037,42 +201,3 @@ class ConsoleLanguage:
|
|
|
1037
201
|
:param context:
|
|
1038
202
|
"""
|
|
1039
203
|
...
|
|
1040
|
-
|
|
1041
|
-
def poll_message_set(self):
|
|
1042
|
-
"""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."""
|
|
1043
|
-
...
|
|
1044
|
-
|
|
1045
|
-
def pop(self):
|
|
1046
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1047
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1048
|
-
|
|
1049
|
-
"""
|
|
1050
|
-
...
|
|
1051
|
-
|
|
1052
|
-
def property_overridable_library_set(self) -> bool:
|
|
1053
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1054
|
-
|
|
1055
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1056
|
-
:rtype: bool
|
|
1057
|
-
"""
|
|
1058
|
-
...
|
|
1059
|
-
|
|
1060
|
-
def property_unset(self):
|
|
1061
|
-
"""Unset a property, will use default value afterward."""
|
|
1062
|
-
...
|
|
1063
|
-
|
|
1064
|
-
def type_recast(self):
|
|
1065
|
-
"""Return a new instance, this is needed because types
|
|
1066
|
-
such as textures can be changed at runtime.
|
|
1067
|
-
|
|
1068
|
-
:return: a new instance of this object with the type initialized again.
|
|
1069
|
-
"""
|
|
1070
|
-
...
|
|
1071
|
-
|
|
1072
|
-
def values(self):
|
|
1073
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1074
|
-
dictionary function of the same name).
|
|
1075
|
-
|
|
1076
|
-
:return: custom property values.
|
|
1077
|
-
"""
|
|
1078
|
-
...
|