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
|
@@ -8,7 +8,7 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class DATA_PT_context_lattice(DataButtonsPanel, bpy_types._GenericUI):
|
|
11
|
+
class DATA_PT_context_lattice(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
12
12
|
bl_context: typing.Any
|
|
13
13
|
bl_label: typing.Any
|
|
14
14
|
bl_options: typing.Any
|
|
@@ -17,22 +17,6 @@ class DATA_PT_context_lattice(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
17
17
|
bl_space_type: typing.Any
|
|
18
18
|
id_data: typing.Any
|
|
19
19
|
|
|
20
|
-
def append(self, draw_func):
|
|
21
|
-
"""Append a draw function to this menu,
|
|
22
|
-
takes the same arguments as the menus draw function
|
|
23
|
-
|
|
24
|
-
:param draw_func:
|
|
25
|
-
"""
|
|
26
|
-
...
|
|
27
|
-
|
|
28
|
-
def as_pointer(self) -> int:
|
|
29
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
30
|
-
|
|
31
|
-
:return: int (memory address).
|
|
32
|
-
:rtype: int
|
|
33
|
-
"""
|
|
34
|
-
...
|
|
35
|
-
|
|
36
20
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
37
21
|
"""
|
|
38
22
|
|
|
@@ -56,187 +40,8 @@ class DATA_PT_context_lattice(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
56
40
|
"""
|
|
57
41
|
...
|
|
58
42
|
|
|
59
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
60
|
-
"""Adds driver(s) to the given property
|
|
61
|
-
|
|
62
|
-
:return: The driver(s) added.
|
|
63
|
-
:rtype: bpy.types.FCurve
|
|
64
|
-
"""
|
|
65
|
-
...
|
|
66
|
-
|
|
67
|
-
def driver_remove(self) -> bool:
|
|
68
|
-
"""Remove driver(s) from the given property
|
|
69
|
-
|
|
70
|
-
:return: Success of driver removal.
|
|
71
|
-
:rtype: bool
|
|
72
|
-
"""
|
|
73
|
-
...
|
|
74
|
-
|
|
75
|
-
def get(self):
|
|
76
|
-
"""Returns the value of the custom property assigned to key or default
|
|
77
|
-
when not found (matches Python's dictionary function of the same name).
|
|
78
|
-
|
|
79
|
-
"""
|
|
80
|
-
...
|
|
81
|
-
|
|
82
|
-
def id_properties_clear(self):
|
|
83
|
-
"""
|
|
84
|
-
|
|
85
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
86
|
-
"""
|
|
87
|
-
...
|
|
88
|
-
|
|
89
|
-
def id_properties_ensure(self):
|
|
90
|
-
"""
|
|
91
|
-
|
|
92
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
93
|
-
"""
|
|
94
|
-
...
|
|
95
|
-
|
|
96
|
-
def id_properties_ui(self):
|
|
97
|
-
"""
|
|
98
|
-
|
|
99
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
100
|
-
"""
|
|
101
|
-
...
|
|
102
|
-
|
|
103
|
-
def is_extended(self): ...
|
|
104
|
-
def is_property_hidden(self) -> bool:
|
|
105
|
-
"""Check if a property is hidden.
|
|
106
|
-
|
|
107
|
-
:return: True when the property is hidden.
|
|
108
|
-
:rtype: bool
|
|
109
|
-
"""
|
|
110
|
-
...
|
|
111
|
-
|
|
112
|
-
def is_property_overridable_library(self) -> bool:
|
|
113
|
-
"""Check if a property is overridable.
|
|
114
|
-
|
|
115
|
-
:return: True when the property is overridable.
|
|
116
|
-
:rtype: bool
|
|
117
|
-
"""
|
|
118
|
-
...
|
|
119
|
-
|
|
120
|
-
def is_property_readonly(self) -> bool:
|
|
121
|
-
"""Check if a property is readonly.
|
|
122
|
-
|
|
123
|
-
:return: True when the property is readonly (not writable).
|
|
124
|
-
:rtype: bool
|
|
125
|
-
"""
|
|
126
|
-
...
|
|
127
|
-
|
|
128
|
-
def is_property_set(self) -> bool:
|
|
129
|
-
"""Check if a property is set, use for testing operator properties.
|
|
130
|
-
|
|
131
|
-
:return: True when the property has been set.
|
|
132
|
-
:rtype: bool
|
|
133
|
-
"""
|
|
134
|
-
...
|
|
135
|
-
|
|
136
|
-
def items(self):
|
|
137
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
138
|
-
dictionary function of the same name).
|
|
139
|
-
|
|
140
|
-
:return: custom property key, value pairs.
|
|
141
|
-
"""
|
|
142
|
-
...
|
|
143
|
-
|
|
144
|
-
def keyframe_delete(self) -> bool:
|
|
145
|
-
"""Remove a keyframe from this properties fcurve.
|
|
146
|
-
|
|
147
|
-
:return: Success of keyframe deletion.
|
|
148
|
-
:rtype: bool
|
|
149
|
-
"""
|
|
150
|
-
...
|
|
151
|
-
|
|
152
|
-
def keyframe_insert(self) -> bool:
|
|
153
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
154
|
-
|
|
155
|
-
:return: Success of keyframe insertion.
|
|
156
|
-
:rtype: bool
|
|
157
|
-
"""
|
|
158
|
-
...
|
|
159
|
-
|
|
160
|
-
def keys(self):
|
|
161
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
162
|
-
dictionary function of the same name).
|
|
163
|
-
|
|
164
|
-
:return: custom property keys.
|
|
165
|
-
"""
|
|
166
|
-
...
|
|
167
|
-
|
|
168
|
-
def path_from_id(self) -> str:
|
|
169
|
-
"""Returns the data path from the ID to this object (string).
|
|
170
|
-
|
|
171
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
172
|
-
to this struct and property (when given).
|
|
173
|
-
:rtype: str
|
|
174
|
-
"""
|
|
175
|
-
...
|
|
176
|
-
|
|
177
|
-
def path_resolve(self):
|
|
178
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
179
|
-
...
|
|
180
|
-
|
|
181
|
-
def poll(self, context):
|
|
182
|
-
"""
|
|
183
|
-
|
|
184
|
-
:param context:
|
|
185
|
-
"""
|
|
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 prepend(self, draw_func):
|
|
196
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
197
|
-
the menus draw function
|
|
198
|
-
|
|
199
|
-
:param draw_func:
|
|
200
|
-
"""
|
|
201
|
-
...
|
|
202
|
-
|
|
203
|
-
def property_overridable_library_set(self) -> bool:
|
|
204
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
205
|
-
|
|
206
|
-
:return: True when the overridable status of the property was successfully set.
|
|
207
|
-
:rtype: bool
|
|
208
|
-
"""
|
|
209
|
-
...
|
|
210
|
-
|
|
211
|
-
def property_unset(self):
|
|
212
|
-
"""Unset a property, will use default value afterward."""
|
|
213
|
-
...
|
|
214
|
-
|
|
215
|
-
def remove(self, draw_func):
|
|
216
|
-
"""Remove a draw function that has been added to this menu
|
|
217
|
-
|
|
218
|
-
:param draw_func:
|
|
219
|
-
"""
|
|
220
|
-
...
|
|
221
|
-
|
|
222
|
-
def type_recast(self):
|
|
223
|
-
"""Return a new instance, this is needed because types
|
|
224
|
-
such as textures can be changed at runtime.
|
|
225
|
-
|
|
226
|
-
:return: a new instance of this object with the type initialized again.
|
|
227
|
-
"""
|
|
228
|
-
...
|
|
229
|
-
|
|
230
|
-
def values(self):
|
|
231
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
232
|
-
dictionary function of the same name).
|
|
233
|
-
|
|
234
|
-
:return: custom property values.
|
|
235
|
-
"""
|
|
236
|
-
...
|
|
237
|
-
|
|
238
43
|
class DATA_PT_custom_props_lattice(
|
|
239
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
44
|
+
bpy.types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
240
45
|
):
|
|
241
46
|
"""The subclass should have its own poll function
|
|
242
47
|
and the variable '_context_path' MUST be set.
|
|
@@ -252,22 +57,6 @@ class DATA_PT_custom_props_lattice(
|
|
|
252
57
|
bl_space_type: typing.Any
|
|
253
58
|
id_data: typing.Any
|
|
254
59
|
|
|
255
|
-
def append(self, draw_func):
|
|
256
|
-
"""Append a draw function to this menu,
|
|
257
|
-
takes the same arguments as the menus draw function
|
|
258
|
-
|
|
259
|
-
:param draw_func:
|
|
260
|
-
"""
|
|
261
|
-
...
|
|
262
|
-
|
|
263
|
-
def as_pointer(self) -> int:
|
|
264
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
265
|
-
|
|
266
|
-
:return: int (memory address).
|
|
267
|
-
:rtype: int
|
|
268
|
-
"""
|
|
269
|
-
...
|
|
270
|
-
|
|
271
60
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
272
61
|
"""
|
|
273
62
|
|
|
@@ -284,193 +73,7 @@ class DATA_PT_custom_props_lattice(
|
|
|
284
73
|
"""
|
|
285
74
|
...
|
|
286
75
|
|
|
287
|
-
|
|
288
|
-
"""
|
|
289
|
-
|
|
290
|
-
:param context:
|
|
291
|
-
"""
|
|
292
|
-
...
|
|
293
|
-
|
|
294
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
295
|
-
"""Adds driver(s) to the given property
|
|
296
|
-
|
|
297
|
-
:return: The driver(s) added.
|
|
298
|
-
:rtype: bpy.types.FCurve
|
|
299
|
-
"""
|
|
300
|
-
...
|
|
301
|
-
|
|
302
|
-
def driver_remove(self) -> bool:
|
|
303
|
-
"""Remove driver(s) from the given property
|
|
304
|
-
|
|
305
|
-
:return: Success of driver removal.
|
|
306
|
-
:rtype: bool
|
|
307
|
-
"""
|
|
308
|
-
...
|
|
309
|
-
|
|
310
|
-
def get(self):
|
|
311
|
-
"""Returns the value of the custom property assigned to key or default
|
|
312
|
-
when not found (matches Python's dictionary function of the same name).
|
|
313
|
-
|
|
314
|
-
"""
|
|
315
|
-
...
|
|
316
|
-
|
|
317
|
-
def id_properties_clear(self):
|
|
318
|
-
"""
|
|
319
|
-
|
|
320
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
321
|
-
"""
|
|
322
|
-
...
|
|
323
|
-
|
|
324
|
-
def id_properties_ensure(self):
|
|
325
|
-
"""
|
|
326
|
-
|
|
327
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
328
|
-
"""
|
|
329
|
-
...
|
|
330
|
-
|
|
331
|
-
def id_properties_ui(self):
|
|
332
|
-
"""
|
|
333
|
-
|
|
334
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
335
|
-
"""
|
|
336
|
-
...
|
|
337
|
-
|
|
338
|
-
def is_extended(self): ...
|
|
339
|
-
def is_property_hidden(self) -> bool:
|
|
340
|
-
"""Check if a property is hidden.
|
|
341
|
-
|
|
342
|
-
:return: True when the property is hidden.
|
|
343
|
-
:rtype: bool
|
|
344
|
-
"""
|
|
345
|
-
...
|
|
346
|
-
|
|
347
|
-
def is_property_overridable_library(self) -> bool:
|
|
348
|
-
"""Check if a property is overridable.
|
|
349
|
-
|
|
350
|
-
:return: True when the property is overridable.
|
|
351
|
-
:rtype: bool
|
|
352
|
-
"""
|
|
353
|
-
...
|
|
354
|
-
|
|
355
|
-
def is_property_readonly(self) -> bool:
|
|
356
|
-
"""Check if a property is readonly.
|
|
357
|
-
|
|
358
|
-
:return: True when the property is readonly (not writable).
|
|
359
|
-
:rtype: bool
|
|
360
|
-
"""
|
|
361
|
-
...
|
|
362
|
-
|
|
363
|
-
def is_property_set(self) -> bool:
|
|
364
|
-
"""Check if a property is set, use for testing operator properties.
|
|
365
|
-
|
|
366
|
-
:return: True when the property has been set.
|
|
367
|
-
:rtype: bool
|
|
368
|
-
"""
|
|
369
|
-
...
|
|
370
|
-
|
|
371
|
-
def items(self):
|
|
372
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
373
|
-
dictionary function of the same name).
|
|
374
|
-
|
|
375
|
-
:return: custom property key, value pairs.
|
|
376
|
-
"""
|
|
377
|
-
...
|
|
378
|
-
|
|
379
|
-
def keyframe_delete(self) -> bool:
|
|
380
|
-
"""Remove a keyframe from this properties fcurve.
|
|
381
|
-
|
|
382
|
-
:return: Success of keyframe deletion.
|
|
383
|
-
:rtype: bool
|
|
384
|
-
"""
|
|
385
|
-
...
|
|
386
|
-
|
|
387
|
-
def keyframe_insert(self) -> bool:
|
|
388
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
389
|
-
|
|
390
|
-
:return: Success of keyframe insertion.
|
|
391
|
-
:rtype: bool
|
|
392
|
-
"""
|
|
393
|
-
...
|
|
394
|
-
|
|
395
|
-
def keys(self):
|
|
396
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
397
|
-
dictionary function of the same name).
|
|
398
|
-
|
|
399
|
-
:return: custom property keys.
|
|
400
|
-
"""
|
|
401
|
-
...
|
|
402
|
-
|
|
403
|
-
def path_from_id(self) -> str:
|
|
404
|
-
"""Returns the data path from the ID to this object (string).
|
|
405
|
-
|
|
406
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
407
|
-
to this struct and property (when given).
|
|
408
|
-
:rtype: str
|
|
409
|
-
"""
|
|
410
|
-
...
|
|
411
|
-
|
|
412
|
-
def path_resolve(self):
|
|
413
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
414
|
-
...
|
|
415
|
-
|
|
416
|
-
def poll(self, context):
|
|
417
|
-
"""
|
|
418
|
-
|
|
419
|
-
:param context:
|
|
420
|
-
"""
|
|
421
|
-
...
|
|
422
|
-
|
|
423
|
-
def pop(self):
|
|
424
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
425
|
-
when not found (matches Python's dictionary function of the same name).
|
|
426
|
-
|
|
427
|
-
"""
|
|
428
|
-
...
|
|
429
|
-
|
|
430
|
-
def prepend(self, draw_func):
|
|
431
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
432
|
-
the menus draw function
|
|
433
|
-
|
|
434
|
-
:param draw_func:
|
|
435
|
-
"""
|
|
436
|
-
...
|
|
437
|
-
|
|
438
|
-
def property_overridable_library_set(self) -> bool:
|
|
439
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
440
|
-
|
|
441
|
-
:return: True when the overridable status of the property was successfully set.
|
|
442
|
-
:rtype: bool
|
|
443
|
-
"""
|
|
444
|
-
...
|
|
445
|
-
|
|
446
|
-
def property_unset(self):
|
|
447
|
-
"""Unset a property, will use default value afterward."""
|
|
448
|
-
...
|
|
449
|
-
|
|
450
|
-
def remove(self, draw_func):
|
|
451
|
-
"""Remove a draw function that has been added to this menu
|
|
452
|
-
|
|
453
|
-
:param draw_func:
|
|
454
|
-
"""
|
|
455
|
-
...
|
|
456
|
-
|
|
457
|
-
def type_recast(self):
|
|
458
|
-
"""Return a new instance, this is needed because types
|
|
459
|
-
such as textures can be changed at runtime.
|
|
460
|
-
|
|
461
|
-
:return: a new instance of this object with the type initialized again.
|
|
462
|
-
"""
|
|
463
|
-
...
|
|
464
|
-
|
|
465
|
-
def values(self):
|
|
466
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
467
|
-
dictionary function of the same name).
|
|
468
|
-
|
|
469
|
-
:return: custom property values.
|
|
470
|
-
"""
|
|
471
|
-
...
|
|
472
|
-
|
|
473
|
-
class DATA_PT_lattice(DataButtonsPanel, bpy_types._GenericUI):
|
|
76
|
+
class DATA_PT_lattice(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
474
77
|
bl_context: typing.Any
|
|
475
78
|
bl_label: typing.Any
|
|
476
79
|
bl_region_type: typing.Any
|
|
@@ -478,22 +81,6 @@ class DATA_PT_lattice(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
478
81
|
bl_space_type: typing.Any
|
|
479
82
|
id_data: typing.Any
|
|
480
83
|
|
|
481
|
-
def append(self, draw_func):
|
|
482
|
-
"""Append a draw function to this menu,
|
|
483
|
-
takes the same arguments as the menus draw function
|
|
484
|
-
|
|
485
|
-
:param draw_func:
|
|
486
|
-
"""
|
|
487
|
-
...
|
|
488
|
-
|
|
489
|
-
def as_pointer(self) -> int:
|
|
490
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
491
|
-
|
|
492
|
-
:return: int (memory address).
|
|
493
|
-
:rtype: int
|
|
494
|
-
"""
|
|
495
|
-
...
|
|
496
|
-
|
|
497
84
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
498
85
|
"""
|
|
499
86
|
|
|
@@ -517,185 +104,6 @@ class DATA_PT_lattice(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
517
104
|
"""
|
|
518
105
|
...
|
|
519
106
|
|
|
520
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
521
|
-
"""Adds driver(s) to the given property
|
|
522
|
-
|
|
523
|
-
:return: The driver(s) added.
|
|
524
|
-
:rtype: bpy.types.FCurve
|
|
525
|
-
"""
|
|
526
|
-
...
|
|
527
|
-
|
|
528
|
-
def driver_remove(self) -> bool:
|
|
529
|
-
"""Remove driver(s) from the given property
|
|
530
|
-
|
|
531
|
-
:return: Success of driver removal.
|
|
532
|
-
:rtype: bool
|
|
533
|
-
"""
|
|
534
|
-
...
|
|
535
|
-
|
|
536
|
-
def get(self):
|
|
537
|
-
"""Returns the value of the custom property assigned to key or default
|
|
538
|
-
when not found (matches Python's dictionary function of the same name).
|
|
539
|
-
|
|
540
|
-
"""
|
|
541
|
-
...
|
|
542
|
-
|
|
543
|
-
def id_properties_clear(self):
|
|
544
|
-
"""
|
|
545
|
-
|
|
546
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
547
|
-
"""
|
|
548
|
-
...
|
|
549
|
-
|
|
550
|
-
def id_properties_ensure(self):
|
|
551
|
-
"""
|
|
552
|
-
|
|
553
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
554
|
-
"""
|
|
555
|
-
...
|
|
556
|
-
|
|
557
|
-
def id_properties_ui(self):
|
|
558
|
-
"""
|
|
559
|
-
|
|
560
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
561
|
-
"""
|
|
562
|
-
...
|
|
563
|
-
|
|
564
|
-
def is_extended(self): ...
|
|
565
|
-
def is_property_hidden(self) -> bool:
|
|
566
|
-
"""Check if a property is hidden.
|
|
567
|
-
|
|
568
|
-
:return: True when the property is hidden.
|
|
569
|
-
:rtype: bool
|
|
570
|
-
"""
|
|
571
|
-
...
|
|
572
|
-
|
|
573
|
-
def is_property_overridable_library(self) -> bool:
|
|
574
|
-
"""Check if a property is overridable.
|
|
575
|
-
|
|
576
|
-
:return: True when the property is overridable.
|
|
577
|
-
:rtype: bool
|
|
578
|
-
"""
|
|
579
|
-
...
|
|
580
|
-
|
|
581
|
-
def is_property_readonly(self) -> bool:
|
|
582
|
-
"""Check if a property is readonly.
|
|
583
|
-
|
|
584
|
-
:return: True when the property is readonly (not writable).
|
|
585
|
-
:rtype: bool
|
|
586
|
-
"""
|
|
587
|
-
...
|
|
588
|
-
|
|
589
|
-
def is_property_set(self) -> bool:
|
|
590
|
-
"""Check if a property is set, use for testing operator properties.
|
|
591
|
-
|
|
592
|
-
:return: True when the property has been set.
|
|
593
|
-
:rtype: bool
|
|
594
|
-
"""
|
|
595
|
-
...
|
|
596
|
-
|
|
597
|
-
def items(self):
|
|
598
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
599
|
-
dictionary function of the same name).
|
|
600
|
-
|
|
601
|
-
:return: custom property key, value pairs.
|
|
602
|
-
"""
|
|
603
|
-
...
|
|
604
|
-
|
|
605
|
-
def keyframe_delete(self) -> bool:
|
|
606
|
-
"""Remove a keyframe from this properties fcurve.
|
|
607
|
-
|
|
608
|
-
:return: Success of keyframe deletion.
|
|
609
|
-
:rtype: bool
|
|
610
|
-
"""
|
|
611
|
-
...
|
|
612
|
-
|
|
613
|
-
def keyframe_insert(self) -> bool:
|
|
614
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
615
|
-
|
|
616
|
-
:return: Success of keyframe insertion.
|
|
617
|
-
:rtype: bool
|
|
618
|
-
"""
|
|
619
|
-
...
|
|
620
|
-
|
|
621
|
-
def keys(self):
|
|
622
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
623
|
-
dictionary function of the same name).
|
|
624
|
-
|
|
625
|
-
:return: custom property keys.
|
|
626
|
-
"""
|
|
627
|
-
...
|
|
628
|
-
|
|
629
|
-
def path_from_id(self) -> str:
|
|
630
|
-
"""Returns the data path from the ID to this object (string).
|
|
631
|
-
|
|
632
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
633
|
-
to this struct and property (when given).
|
|
634
|
-
:rtype: str
|
|
635
|
-
"""
|
|
636
|
-
...
|
|
637
|
-
|
|
638
|
-
def path_resolve(self):
|
|
639
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
640
|
-
...
|
|
641
|
-
|
|
642
|
-
def poll(self, context):
|
|
643
|
-
"""
|
|
644
|
-
|
|
645
|
-
:param context:
|
|
646
|
-
"""
|
|
647
|
-
...
|
|
648
|
-
|
|
649
|
-
def pop(self):
|
|
650
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
651
|
-
when not found (matches Python's dictionary function of the same name).
|
|
652
|
-
|
|
653
|
-
"""
|
|
654
|
-
...
|
|
655
|
-
|
|
656
|
-
def prepend(self, draw_func):
|
|
657
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
658
|
-
the menus draw function
|
|
659
|
-
|
|
660
|
-
:param draw_func:
|
|
661
|
-
"""
|
|
662
|
-
...
|
|
663
|
-
|
|
664
|
-
def property_overridable_library_set(self) -> bool:
|
|
665
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
666
|
-
|
|
667
|
-
:return: True when the overridable status of the property was successfully set.
|
|
668
|
-
:rtype: bool
|
|
669
|
-
"""
|
|
670
|
-
...
|
|
671
|
-
|
|
672
|
-
def property_unset(self):
|
|
673
|
-
"""Unset a property, will use default value afterward."""
|
|
674
|
-
...
|
|
675
|
-
|
|
676
|
-
def remove(self, draw_func):
|
|
677
|
-
"""Remove a draw function that has been added to this menu
|
|
678
|
-
|
|
679
|
-
:param draw_func:
|
|
680
|
-
"""
|
|
681
|
-
...
|
|
682
|
-
|
|
683
|
-
def type_recast(self):
|
|
684
|
-
"""Return a new instance, this is needed because types
|
|
685
|
-
such as textures can be changed at runtime.
|
|
686
|
-
|
|
687
|
-
:return: a new instance of this object with the type initialized again.
|
|
688
|
-
"""
|
|
689
|
-
...
|
|
690
|
-
|
|
691
|
-
def values(self):
|
|
692
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
693
|
-
dictionary function of the same name).
|
|
694
|
-
|
|
695
|
-
:return: custom property values.
|
|
696
|
-
"""
|
|
697
|
-
...
|
|
698
|
-
|
|
699
107
|
class DataButtonsPanel:
|
|
700
108
|
bl_context: typing.Any
|
|
701
109
|
bl_region_type: typing.Any
|