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
|
@@ -9,3172 +9,39 @@ import rna_prop_ui
|
|
|
9
9
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
10
10
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
11
11
|
|
|
12
|
-
class ARMATURE_MT_collection_context_menu(bpy_types._GenericUI):
|
|
12
|
+
class ARMATURE_MT_collection_context_menu(bpy.types.Menu, bpy_types._GenericUI):
|
|
13
13
|
bl_label: typing.Any
|
|
14
14
|
bl_rna: typing.Any
|
|
15
15
|
id_data: typing.Any
|
|
16
16
|
|
|
17
|
-
def
|
|
18
|
-
"""Append a draw function to this menu,
|
|
19
|
-
takes the same arguments as the menus draw function
|
|
20
|
-
|
|
21
|
-
:param draw_func:
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def as_pointer(self) -> int:
|
|
26
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
27
|
-
|
|
28
|
-
:return: int (memory address).
|
|
29
|
-
:rtype: int
|
|
30
|
-
"""
|
|
31
|
-
...
|
|
32
|
-
|
|
33
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
34
|
-
"""
|
|
35
|
-
|
|
36
|
-
:return: The RNA type or default when not found.
|
|
37
|
-
:rtype: bpy.types.Struct
|
|
38
|
-
"""
|
|
39
|
-
...
|
|
40
|
-
|
|
41
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
42
|
-
"""
|
|
43
|
-
|
|
44
|
-
:return: The class or default when not found.
|
|
45
|
-
:rtype: typing.Any
|
|
46
|
-
"""
|
|
47
|
-
...
|
|
48
|
-
|
|
49
|
-
def draw(self, context):
|
|
50
|
-
"""
|
|
51
|
-
|
|
52
|
-
:param context:
|
|
53
|
-
"""
|
|
54
|
-
...
|
|
55
|
-
|
|
56
|
-
def draw_collapsible(self, context, layout):
|
|
57
|
-
"""
|
|
58
|
-
|
|
59
|
-
:param context:
|
|
60
|
-
:param layout:
|
|
61
|
-
"""
|
|
62
|
-
...
|
|
63
|
-
|
|
64
|
-
def draw_preset(self, _context):
|
|
65
|
-
"""Define these on the subclass:
|
|
66
|
-
- preset_operator (string)
|
|
67
|
-
- preset_subdir (string)Optionally:
|
|
68
|
-
- preset_add_operator (string)
|
|
69
|
-
- preset_extensions (set of strings)
|
|
70
|
-
- preset_operator_defaults (dict of keyword args)
|
|
71
|
-
|
|
72
|
-
:param _context:
|
|
73
|
-
"""
|
|
74
|
-
...
|
|
75
|
-
|
|
76
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
77
|
-
"""Adds driver(s) to the given property
|
|
78
|
-
|
|
79
|
-
:return: The driver(s) added.
|
|
80
|
-
:rtype: bpy.types.FCurve
|
|
81
|
-
"""
|
|
82
|
-
...
|
|
83
|
-
|
|
84
|
-
def driver_remove(self) -> bool:
|
|
85
|
-
"""Remove driver(s) from the given property
|
|
86
|
-
|
|
87
|
-
:return: Success of driver removal.
|
|
88
|
-
:rtype: bool
|
|
89
|
-
"""
|
|
90
|
-
...
|
|
91
|
-
|
|
92
|
-
def get(self):
|
|
93
|
-
"""Returns the value of the custom property assigned to key or default
|
|
94
|
-
when not found (matches Python's dictionary function of the same name).
|
|
95
|
-
|
|
96
|
-
"""
|
|
97
|
-
...
|
|
98
|
-
|
|
99
|
-
def id_properties_clear(self):
|
|
100
|
-
"""
|
|
101
|
-
|
|
102
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
103
|
-
"""
|
|
104
|
-
...
|
|
105
|
-
|
|
106
|
-
def id_properties_ensure(self):
|
|
107
|
-
"""
|
|
108
|
-
|
|
109
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
110
|
-
"""
|
|
111
|
-
...
|
|
112
|
-
|
|
113
|
-
def id_properties_ui(self):
|
|
114
|
-
"""
|
|
115
|
-
|
|
116
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
117
|
-
"""
|
|
118
|
-
...
|
|
119
|
-
|
|
120
|
-
def is_extended(self): ...
|
|
121
|
-
def is_property_hidden(self) -> bool:
|
|
122
|
-
"""Check if a property is hidden.
|
|
123
|
-
|
|
124
|
-
:return: True when the property is hidden.
|
|
125
|
-
:rtype: bool
|
|
126
|
-
"""
|
|
127
|
-
...
|
|
128
|
-
|
|
129
|
-
def is_property_overridable_library(self) -> bool:
|
|
130
|
-
"""Check if a property is overridable.
|
|
131
|
-
|
|
132
|
-
:return: True when the property is overridable.
|
|
133
|
-
:rtype: bool
|
|
134
|
-
"""
|
|
135
|
-
...
|
|
136
|
-
|
|
137
|
-
def is_property_readonly(self) -> bool:
|
|
138
|
-
"""Check if a property is readonly.
|
|
139
|
-
|
|
140
|
-
:return: True when the property is readonly (not writable).
|
|
141
|
-
:rtype: bool
|
|
142
|
-
"""
|
|
143
|
-
...
|
|
144
|
-
|
|
145
|
-
def is_property_set(self) -> bool:
|
|
146
|
-
"""Check if a property is set, use for testing operator properties.
|
|
147
|
-
|
|
148
|
-
:return: True when the property has been set.
|
|
149
|
-
:rtype: bool
|
|
150
|
-
"""
|
|
151
|
-
...
|
|
152
|
-
|
|
153
|
-
def items(self):
|
|
154
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
155
|
-
dictionary function of the same name).
|
|
156
|
-
|
|
157
|
-
:return: custom property key, value pairs.
|
|
158
|
-
"""
|
|
159
|
-
...
|
|
160
|
-
|
|
161
|
-
def keyframe_delete(self) -> bool:
|
|
162
|
-
"""Remove a keyframe from this properties fcurve.
|
|
163
|
-
|
|
164
|
-
:return: Success of keyframe deletion.
|
|
165
|
-
:rtype: bool
|
|
166
|
-
"""
|
|
167
|
-
...
|
|
168
|
-
|
|
169
|
-
def keyframe_insert(self) -> bool:
|
|
170
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
171
|
-
|
|
172
|
-
:return: Success of keyframe insertion.
|
|
173
|
-
:rtype: bool
|
|
174
|
-
"""
|
|
175
|
-
...
|
|
176
|
-
|
|
177
|
-
def keys(self):
|
|
178
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
179
|
-
dictionary function of the same name).
|
|
180
|
-
|
|
181
|
-
:return: custom property keys.
|
|
182
|
-
"""
|
|
183
|
-
...
|
|
184
|
-
|
|
185
|
-
def path_from_id(self) -> str:
|
|
186
|
-
"""Returns the data path from the ID to this object (string).
|
|
187
|
-
|
|
188
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
189
|
-
to this struct and property (when given).
|
|
190
|
-
:rtype: str
|
|
191
|
-
"""
|
|
192
|
-
...
|
|
193
|
-
|
|
194
|
-
def path_menu(
|
|
195
|
-
self,
|
|
196
|
-
searchpaths: list[str],
|
|
197
|
-
operator: str,
|
|
198
|
-
*,
|
|
199
|
-
props_default: dict = None,
|
|
200
|
-
prop_filepath: str | None = "filepath",
|
|
201
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
202
|
-
filter_path=None,
|
|
203
|
-
display_name: collections.abc.Callable | None = None,
|
|
204
|
-
add_operator=None,
|
|
205
|
-
add_operator_props=None,
|
|
206
|
-
):
|
|
207
|
-
"""Populate a menu from a list of paths.
|
|
208
|
-
|
|
209
|
-
:param searchpaths: Paths to scan.
|
|
210
|
-
:type searchpaths: list[str]
|
|
211
|
-
:param operator: The operator id to use with each file.
|
|
212
|
-
:type operator: str
|
|
213
|
-
:param props_default: Properties to assign to each operator.
|
|
214
|
-
:type props_default: dict
|
|
215
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
216
|
-
:type prop_filepath: str | None
|
|
217
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
218
|
-
|
|
219
|
-
Returning false excludes the file from the list.
|
|
220
|
-
:type filter_ext: collections.abc.Callable | None
|
|
221
|
-
:param filter_path:
|
|
222
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
223
|
-
:type display_name: collections.abc.Callable | None
|
|
224
|
-
:param add_operator:
|
|
225
|
-
:param add_operator_props:
|
|
226
|
-
"""
|
|
227
|
-
...
|
|
228
|
-
|
|
229
|
-
def path_resolve(self):
|
|
230
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
231
|
-
...
|
|
232
|
-
|
|
233
|
-
def pop(self):
|
|
234
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
235
|
-
when not found (matches Python's dictionary function of the same name).
|
|
236
|
-
|
|
237
|
-
"""
|
|
238
|
-
...
|
|
239
|
-
|
|
240
|
-
def prepend(self, draw_func):
|
|
241
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
242
|
-
the menus draw function
|
|
243
|
-
|
|
244
|
-
:param draw_func:
|
|
245
|
-
"""
|
|
246
|
-
...
|
|
247
|
-
|
|
248
|
-
def property_overridable_library_set(self) -> bool:
|
|
249
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
250
|
-
|
|
251
|
-
:return: True when the overridable status of the property was successfully set.
|
|
252
|
-
:rtype: bool
|
|
253
|
-
"""
|
|
254
|
-
...
|
|
255
|
-
|
|
256
|
-
def property_unset(self):
|
|
257
|
-
"""Unset a property, will use default value afterward."""
|
|
258
|
-
...
|
|
259
|
-
|
|
260
|
-
def remove(self, draw_func):
|
|
261
|
-
"""Remove a draw function that has been added to this menu
|
|
262
|
-
|
|
263
|
-
:param draw_func:
|
|
264
|
-
"""
|
|
265
|
-
...
|
|
266
|
-
|
|
267
|
-
def type_recast(self):
|
|
268
|
-
"""Return a new instance, this is needed because types
|
|
269
|
-
such as textures can be changed at runtime.
|
|
270
|
-
|
|
271
|
-
:return: a new instance of this object with the type initialized again.
|
|
272
|
-
"""
|
|
273
|
-
...
|
|
274
|
-
|
|
275
|
-
def values(self):
|
|
276
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
277
|
-
dictionary function of the same name).
|
|
278
|
-
|
|
279
|
-
:return: custom property values.
|
|
280
|
-
"""
|
|
281
|
-
...
|
|
282
|
-
|
|
283
|
-
class ARMATURE_MT_collection_tree_context_menu(bpy_types._GenericUI):
|
|
284
|
-
bl_label: typing.Any
|
|
285
|
-
bl_rna: typing.Any
|
|
286
|
-
id_data: typing.Any
|
|
287
|
-
|
|
288
|
-
def append(self, draw_func):
|
|
289
|
-
"""Append a draw function to this menu,
|
|
290
|
-
takes the same arguments as the menus draw function
|
|
291
|
-
|
|
292
|
-
:param draw_func:
|
|
293
|
-
"""
|
|
294
|
-
...
|
|
295
|
-
|
|
296
|
-
def as_pointer(self) -> int:
|
|
297
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
298
|
-
|
|
299
|
-
:return: int (memory address).
|
|
300
|
-
:rtype: int
|
|
301
|
-
"""
|
|
302
|
-
...
|
|
303
|
-
|
|
304
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
305
|
-
"""
|
|
306
|
-
|
|
307
|
-
:return: The RNA type or default when not found.
|
|
308
|
-
:rtype: bpy.types.Struct
|
|
309
|
-
"""
|
|
310
|
-
...
|
|
311
|
-
|
|
312
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
313
|
-
"""
|
|
314
|
-
|
|
315
|
-
:return: The class or default when not found.
|
|
316
|
-
:rtype: typing.Any
|
|
317
|
-
"""
|
|
318
|
-
...
|
|
319
|
-
|
|
320
|
-
def draw(self, context):
|
|
321
|
-
"""
|
|
322
|
-
|
|
323
|
-
:param context:
|
|
324
|
-
"""
|
|
325
|
-
...
|
|
326
|
-
|
|
327
|
-
def draw_collapsible(self, context, layout):
|
|
328
|
-
"""
|
|
329
|
-
|
|
330
|
-
:param context:
|
|
331
|
-
:param layout:
|
|
332
|
-
"""
|
|
333
|
-
...
|
|
334
|
-
|
|
335
|
-
def draw_preset(self, _context):
|
|
336
|
-
"""Define these on the subclass:
|
|
337
|
-
- preset_operator (string)
|
|
338
|
-
- preset_subdir (string)Optionally:
|
|
339
|
-
- preset_add_operator (string)
|
|
340
|
-
- preset_extensions (set of strings)
|
|
341
|
-
- preset_operator_defaults (dict of keyword args)
|
|
342
|
-
|
|
343
|
-
:param _context:
|
|
344
|
-
"""
|
|
345
|
-
...
|
|
346
|
-
|
|
347
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
348
|
-
"""Adds driver(s) to the given property
|
|
349
|
-
|
|
350
|
-
:return: The driver(s) added.
|
|
351
|
-
:rtype: bpy.types.FCurve
|
|
352
|
-
"""
|
|
353
|
-
...
|
|
354
|
-
|
|
355
|
-
def driver_remove(self) -> bool:
|
|
356
|
-
"""Remove driver(s) from the given property
|
|
357
|
-
|
|
358
|
-
:return: Success of driver removal.
|
|
359
|
-
:rtype: bool
|
|
360
|
-
"""
|
|
361
|
-
...
|
|
362
|
-
|
|
363
|
-
def get(self):
|
|
364
|
-
"""Returns the value of the custom property assigned to key or default
|
|
365
|
-
when not found (matches Python's dictionary function of the same name).
|
|
366
|
-
|
|
367
|
-
"""
|
|
368
|
-
...
|
|
369
|
-
|
|
370
|
-
def id_properties_clear(self):
|
|
371
|
-
"""
|
|
372
|
-
|
|
373
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
374
|
-
"""
|
|
375
|
-
...
|
|
376
|
-
|
|
377
|
-
def id_properties_ensure(self):
|
|
378
|
-
"""
|
|
379
|
-
|
|
380
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
381
|
-
"""
|
|
382
|
-
...
|
|
383
|
-
|
|
384
|
-
def id_properties_ui(self):
|
|
385
|
-
"""
|
|
386
|
-
|
|
387
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
388
|
-
"""
|
|
389
|
-
...
|
|
390
|
-
|
|
391
|
-
def is_extended(self): ...
|
|
392
|
-
def is_property_hidden(self) -> bool:
|
|
393
|
-
"""Check if a property is hidden.
|
|
394
|
-
|
|
395
|
-
:return: True when the property is hidden.
|
|
396
|
-
:rtype: bool
|
|
397
|
-
"""
|
|
398
|
-
...
|
|
399
|
-
|
|
400
|
-
def is_property_overridable_library(self) -> bool:
|
|
401
|
-
"""Check if a property is overridable.
|
|
402
|
-
|
|
403
|
-
:return: True when the property is overridable.
|
|
404
|
-
:rtype: bool
|
|
405
|
-
"""
|
|
406
|
-
...
|
|
407
|
-
|
|
408
|
-
def is_property_readonly(self) -> bool:
|
|
409
|
-
"""Check if a property is readonly.
|
|
410
|
-
|
|
411
|
-
:return: True when the property is readonly (not writable).
|
|
412
|
-
:rtype: bool
|
|
413
|
-
"""
|
|
414
|
-
...
|
|
415
|
-
|
|
416
|
-
def is_property_set(self) -> bool:
|
|
417
|
-
"""Check if a property is set, use for testing operator properties.
|
|
418
|
-
|
|
419
|
-
:return: True when the property has been set.
|
|
420
|
-
:rtype: bool
|
|
421
|
-
"""
|
|
422
|
-
...
|
|
423
|
-
|
|
424
|
-
def items(self):
|
|
425
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
426
|
-
dictionary function of the same name).
|
|
427
|
-
|
|
428
|
-
:return: custom property key, value pairs.
|
|
429
|
-
"""
|
|
430
|
-
...
|
|
431
|
-
|
|
432
|
-
def keyframe_delete(self) -> bool:
|
|
433
|
-
"""Remove a keyframe from this properties fcurve.
|
|
434
|
-
|
|
435
|
-
:return: Success of keyframe deletion.
|
|
436
|
-
:rtype: bool
|
|
437
|
-
"""
|
|
438
|
-
...
|
|
439
|
-
|
|
440
|
-
def keyframe_insert(self) -> bool:
|
|
441
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
442
|
-
|
|
443
|
-
:return: Success of keyframe insertion.
|
|
444
|
-
:rtype: bool
|
|
445
|
-
"""
|
|
446
|
-
...
|
|
447
|
-
|
|
448
|
-
def keys(self):
|
|
449
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
450
|
-
dictionary function of the same name).
|
|
451
|
-
|
|
452
|
-
:return: custom property keys.
|
|
453
|
-
"""
|
|
454
|
-
...
|
|
455
|
-
|
|
456
|
-
def path_from_id(self) -> str:
|
|
457
|
-
"""Returns the data path from the ID to this object (string).
|
|
458
|
-
|
|
459
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
460
|
-
to this struct and property (when given).
|
|
461
|
-
:rtype: str
|
|
462
|
-
"""
|
|
463
|
-
...
|
|
464
|
-
|
|
465
|
-
def path_menu(
|
|
466
|
-
self,
|
|
467
|
-
searchpaths: list[str],
|
|
468
|
-
operator: str,
|
|
469
|
-
*,
|
|
470
|
-
props_default: dict = None,
|
|
471
|
-
prop_filepath: str | None = "filepath",
|
|
472
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
473
|
-
filter_path=None,
|
|
474
|
-
display_name: collections.abc.Callable | None = None,
|
|
475
|
-
add_operator=None,
|
|
476
|
-
add_operator_props=None,
|
|
477
|
-
):
|
|
478
|
-
"""Populate a menu from a list of paths.
|
|
479
|
-
|
|
480
|
-
:param searchpaths: Paths to scan.
|
|
481
|
-
:type searchpaths: list[str]
|
|
482
|
-
:param operator: The operator id to use with each file.
|
|
483
|
-
:type operator: str
|
|
484
|
-
:param props_default: Properties to assign to each operator.
|
|
485
|
-
:type props_default: dict
|
|
486
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
487
|
-
:type prop_filepath: str | None
|
|
488
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
489
|
-
|
|
490
|
-
Returning false excludes the file from the list.
|
|
491
|
-
:type filter_ext: collections.abc.Callable | None
|
|
492
|
-
:param filter_path:
|
|
493
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
494
|
-
:type display_name: collections.abc.Callable | None
|
|
495
|
-
:param add_operator:
|
|
496
|
-
:param add_operator_props:
|
|
497
|
-
"""
|
|
498
|
-
...
|
|
499
|
-
|
|
500
|
-
def path_resolve(self):
|
|
501
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
502
|
-
...
|
|
503
|
-
|
|
504
|
-
def pop(self):
|
|
505
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
506
|
-
when not found (matches Python's dictionary function of the same name).
|
|
507
|
-
|
|
508
|
-
"""
|
|
509
|
-
...
|
|
510
|
-
|
|
511
|
-
def prepend(self, draw_func):
|
|
512
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
513
|
-
the menus draw function
|
|
514
|
-
|
|
515
|
-
:param draw_func:
|
|
516
|
-
"""
|
|
517
|
-
...
|
|
518
|
-
|
|
519
|
-
def property_overridable_library_set(self) -> bool:
|
|
520
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
521
|
-
|
|
522
|
-
:return: True when the overridable status of the property was successfully set.
|
|
523
|
-
:rtype: bool
|
|
524
|
-
"""
|
|
525
|
-
...
|
|
526
|
-
|
|
527
|
-
def property_unset(self):
|
|
528
|
-
"""Unset a property, will use default value afterward."""
|
|
529
|
-
...
|
|
530
|
-
|
|
531
|
-
def remove(self, draw_func):
|
|
532
|
-
"""Remove a draw function that has been added to this menu
|
|
533
|
-
|
|
534
|
-
:param draw_func:
|
|
535
|
-
"""
|
|
536
|
-
...
|
|
537
|
-
|
|
538
|
-
def type_recast(self):
|
|
539
|
-
"""Return a new instance, this is needed because types
|
|
540
|
-
such as textures can be changed at runtime.
|
|
541
|
-
|
|
542
|
-
:return: a new instance of this object with the type initialized again.
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
545
|
-
|
|
546
|
-
def values(self):
|
|
547
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
548
|
-
dictionary function of the same name).
|
|
549
|
-
|
|
550
|
-
:return: custom property values.
|
|
551
|
-
"""
|
|
552
|
-
...
|
|
553
|
-
|
|
554
|
-
class ArmatureButtonsPanel:
|
|
555
|
-
bl_context: typing.Any
|
|
556
|
-
bl_region_type: typing.Any
|
|
557
|
-
bl_space_type: typing.Any
|
|
558
|
-
|
|
559
|
-
@classmethod
|
|
560
|
-
def poll(cls, context):
|
|
561
|
-
"""
|
|
562
|
-
|
|
563
|
-
:param context:
|
|
564
|
-
"""
|
|
565
|
-
...
|
|
566
|
-
|
|
567
|
-
class DATA_PT_bone_collections(ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
568
|
-
bl_context: typing.Any
|
|
569
|
-
bl_label: typing.Any
|
|
570
|
-
bl_region_type: typing.Any
|
|
571
|
-
bl_rna: typing.Any
|
|
572
|
-
bl_space_type: typing.Any
|
|
573
|
-
id_data: typing.Any
|
|
574
|
-
|
|
575
|
-
def append(self, draw_func):
|
|
576
|
-
"""Append a draw function to this menu,
|
|
577
|
-
takes the same arguments as the menus draw function
|
|
578
|
-
|
|
579
|
-
:param draw_func:
|
|
580
|
-
"""
|
|
581
|
-
...
|
|
582
|
-
|
|
583
|
-
def as_pointer(self) -> int:
|
|
584
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
585
|
-
|
|
586
|
-
:return: int (memory address).
|
|
587
|
-
:rtype: int
|
|
588
|
-
"""
|
|
589
|
-
...
|
|
590
|
-
|
|
591
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
592
|
-
"""
|
|
593
|
-
|
|
594
|
-
:return: The RNA type or default when not found.
|
|
595
|
-
:rtype: bpy.types.Struct
|
|
596
|
-
"""
|
|
597
|
-
...
|
|
598
|
-
|
|
599
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
600
|
-
"""
|
|
601
|
-
|
|
602
|
-
:return: The class or default when not found.
|
|
603
|
-
:rtype: typing.Any
|
|
604
|
-
"""
|
|
605
|
-
...
|
|
606
|
-
|
|
607
|
-
def draw(self, context):
|
|
608
|
-
"""
|
|
609
|
-
|
|
610
|
-
:param context:
|
|
611
|
-
"""
|
|
612
|
-
...
|
|
613
|
-
|
|
614
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
615
|
-
"""Adds driver(s) to the given property
|
|
616
|
-
|
|
617
|
-
:return: The driver(s) added.
|
|
618
|
-
:rtype: bpy.types.FCurve
|
|
619
|
-
"""
|
|
620
|
-
...
|
|
621
|
-
|
|
622
|
-
def driver_remove(self) -> bool:
|
|
623
|
-
"""Remove driver(s) from the given property
|
|
624
|
-
|
|
625
|
-
:return: Success of driver removal.
|
|
626
|
-
:rtype: bool
|
|
627
|
-
"""
|
|
628
|
-
...
|
|
629
|
-
|
|
630
|
-
def get(self):
|
|
631
|
-
"""Returns the value of the custom property assigned to key or default
|
|
632
|
-
when not found (matches Python's dictionary function of the same name).
|
|
633
|
-
|
|
634
|
-
"""
|
|
635
|
-
...
|
|
636
|
-
|
|
637
|
-
def id_properties_clear(self):
|
|
638
|
-
"""
|
|
639
|
-
|
|
640
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
641
|
-
"""
|
|
642
|
-
...
|
|
643
|
-
|
|
644
|
-
def id_properties_ensure(self):
|
|
645
|
-
"""
|
|
646
|
-
|
|
647
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
648
|
-
"""
|
|
649
|
-
...
|
|
650
|
-
|
|
651
|
-
def id_properties_ui(self):
|
|
652
|
-
"""
|
|
653
|
-
|
|
654
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
655
|
-
"""
|
|
656
|
-
...
|
|
657
|
-
|
|
658
|
-
def is_extended(self): ...
|
|
659
|
-
def is_property_hidden(self) -> bool:
|
|
660
|
-
"""Check if a property is hidden.
|
|
661
|
-
|
|
662
|
-
:return: True when the property is hidden.
|
|
663
|
-
:rtype: bool
|
|
664
|
-
"""
|
|
665
|
-
...
|
|
666
|
-
|
|
667
|
-
def is_property_overridable_library(self) -> bool:
|
|
668
|
-
"""Check if a property is overridable.
|
|
669
|
-
|
|
670
|
-
:return: True when the property is overridable.
|
|
671
|
-
:rtype: bool
|
|
672
|
-
"""
|
|
673
|
-
...
|
|
674
|
-
|
|
675
|
-
def is_property_readonly(self) -> bool:
|
|
676
|
-
"""Check if a property is readonly.
|
|
677
|
-
|
|
678
|
-
:return: True when the property is readonly (not writable).
|
|
679
|
-
:rtype: bool
|
|
680
|
-
"""
|
|
681
|
-
...
|
|
682
|
-
|
|
683
|
-
def is_property_set(self) -> bool:
|
|
684
|
-
"""Check if a property is set, use for testing operator properties.
|
|
685
|
-
|
|
686
|
-
:return: True when the property has been set.
|
|
687
|
-
:rtype: bool
|
|
688
|
-
"""
|
|
689
|
-
...
|
|
690
|
-
|
|
691
|
-
def items(self):
|
|
692
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
693
|
-
dictionary function of the same name).
|
|
694
|
-
|
|
695
|
-
:return: custom property key, value pairs.
|
|
696
|
-
"""
|
|
697
|
-
...
|
|
698
|
-
|
|
699
|
-
def keyframe_delete(self) -> bool:
|
|
700
|
-
"""Remove a keyframe from this properties fcurve.
|
|
701
|
-
|
|
702
|
-
:return: Success of keyframe deletion.
|
|
703
|
-
:rtype: bool
|
|
704
|
-
"""
|
|
705
|
-
...
|
|
706
|
-
|
|
707
|
-
def keyframe_insert(self) -> bool:
|
|
708
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
709
|
-
|
|
710
|
-
:return: Success of keyframe insertion.
|
|
711
|
-
:rtype: bool
|
|
712
|
-
"""
|
|
713
|
-
...
|
|
714
|
-
|
|
715
|
-
def keys(self):
|
|
716
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
717
|
-
dictionary function of the same name).
|
|
718
|
-
|
|
719
|
-
:return: custom property keys.
|
|
720
|
-
"""
|
|
721
|
-
...
|
|
722
|
-
|
|
723
|
-
def path_from_id(self) -> str:
|
|
724
|
-
"""Returns the data path from the ID to this object (string).
|
|
725
|
-
|
|
726
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
727
|
-
to this struct and property (when given).
|
|
728
|
-
:rtype: str
|
|
729
|
-
"""
|
|
730
|
-
...
|
|
731
|
-
|
|
732
|
-
def path_resolve(self):
|
|
733
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
734
|
-
...
|
|
735
|
-
|
|
736
|
-
def poll(self, context):
|
|
737
|
-
"""
|
|
738
|
-
|
|
739
|
-
:param context:
|
|
740
|
-
"""
|
|
741
|
-
...
|
|
742
|
-
|
|
743
|
-
def pop(self):
|
|
744
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
745
|
-
when not found (matches Python's dictionary function of the same name).
|
|
746
|
-
|
|
747
|
-
"""
|
|
748
|
-
...
|
|
749
|
-
|
|
750
|
-
def prepend(self, draw_func):
|
|
751
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
752
|
-
the menus draw function
|
|
753
|
-
|
|
754
|
-
:param draw_func:
|
|
755
|
-
"""
|
|
756
|
-
...
|
|
757
|
-
|
|
758
|
-
def property_overridable_library_set(self) -> bool:
|
|
759
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
760
|
-
|
|
761
|
-
:return: True when the overridable status of the property was successfully set.
|
|
762
|
-
:rtype: bool
|
|
763
|
-
"""
|
|
764
|
-
...
|
|
765
|
-
|
|
766
|
-
def property_unset(self):
|
|
767
|
-
"""Unset a property, will use default value afterward."""
|
|
768
|
-
...
|
|
769
|
-
|
|
770
|
-
def remove(self, draw_func):
|
|
771
|
-
"""Remove a draw function that has been added to this menu
|
|
772
|
-
|
|
773
|
-
:param draw_func:
|
|
774
|
-
"""
|
|
775
|
-
...
|
|
776
|
-
|
|
777
|
-
def type_recast(self):
|
|
778
|
-
"""Return a new instance, this is needed because types
|
|
779
|
-
such as textures can be changed at runtime.
|
|
780
|
-
|
|
781
|
-
:return: a new instance of this object with the type initialized again.
|
|
782
|
-
"""
|
|
783
|
-
...
|
|
784
|
-
|
|
785
|
-
def values(self):
|
|
786
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
787
|
-
dictionary function of the same name).
|
|
788
|
-
|
|
789
|
-
:return: custom property values.
|
|
790
|
-
"""
|
|
791
|
-
...
|
|
792
|
-
|
|
793
|
-
class DATA_PT_context_arm(ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
794
|
-
bl_context: typing.Any
|
|
795
|
-
bl_label: typing.Any
|
|
796
|
-
bl_options: typing.Any
|
|
797
|
-
bl_region_type: typing.Any
|
|
798
|
-
bl_rna: typing.Any
|
|
799
|
-
bl_space_type: typing.Any
|
|
800
|
-
id_data: typing.Any
|
|
801
|
-
|
|
802
|
-
def append(self, draw_func):
|
|
803
|
-
"""Append a draw function to this menu,
|
|
804
|
-
takes the same arguments as the menus draw function
|
|
805
|
-
|
|
806
|
-
:param draw_func:
|
|
807
|
-
"""
|
|
808
|
-
...
|
|
809
|
-
|
|
810
|
-
def as_pointer(self) -> int:
|
|
811
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
812
|
-
|
|
813
|
-
:return: int (memory address).
|
|
814
|
-
:rtype: int
|
|
815
|
-
"""
|
|
816
|
-
...
|
|
817
|
-
|
|
818
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
819
|
-
"""
|
|
820
|
-
|
|
821
|
-
:return: The RNA type or default when not found.
|
|
822
|
-
:rtype: bpy.types.Struct
|
|
823
|
-
"""
|
|
824
|
-
...
|
|
825
|
-
|
|
826
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
827
|
-
"""
|
|
828
|
-
|
|
829
|
-
:return: The class or default when not found.
|
|
830
|
-
:rtype: typing.Any
|
|
831
|
-
"""
|
|
832
|
-
...
|
|
833
|
-
|
|
834
|
-
def draw(self, context):
|
|
835
|
-
"""
|
|
836
|
-
|
|
837
|
-
:param context:
|
|
838
|
-
"""
|
|
839
|
-
...
|
|
840
|
-
|
|
841
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
842
|
-
"""Adds driver(s) to the given property
|
|
843
|
-
|
|
844
|
-
:return: The driver(s) added.
|
|
845
|
-
:rtype: bpy.types.FCurve
|
|
846
|
-
"""
|
|
847
|
-
...
|
|
848
|
-
|
|
849
|
-
def driver_remove(self) -> bool:
|
|
850
|
-
"""Remove driver(s) from the given property
|
|
851
|
-
|
|
852
|
-
:return: Success of driver removal.
|
|
853
|
-
:rtype: bool
|
|
854
|
-
"""
|
|
855
|
-
...
|
|
856
|
-
|
|
857
|
-
def get(self):
|
|
858
|
-
"""Returns 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 id_properties_clear(self):
|
|
865
|
-
"""
|
|
866
|
-
|
|
867
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
868
|
-
"""
|
|
869
|
-
...
|
|
870
|
-
|
|
871
|
-
def id_properties_ensure(self):
|
|
872
|
-
"""
|
|
873
|
-
|
|
874
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
875
|
-
"""
|
|
876
|
-
...
|
|
877
|
-
|
|
878
|
-
def id_properties_ui(self):
|
|
879
|
-
"""
|
|
880
|
-
|
|
881
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
882
|
-
"""
|
|
883
|
-
...
|
|
884
|
-
|
|
885
|
-
def is_extended(self): ...
|
|
886
|
-
def is_property_hidden(self) -> bool:
|
|
887
|
-
"""Check if a property is hidden.
|
|
888
|
-
|
|
889
|
-
:return: True when the property is hidden.
|
|
890
|
-
:rtype: bool
|
|
891
|
-
"""
|
|
892
|
-
...
|
|
893
|
-
|
|
894
|
-
def is_property_overridable_library(self) -> bool:
|
|
895
|
-
"""Check if a property is overridable.
|
|
896
|
-
|
|
897
|
-
:return: True when the property is overridable.
|
|
898
|
-
:rtype: bool
|
|
899
|
-
"""
|
|
900
|
-
...
|
|
901
|
-
|
|
902
|
-
def is_property_readonly(self) -> bool:
|
|
903
|
-
"""Check if a property is readonly.
|
|
904
|
-
|
|
905
|
-
:return: True when the property is readonly (not writable).
|
|
906
|
-
:rtype: bool
|
|
907
|
-
"""
|
|
908
|
-
...
|
|
909
|
-
|
|
910
|
-
def is_property_set(self) -> bool:
|
|
911
|
-
"""Check if a property is set, use for testing operator properties.
|
|
912
|
-
|
|
913
|
-
:return: True when the property has been set.
|
|
914
|
-
:rtype: bool
|
|
915
|
-
"""
|
|
916
|
-
...
|
|
917
|
-
|
|
918
|
-
def items(self):
|
|
919
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
920
|
-
dictionary function of the same name).
|
|
921
|
-
|
|
922
|
-
:return: custom property key, value pairs.
|
|
923
|
-
"""
|
|
924
|
-
...
|
|
925
|
-
|
|
926
|
-
def keyframe_delete(self) -> bool:
|
|
927
|
-
"""Remove a keyframe from this properties fcurve.
|
|
928
|
-
|
|
929
|
-
:return: Success of keyframe deletion.
|
|
930
|
-
:rtype: bool
|
|
931
|
-
"""
|
|
932
|
-
...
|
|
933
|
-
|
|
934
|
-
def keyframe_insert(self) -> bool:
|
|
935
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
936
|
-
|
|
937
|
-
:return: Success of keyframe insertion.
|
|
938
|
-
:rtype: bool
|
|
939
|
-
"""
|
|
940
|
-
...
|
|
941
|
-
|
|
942
|
-
def keys(self):
|
|
943
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
944
|
-
dictionary function of the same name).
|
|
945
|
-
|
|
946
|
-
:return: custom property keys.
|
|
947
|
-
"""
|
|
948
|
-
...
|
|
949
|
-
|
|
950
|
-
def path_from_id(self) -> str:
|
|
951
|
-
"""Returns the data path from the ID to this object (string).
|
|
952
|
-
|
|
953
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
954
|
-
to this struct and property (when given).
|
|
955
|
-
:rtype: str
|
|
956
|
-
"""
|
|
957
|
-
...
|
|
958
|
-
|
|
959
|
-
def path_resolve(self):
|
|
960
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
961
|
-
...
|
|
962
|
-
|
|
963
|
-
def poll(self, context):
|
|
964
|
-
"""
|
|
965
|
-
|
|
966
|
-
:param context:
|
|
967
|
-
"""
|
|
968
|
-
...
|
|
969
|
-
|
|
970
|
-
def pop(self):
|
|
971
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
972
|
-
when not found (matches Python's dictionary function of the same name).
|
|
973
|
-
|
|
974
|
-
"""
|
|
975
|
-
...
|
|
976
|
-
|
|
977
|
-
def prepend(self, draw_func):
|
|
978
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
979
|
-
the menus draw function
|
|
980
|
-
|
|
981
|
-
:param draw_func:
|
|
982
|
-
"""
|
|
983
|
-
...
|
|
984
|
-
|
|
985
|
-
def property_overridable_library_set(self) -> bool:
|
|
986
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
987
|
-
|
|
988
|
-
:return: True when the overridable status of the property was successfully set.
|
|
989
|
-
:rtype: bool
|
|
990
|
-
"""
|
|
991
|
-
...
|
|
992
|
-
|
|
993
|
-
def property_unset(self):
|
|
994
|
-
"""Unset a property, will use default value afterward."""
|
|
995
|
-
...
|
|
996
|
-
|
|
997
|
-
def remove(self, draw_func):
|
|
998
|
-
"""Remove a draw function that has been added to this menu
|
|
999
|
-
|
|
1000
|
-
:param draw_func:
|
|
1001
|
-
"""
|
|
1002
|
-
...
|
|
1003
|
-
|
|
1004
|
-
def type_recast(self):
|
|
1005
|
-
"""Return a new instance, this is needed because types
|
|
1006
|
-
such as textures can be changed at runtime.
|
|
1007
|
-
|
|
1008
|
-
:return: a new instance of this object with the type initialized again.
|
|
1009
|
-
"""
|
|
1010
|
-
...
|
|
1011
|
-
|
|
1012
|
-
def values(self):
|
|
1013
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1014
|
-
dictionary function of the same name).
|
|
1015
|
-
|
|
1016
|
-
:return: custom property values.
|
|
1017
|
-
"""
|
|
1018
|
-
...
|
|
1019
|
-
|
|
1020
|
-
class DATA_PT_custom_props_arm(
|
|
1021
|
-
ArmatureButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
1022
|
-
):
|
|
1023
|
-
"""The subclass should have its own poll function
|
|
1024
|
-
and the variable '_context_path' MUST be set.
|
|
1025
|
-
"""
|
|
1026
|
-
|
|
1027
|
-
COMPAT_ENGINES: typing.Any
|
|
1028
|
-
bl_context: typing.Any
|
|
1029
|
-
bl_label: typing.Any
|
|
1030
|
-
bl_options: typing.Any
|
|
1031
|
-
bl_order: typing.Any
|
|
1032
|
-
bl_region_type: typing.Any
|
|
1033
|
-
bl_rna: typing.Any
|
|
1034
|
-
bl_space_type: typing.Any
|
|
1035
|
-
id_data: typing.Any
|
|
1036
|
-
|
|
1037
|
-
def append(self, draw_func):
|
|
1038
|
-
"""Append a draw function to this menu,
|
|
1039
|
-
takes the same arguments as the menus draw function
|
|
1040
|
-
|
|
1041
|
-
:param draw_func:
|
|
1042
|
-
"""
|
|
1043
|
-
...
|
|
1044
|
-
|
|
1045
|
-
def as_pointer(self) -> int:
|
|
1046
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1047
|
-
|
|
1048
|
-
:return: int (memory address).
|
|
1049
|
-
:rtype: int
|
|
1050
|
-
"""
|
|
1051
|
-
...
|
|
1052
|
-
|
|
1053
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1054
|
-
"""
|
|
1055
|
-
|
|
1056
|
-
:return: The RNA type or default when not found.
|
|
1057
|
-
:rtype: bpy.types.Struct
|
|
1058
|
-
"""
|
|
1059
|
-
...
|
|
1060
|
-
|
|
1061
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1062
|
-
"""
|
|
1063
|
-
|
|
1064
|
-
:return: The class or default when not found.
|
|
1065
|
-
:rtype: typing.Any
|
|
1066
|
-
"""
|
|
1067
|
-
...
|
|
1068
|
-
|
|
1069
|
-
def draw(self, context):
|
|
1070
|
-
"""
|
|
1071
|
-
|
|
1072
|
-
:param context:
|
|
1073
|
-
"""
|
|
1074
|
-
...
|
|
1075
|
-
|
|
1076
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1077
|
-
"""Adds driver(s) to the given property
|
|
1078
|
-
|
|
1079
|
-
:return: The driver(s) added.
|
|
1080
|
-
:rtype: bpy.types.FCurve
|
|
1081
|
-
"""
|
|
1082
|
-
...
|
|
1083
|
-
|
|
1084
|
-
def driver_remove(self) -> bool:
|
|
1085
|
-
"""Remove driver(s) from the given property
|
|
1086
|
-
|
|
1087
|
-
:return: Success of driver removal.
|
|
1088
|
-
:rtype: bool
|
|
1089
|
-
"""
|
|
1090
|
-
...
|
|
1091
|
-
|
|
1092
|
-
def get(self):
|
|
1093
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1094
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1095
|
-
|
|
1096
|
-
"""
|
|
1097
|
-
...
|
|
1098
|
-
|
|
1099
|
-
def id_properties_clear(self):
|
|
1100
|
-
"""
|
|
1101
|
-
|
|
1102
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1103
|
-
"""
|
|
1104
|
-
...
|
|
1105
|
-
|
|
1106
|
-
def id_properties_ensure(self):
|
|
1107
|
-
"""
|
|
1108
|
-
|
|
1109
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1110
|
-
"""
|
|
1111
|
-
...
|
|
1112
|
-
|
|
1113
|
-
def id_properties_ui(self):
|
|
1114
|
-
"""
|
|
1115
|
-
|
|
1116
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1117
|
-
"""
|
|
1118
|
-
...
|
|
1119
|
-
|
|
1120
|
-
def is_extended(self): ...
|
|
1121
|
-
def is_property_hidden(self) -> bool:
|
|
1122
|
-
"""Check if a property is hidden.
|
|
1123
|
-
|
|
1124
|
-
:return: True when the property is hidden.
|
|
1125
|
-
:rtype: bool
|
|
1126
|
-
"""
|
|
1127
|
-
...
|
|
1128
|
-
|
|
1129
|
-
def is_property_overridable_library(self) -> bool:
|
|
1130
|
-
"""Check if a property is overridable.
|
|
1131
|
-
|
|
1132
|
-
:return: True when the property is overridable.
|
|
1133
|
-
:rtype: bool
|
|
1134
|
-
"""
|
|
1135
|
-
...
|
|
1136
|
-
|
|
1137
|
-
def is_property_readonly(self) -> bool:
|
|
1138
|
-
"""Check if a property is readonly.
|
|
1139
|
-
|
|
1140
|
-
:return: True when the property is readonly (not writable).
|
|
1141
|
-
:rtype: bool
|
|
1142
|
-
"""
|
|
1143
|
-
...
|
|
1144
|
-
|
|
1145
|
-
def is_property_set(self) -> bool:
|
|
1146
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1147
|
-
|
|
1148
|
-
:return: True when the property has been set.
|
|
1149
|
-
:rtype: bool
|
|
1150
|
-
"""
|
|
1151
|
-
...
|
|
1152
|
-
|
|
1153
|
-
def items(self):
|
|
1154
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1155
|
-
dictionary function of the same name).
|
|
1156
|
-
|
|
1157
|
-
:return: custom property key, value pairs.
|
|
1158
|
-
"""
|
|
1159
|
-
...
|
|
1160
|
-
|
|
1161
|
-
def keyframe_delete(self) -> bool:
|
|
1162
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1163
|
-
|
|
1164
|
-
:return: Success of keyframe deletion.
|
|
1165
|
-
:rtype: bool
|
|
1166
|
-
"""
|
|
1167
|
-
...
|
|
1168
|
-
|
|
1169
|
-
def keyframe_insert(self) -> bool:
|
|
1170
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1171
|
-
|
|
1172
|
-
:return: Success of keyframe insertion.
|
|
1173
|
-
:rtype: bool
|
|
1174
|
-
"""
|
|
1175
|
-
...
|
|
1176
|
-
|
|
1177
|
-
def keys(self):
|
|
1178
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1179
|
-
dictionary function of the same name).
|
|
1180
|
-
|
|
1181
|
-
:return: custom property keys.
|
|
1182
|
-
"""
|
|
1183
|
-
...
|
|
1184
|
-
|
|
1185
|
-
def path_from_id(self) -> str:
|
|
1186
|
-
"""Returns the data path from the ID to this object (string).
|
|
1187
|
-
|
|
1188
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1189
|
-
to this struct and property (when given).
|
|
1190
|
-
:rtype: str
|
|
1191
|
-
"""
|
|
1192
|
-
...
|
|
1193
|
-
|
|
1194
|
-
def path_resolve(self):
|
|
1195
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1196
|
-
...
|
|
1197
|
-
|
|
1198
|
-
def poll(self, context):
|
|
1199
|
-
"""
|
|
1200
|
-
|
|
1201
|
-
:param context:
|
|
1202
|
-
"""
|
|
1203
|
-
...
|
|
1204
|
-
|
|
1205
|
-
def pop(self):
|
|
1206
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1207
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1208
|
-
|
|
1209
|
-
"""
|
|
1210
|
-
...
|
|
1211
|
-
|
|
1212
|
-
def prepend(self, draw_func):
|
|
1213
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1214
|
-
the menus draw function
|
|
1215
|
-
|
|
1216
|
-
:param draw_func:
|
|
1217
|
-
"""
|
|
1218
|
-
...
|
|
1219
|
-
|
|
1220
|
-
def property_overridable_library_set(self) -> bool:
|
|
1221
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1222
|
-
|
|
1223
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1224
|
-
:rtype: bool
|
|
1225
|
-
"""
|
|
1226
|
-
...
|
|
1227
|
-
|
|
1228
|
-
def property_unset(self):
|
|
1229
|
-
"""Unset a property, will use default value afterward."""
|
|
1230
|
-
...
|
|
1231
|
-
|
|
1232
|
-
def remove(self, draw_func):
|
|
1233
|
-
"""Remove a draw function that has been added to this menu
|
|
1234
|
-
|
|
1235
|
-
:param draw_func:
|
|
1236
|
-
"""
|
|
1237
|
-
...
|
|
1238
|
-
|
|
1239
|
-
def type_recast(self):
|
|
1240
|
-
"""Return a new instance, this is needed because types
|
|
1241
|
-
such as textures can be changed at runtime.
|
|
1242
|
-
|
|
1243
|
-
:return: a new instance of this object with the type initialized again.
|
|
1244
|
-
"""
|
|
1245
|
-
...
|
|
1246
|
-
|
|
1247
|
-
def values(self):
|
|
1248
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1249
|
-
dictionary function of the same name).
|
|
1250
|
-
|
|
1251
|
-
:return: custom property values.
|
|
1252
|
-
"""
|
|
1253
|
-
...
|
|
1254
|
-
|
|
1255
|
-
class DATA_PT_custom_props_bcoll(
|
|
1256
|
-
ArmatureButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
1257
|
-
):
|
|
1258
|
-
"""The subclass should have its own poll function
|
|
1259
|
-
and the variable '_context_path' MUST be set.
|
|
1260
|
-
"""
|
|
1261
|
-
|
|
1262
|
-
COMPAT_ENGINES: typing.Any
|
|
1263
|
-
bl_context: typing.Any
|
|
1264
|
-
bl_label: typing.Any
|
|
1265
|
-
bl_options: typing.Any
|
|
1266
|
-
bl_order: typing.Any
|
|
1267
|
-
bl_parent_id: typing.Any
|
|
1268
|
-
bl_region_type: typing.Any
|
|
1269
|
-
bl_rna: typing.Any
|
|
1270
|
-
bl_space_type: typing.Any
|
|
1271
|
-
id_data: typing.Any
|
|
1272
|
-
|
|
1273
|
-
def append(self, draw_func):
|
|
1274
|
-
"""Append a draw function to this menu,
|
|
1275
|
-
takes the same arguments as the menus draw function
|
|
1276
|
-
|
|
1277
|
-
:param draw_func:
|
|
1278
|
-
"""
|
|
1279
|
-
...
|
|
1280
|
-
|
|
1281
|
-
def as_pointer(self) -> int:
|
|
1282
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1283
|
-
|
|
1284
|
-
:return: int (memory address).
|
|
1285
|
-
:rtype: int
|
|
1286
|
-
"""
|
|
1287
|
-
...
|
|
1288
|
-
|
|
1289
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1290
|
-
"""
|
|
1291
|
-
|
|
1292
|
-
:return: The RNA type or default when not found.
|
|
1293
|
-
:rtype: bpy.types.Struct
|
|
1294
|
-
"""
|
|
1295
|
-
...
|
|
1296
|
-
|
|
1297
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1298
|
-
"""
|
|
1299
|
-
|
|
1300
|
-
:return: The class or default when not found.
|
|
1301
|
-
:rtype: typing.Any
|
|
1302
|
-
"""
|
|
1303
|
-
...
|
|
1304
|
-
|
|
1305
|
-
def draw(self, context):
|
|
1306
|
-
"""
|
|
1307
|
-
|
|
1308
|
-
:param context:
|
|
1309
|
-
"""
|
|
1310
|
-
...
|
|
1311
|
-
|
|
1312
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1313
|
-
"""Adds driver(s) to the given property
|
|
1314
|
-
|
|
1315
|
-
:return: The driver(s) added.
|
|
1316
|
-
:rtype: bpy.types.FCurve
|
|
1317
|
-
"""
|
|
1318
|
-
...
|
|
1319
|
-
|
|
1320
|
-
def driver_remove(self) -> bool:
|
|
1321
|
-
"""Remove driver(s) from the given property
|
|
1322
|
-
|
|
1323
|
-
:return: Success of driver removal.
|
|
1324
|
-
:rtype: bool
|
|
1325
|
-
"""
|
|
1326
|
-
...
|
|
1327
|
-
|
|
1328
|
-
def get(self):
|
|
1329
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1330
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1331
|
-
|
|
1332
|
-
"""
|
|
1333
|
-
...
|
|
1334
|
-
|
|
1335
|
-
def id_properties_clear(self):
|
|
1336
|
-
"""
|
|
1337
|
-
|
|
1338
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1339
|
-
"""
|
|
1340
|
-
...
|
|
1341
|
-
|
|
1342
|
-
def id_properties_ensure(self):
|
|
1343
|
-
"""
|
|
1344
|
-
|
|
1345
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1346
|
-
"""
|
|
1347
|
-
...
|
|
1348
|
-
|
|
1349
|
-
def id_properties_ui(self):
|
|
1350
|
-
"""
|
|
1351
|
-
|
|
1352
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1353
|
-
"""
|
|
1354
|
-
...
|
|
1355
|
-
|
|
1356
|
-
def is_extended(self): ...
|
|
1357
|
-
def is_property_hidden(self) -> bool:
|
|
1358
|
-
"""Check if a property is hidden.
|
|
1359
|
-
|
|
1360
|
-
:return: True when the property is hidden.
|
|
1361
|
-
:rtype: bool
|
|
1362
|
-
"""
|
|
1363
|
-
...
|
|
1364
|
-
|
|
1365
|
-
def is_property_overridable_library(self) -> bool:
|
|
1366
|
-
"""Check if a property is overridable.
|
|
1367
|
-
|
|
1368
|
-
:return: True when the property is overridable.
|
|
1369
|
-
:rtype: bool
|
|
1370
|
-
"""
|
|
1371
|
-
...
|
|
1372
|
-
|
|
1373
|
-
def is_property_readonly(self) -> bool:
|
|
1374
|
-
"""Check if a property is readonly.
|
|
1375
|
-
|
|
1376
|
-
:return: True when the property is readonly (not writable).
|
|
1377
|
-
:rtype: bool
|
|
1378
|
-
"""
|
|
1379
|
-
...
|
|
1380
|
-
|
|
1381
|
-
def is_property_set(self) -> bool:
|
|
1382
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1383
|
-
|
|
1384
|
-
:return: True when the property has been set.
|
|
1385
|
-
:rtype: bool
|
|
1386
|
-
"""
|
|
1387
|
-
...
|
|
1388
|
-
|
|
1389
|
-
def items(self):
|
|
1390
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1391
|
-
dictionary function of the same name).
|
|
1392
|
-
|
|
1393
|
-
:return: custom property key, value pairs.
|
|
1394
|
-
"""
|
|
1395
|
-
...
|
|
1396
|
-
|
|
1397
|
-
def keyframe_delete(self) -> bool:
|
|
1398
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1399
|
-
|
|
1400
|
-
:return: Success of keyframe deletion.
|
|
1401
|
-
:rtype: bool
|
|
1402
|
-
"""
|
|
1403
|
-
...
|
|
1404
|
-
|
|
1405
|
-
def keyframe_insert(self) -> bool:
|
|
1406
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1407
|
-
|
|
1408
|
-
:return: Success of keyframe insertion.
|
|
1409
|
-
:rtype: bool
|
|
1410
|
-
"""
|
|
1411
|
-
...
|
|
1412
|
-
|
|
1413
|
-
def keys(self):
|
|
1414
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1415
|
-
dictionary function of the same name).
|
|
1416
|
-
|
|
1417
|
-
:return: custom property keys.
|
|
1418
|
-
"""
|
|
1419
|
-
...
|
|
1420
|
-
|
|
1421
|
-
def path_from_id(self) -> str:
|
|
1422
|
-
"""Returns the data path from the ID to this object (string).
|
|
1423
|
-
|
|
1424
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1425
|
-
to this struct and property (when given).
|
|
1426
|
-
:rtype: str
|
|
1427
|
-
"""
|
|
1428
|
-
...
|
|
1429
|
-
|
|
1430
|
-
def path_resolve(self):
|
|
1431
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1432
|
-
...
|
|
1433
|
-
|
|
1434
|
-
@classmethod
|
|
1435
|
-
def poll(cls, context):
|
|
1436
|
-
"""
|
|
1437
|
-
|
|
1438
|
-
:param context:
|
|
1439
|
-
"""
|
|
1440
|
-
...
|
|
1441
|
-
|
|
1442
|
-
def pop(self):
|
|
1443
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1444
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1445
|
-
|
|
1446
|
-
"""
|
|
1447
|
-
...
|
|
1448
|
-
|
|
1449
|
-
def prepend(self, draw_func):
|
|
1450
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1451
|
-
the menus draw function
|
|
1452
|
-
|
|
1453
|
-
:param draw_func:
|
|
1454
|
-
"""
|
|
1455
|
-
...
|
|
1456
|
-
|
|
1457
|
-
def property_overridable_library_set(self) -> bool:
|
|
1458
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1459
|
-
|
|
1460
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1461
|
-
:rtype: bool
|
|
1462
|
-
"""
|
|
1463
|
-
...
|
|
1464
|
-
|
|
1465
|
-
def property_unset(self):
|
|
1466
|
-
"""Unset a property, will use default value afterward."""
|
|
1467
|
-
...
|
|
1468
|
-
|
|
1469
|
-
def remove(self, draw_func):
|
|
1470
|
-
"""Remove a draw function that has been added to this menu
|
|
1471
|
-
|
|
1472
|
-
:param draw_func:
|
|
1473
|
-
"""
|
|
1474
|
-
...
|
|
1475
|
-
|
|
1476
|
-
def type_recast(self):
|
|
1477
|
-
"""Return a new instance, this is needed because types
|
|
1478
|
-
such as textures can be changed at runtime.
|
|
1479
|
-
|
|
1480
|
-
:return: a new instance of this object with the type initialized again.
|
|
1481
|
-
"""
|
|
1482
|
-
...
|
|
1483
|
-
|
|
1484
|
-
def values(self):
|
|
1485
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1486
|
-
dictionary function of the same name).
|
|
1487
|
-
|
|
1488
|
-
:return: custom property values.
|
|
1489
|
-
"""
|
|
1490
|
-
...
|
|
1491
|
-
|
|
1492
|
-
class DATA_PT_display(ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
1493
|
-
bl_context: typing.Any
|
|
1494
|
-
bl_label: typing.Any
|
|
1495
|
-
bl_options: typing.Any
|
|
1496
|
-
bl_region_type: typing.Any
|
|
1497
|
-
bl_rna: typing.Any
|
|
1498
|
-
bl_space_type: typing.Any
|
|
1499
|
-
id_data: typing.Any
|
|
1500
|
-
|
|
1501
|
-
def append(self, draw_func):
|
|
1502
|
-
"""Append a draw function to this menu,
|
|
1503
|
-
takes the same arguments as the menus draw function
|
|
1504
|
-
|
|
1505
|
-
:param draw_func:
|
|
1506
|
-
"""
|
|
1507
|
-
...
|
|
1508
|
-
|
|
1509
|
-
def as_pointer(self) -> int:
|
|
1510
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1511
|
-
|
|
1512
|
-
:return: int (memory address).
|
|
1513
|
-
:rtype: int
|
|
1514
|
-
"""
|
|
1515
|
-
...
|
|
1516
|
-
|
|
1517
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1518
|
-
"""
|
|
1519
|
-
|
|
1520
|
-
:return: The RNA type or default when not found.
|
|
1521
|
-
:rtype: bpy.types.Struct
|
|
1522
|
-
"""
|
|
1523
|
-
...
|
|
1524
|
-
|
|
1525
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1526
|
-
"""
|
|
1527
|
-
|
|
1528
|
-
:return: The class or default when not found.
|
|
1529
|
-
:rtype: typing.Any
|
|
1530
|
-
"""
|
|
1531
|
-
...
|
|
1532
|
-
|
|
1533
|
-
def draw(self, context):
|
|
1534
|
-
"""
|
|
1535
|
-
|
|
1536
|
-
:param context:
|
|
1537
|
-
"""
|
|
1538
|
-
...
|
|
1539
|
-
|
|
1540
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1541
|
-
"""Adds driver(s) to the given property
|
|
1542
|
-
|
|
1543
|
-
:return: The driver(s) added.
|
|
1544
|
-
:rtype: bpy.types.FCurve
|
|
1545
|
-
"""
|
|
1546
|
-
...
|
|
1547
|
-
|
|
1548
|
-
def driver_remove(self) -> bool:
|
|
1549
|
-
"""Remove driver(s) from the given property
|
|
1550
|
-
|
|
1551
|
-
:return: Success of driver removal.
|
|
1552
|
-
:rtype: bool
|
|
1553
|
-
"""
|
|
1554
|
-
...
|
|
1555
|
-
|
|
1556
|
-
def get(self):
|
|
1557
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1558
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1559
|
-
|
|
1560
|
-
"""
|
|
1561
|
-
...
|
|
1562
|
-
|
|
1563
|
-
def id_properties_clear(self):
|
|
1564
|
-
"""
|
|
1565
|
-
|
|
1566
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1567
|
-
"""
|
|
1568
|
-
...
|
|
1569
|
-
|
|
1570
|
-
def id_properties_ensure(self):
|
|
1571
|
-
"""
|
|
1572
|
-
|
|
1573
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1574
|
-
"""
|
|
1575
|
-
...
|
|
1576
|
-
|
|
1577
|
-
def id_properties_ui(self):
|
|
1578
|
-
"""
|
|
1579
|
-
|
|
1580
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1581
|
-
"""
|
|
1582
|
-
...
|
|
1583
|
-
|
|
1584
|
-
def is_extended(self): ...
|
|
1585
|
-
def is_property_hidden(self) -> bool:
|
|
1586
|
-
"""Check if a property is hidden.
|
|
1587
|
-
|
|
1588
|
-
:return: True when the property is hidden.
|
|
1589
|
-
:rtype: bool
|
|
1590
|
-
"""
|
|
1591
|
-
...
|
|
1592
|
-
|
|
1593
|
-
def is_property_overridable_library(self) -> bool:
|
|
1594
|
-
"""Check if a property is overridable.
|
|
1595
|
-
|
|
1596
|
-
:return: True when the property is overridable.
|
|
1597
|
-
:rtype: bool
|
|
1598
|
-
"""
|
|
1599
|
-
...
|
|
1600
|
-
|
|
1601
|
-
def is_property_readonly(self) -> bool:
|
|
1602
|
-
"""Check if a property is readonly.
|
|
1603
|
-
|
|
1604
|
-
:return: True when the property is readonly (not writable).
|
|
1605
|
-
:rtype: bool
|
|
1606
|
-
"""
|
|
1607
|
-
...
|
|
1608
|
-
|
|
1609
|
-
def is_property_set(self) -> bool:
|
|
1610
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1611
|
-
|
|
1612
|
-
:return: True when the property has been set.
|
|
1613
|
-
:rtype: bool
|
|
1614
|
-
"""
|
|
1615
|
-
...
|
|
1616
|
-
|
|
1617
|
-
def items(self):
|
|
1618
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1619
|
-
dictionary function of the same name).
|
|
1620
|
-
|
|
1621
|
-
:return: custom property key, value pairs.
|
|
1622
|
-
"""
|
|
1623
|
-
...
|
|
1624
|
-
|
|
1625
|
-
def keyframe_delete(self) -> bool:
|
|
1626
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1627
|
-
|
|
1628
|
-
:return: Success of keyframe deletion.
|
|
1629
|
-
:rtype: bool
|
|
1630
|
-
"""
|
|
1631
|
-
...
|
|
1632
|
-
|
|
1633
|
-
def keyframe_insert(self) -> bool:
|
|
1634
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1635
|
-
|
|
1636
|
-
:return: Success of keyframe insertion.
|
|
1637
|
-
:rtype: bool
|
|
1638
|
-
"""
|
|
1639
|
-
...
|
|
1640
|
-
|
|
1641
|
-
def keys(self):
|
|
1642
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1643
|
-
dictionary function of the same name).
|
|
1644
|
-
|
|
1645
|
-
:return: custom property keys.
|
|
1646
|
-
"""
|
|
1647
|
-
...
|
|
1648
|
-
|
|
1649
|
-
def path_from_id(self) -> str:
|
|
1650
|
-
"""Returns the data path from the ID to this object (string).
|
|
1651
|
-
|
|
1652
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1653
|
-
to this struct and property (when given).
|
|
1654
|
-
:rtype: str
|
|
1655
|
-
"""
|
|
1656
|
-
...
|
|
1657
|
-
|
|
1658
|
-
def path_resolve(self):
|
|
1659
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1660
|
-
...
|
|
1661
|
-
|
|
1662
|
-
def poll(self, context):
|
|
1663
|
-
"""
|
|
1664
|
-
|
|
1665
|
-
:param context:
|
|
1666
|
-
"""
|
|
1667
|
-
...
|
|
1668
|
-
|
|
1669
|
-
def pop(self):
|
|
1670
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1671
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1672
|
-
|
|
1673
|
-
"""
|
|
1674
|
-
...
|
|
1675
|
-
|
|
1676
|
-
def prepend(self, draw_func):
|
|
1677
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1678
|
-
the menus draw function
|
|
1679
|
-
|
|
1680
|
-
:param draw_func:
|
|
1681
|
-
"""
|
|
1682
|
-
...
|
|
1683
|
-
|
|
1684
|
-
def property_overridable_library_set(self) -> bool:
|
|
1685
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1686
|
-
|
|
1687
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1688
|
-
:rtype: bool
|
|
1689
|
-
"""
|
|
1690
|
-
...
|
|
1691
|
-
|
|
1692
|
-
def property_unset(self):
|
|
1693
|
-
"""Unset a property, will use default value afterward."""
|
|
1694
|
-
...
|
|
1695
|
-
|
|
1696
|
-
def remove(self, draw_func):
|
|
1697
|
-
"""Remove a draw function that has been added to this menu
|
|
1698
|
-
|
|
1699
|
-
:param draw_func:
|
|
1700
|
-
"""
|
|
1701
|
-
...
|
|
1702
|
-
|
|
1703
|
-
def type_recast(self):
|
|
1704
|
-
"""Return a new instance, this is needed because types
|
|
1705
|
-
such as textures can be changed at runtime.
|
|
1706
|
-
|
|
1707
|
-
:return: a new instance of this object with the type initialized again.
|
|
1708
|
-
"""
|
|
1709
|
-
...
|
|
1710
|
-
|
|
1711
|
-
def values(self):
|
|
1712
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1713
|
-
dictionary function of the same name).
|
|
1714
|
-
|
|
1715
|
-
:return: custom property values.
|
|
1716
|
-
"""
|
|
1717
|
-
...
|
|
1718
|
-
|
|
1719
|
-
class DATA_PT_iksolver_itasc(ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
1720
|
-
bl_context: typing.Any
|
|
1721
|
-
bl_label: typing.Any
|
|
1722
|
-
bl_options: typing.Any
|
|
1723
|
-
bl_region_type: typing.Any
|
|
1724
|
-
bl_rna: typing.Any
|
|
1725
|
-
bl_space_type: typing.Any
|
|
1726
|
-
id_data: typing.Any
|
|
1727
|
-
|
|
1728
|
-
def append(self, draw_func):
|
|
1729
|
-
"""Append a draw function to this menu,
|
|
1730
|
-
takes the same arguments as the menus draw function
|
|
1731
|
-
|
|
1732
|
-
:param draw_func:
|
|
1733
|
-
"""
|
|
1734
|
-
...
|
|
1735
|
-
|
|
1736
|
-
def as_pointer(self) -> int:
|
|
1737
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1738
|
-
|
|
1739
|
-
:return: int (memory address).
|
|
1740
|
-
:rtype: int
|
|
1741
|
-
"""
|
|
1742
|
-
...
|
|
1743
|
-
|
|
1744
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1745
|
-
"""
|
|
1746
|
-
|
|
1747
|
-
:return: The RNA type or default when not found.
|
|
1748
|
-
:rtype: bpy.types.Struct
|
|
1749
|
-
"""
|
|
1750
|
-
...
|
|
1751
|
-
|
|
1752
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1753
|
-
"""
|
|
1754
|
-
|
|
1755
|
-
:return: The class or default when not found.
|
|
1756
|
-
:rtype: typing.Any
|
|
1757
|
-
"""
|
|
1758
|
-
...
|
|
1759
|
-
|
|
1760
|
-
def draw(self, context):
|
|
1761
|
-
"""
|
|
1762
|
-
|
|
1763
|
-
:param context:
|
|
1764
|
-
"""
|
|
1765
|
-
...
|
|
1766
|
-
|
|
1767
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1768
|
-
"""Adds driver(s) to the given property
|
|
1769
|
-
|
|
1770
|
-
:return: The driver(s) added.
|
|
1771
|
-
:rtype: bpy.types.FCurve
|
|
1772
|
-
"""
|
|
1773
|
-
...
|
|
1774
|
-
|
|
1775
|
-
def driver_remove(self) -> bool:
|
|
1776
|
-
"""Remove driver(s) from the given property
|
|
1777
|
-
|
|
1778
|
-
:return: Success of driver removal.
|
|
1779
|
-
:rtype: bool
|
|
1780
|
-
"""
|
|
1781
|
-
...
|
|
1782
|
-
|
|
1783
|
-
def get(self):
|
|
1784
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1785
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1786
|
-
|
|
1787
|
-
"""
|
|
1788
|
-
...
|
|
1789
|
-
|
|
1790
|
-
def id_properties_clear(self):
|
|
1791
|
-
"""
|
|
1792
|
-
|
|
1793
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1794
|
-
"""
|
|
1795
|
-
...
|
|
1796
|
-
|
|
1797
|
-
def id_properties_ensure(self):
|
|
1798
|
-
"""
|
|
1799
|
-
|
|
1800
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1801
|
-
"""
|
|
1802
|
-
...
|
|
1803
|
-
|
|
1804
|
-
def id_properties_ui(self):
|
|
1805
|
-
"""
|
|
1806
|
-
|
|
1807
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1808
|
-
"""
|
|
1809
|
-
...
|
|
1810
|
-
|
|
1811
|
-
def is_extended(self): ...
|
|
1812
|
-
def is_property_hidden(self) -> bool:
|
|
1813
|
-
"""Check if a property is hidden.
|
|
1814
|
-
|
|
1815
|
-
:return: True when the property is hidden.
|
|
1816
|
-
:rtype: bool
|
|
1817
|
-
"""
|
|
1818
|
-
...
|
|
1819
|
-
|
|
1820
|
-
def is_property_overridable_library(self) -> bool:
|
|
1821
|
-
"""Check if a property is overridable.
|
|
1822
|
-
|
|
1823
|
-
:return: True when the property is overridable.
|
|
1824
|
-
:rtype: bool
|
|
1825
|
-
"""
|
|
1826
|
-
...
|
|
1827
|
-
|
|
1828
|
-
def is_property_readonly(self) -> bool:
|
|
1829
|
-
"""Check if a property is readonly.
|
|
1830
|
-
|
|
1831
|
-
:return: True when the property is readonly (not writable).
|
|
1832
|
-
:rtype: bool
|
|
1833
|
-
"""
|
|
1834
|
-
...
|
|
1835
|
-
|
|
1836
|
-
def is_property_set(self) -> bool:
|
|
1837
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1838
|
-
|
|
1839
|
-
:return: True when the property has been set.
|
|
1840
|
-
:rtype: bool
|
|
1841
|
-
"""
|
|
1842
|
-
...
|
|
1843
|
-
|
|
1844
|
-
def items(self):
|
|
1845
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1846
|
-
dictionary function of the same name).
|
|
1847
|
-
|
|
1848
|
-
:return: custom property key, value pairs.
|
|
1849
|
-
"""
|
|
1850
|
-
...
|
|
1851
|
-
|
|
1852
|
-
def keyframe_delete(self) -> bool:
|
|
1853
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1854
|
-
|
|
1855
|
-
:return: Success of keyframe deletion.
|
|
1856
|
-
:rtype: bool
|
|
1857
|
-
"""
|
|
1858
|
-
...
|
|
1859
|
-
|
|
1860
|
-
def keyframe_insert(self) -> bool:
|
|
1861
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1862
|
-
|
|
1863
|
-
:return: Success of keyframe insertion.
|
|
1864
|
-
:rtype: bool
|
|
1865
|
-
"""
|
|
1866
|
-
...
|
|
1867
|
-
|
|
1868
|
-
def keys(self):
|
|
1869
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1870
|
-
dictionary function of the same name).
|
|
1871
|
-
|
|
1872
|
-
:return: custom property keys.
|
|
1873
|
-
"""
|
|
1874
|
-
...
|
|
1875
|
-
|
|
1876
|
-
def path_from_id(self) -> str:
|
|
1877
|
-
"""Returns the data path from the ID to this object (string).
|
|
1878
|
-
|
|
1879
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1880
|
-
to this struct and property (when given).
|
|
1881
|
-
:rtype: str
|
|
1882
|
-
"""
|
|
1883
|
-
...
|
|
1884
|
-
|
|
1885
|
-
def path_resolve(self):
|
|
1886
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1887
|
-
...
|
|
1888
|
-
|
|
1889
|
-
@classmethod
|
|
1890
|
-
def poll(cls, context):
|
|
1891
|
-
"""
|
|
1892
|
-
|
|
1893
|
-
:param context:
|
|
1894
|
-
"""
|
|
1895
|
-
...
|
|
1896
|
-
|
|
1897
|
-
def pop(self):
|
|
1898
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1899
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1900
|
-
|
|
1901
|
-
"""
|
|
1902
|
-
...
|
|
1903
|
-
|
|
1904
|
-
def prepend(self, draw_func):
|
|
1905
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1906
|
-
the menus draw function
|
|
1907
|
-
|
|
1908
|
-
:param draw_func:
|
|
1909
|
-
"""
|
|
1910
|
-
...
|
|
1911
|
-
|
|
1912
|
-
def property_overridable_library_set(self) -> bool:
|
|
1913
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1914
|
-
|
|
1915
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1916
|
-
:rtype: bool
|
|
1917
|
-
"""
|
|
1918
|
-
...
|
|
1919
|
-
|
|
1920
|
-
def property_unset(self):
|
|
1921
|
-
"""Unset a property, will use default value afterward."""
|
|
1922
|
-
...
|
|
1923
|
-
|
|
1924
|
-
def remove(self, draw_func):
|
|
1925
|
-
"""Remove a draw function that has been added to this menu
|
|
1926
|
-
|
|
1927
|
-
:param draw_func:
|
|
1928
|
-
"""
|
|
1929
|
-
...
|
|
1930
|
-
|
|
1931
|
-
def type_recast(self):
|
|
1932
|
-
"""Return a new instance, this is needed because types
|
|
1933
|
-
such as textures can be changed at runtime.
|
|
1934
|
-
|
|
1935
|
-
:return: a new instance of this object with the type initialized again.
|
|
1936
|
-
"""
|
|
1937
|
-
...
|
|
1938
|
-
|
|
1939
|
-
def values(self):
|
|
1940
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1941
|
-
dictionary function of the same name).
|
|
1942
|
-
|
|
1943
|
-
:return: custom property values.
|
|
1944
|
-
"""
|
|
1945
|
-
...
|
|
1946
|
-
|
|
1947
|
-
class DATA_PT_motion_paths(
|
|
1948
|
-
bl_ui.properties_animviz.MotionPathButtonsPanel, bpy_types._GenericUI
|
|
1949
|
-
):
|
|
1950
|
-
bl_context: typing.Any
|
|
1951
|
-
bl_label: typing.Any
|
|
1952
|
-
bl_options: typing.Any
|
|
1953
|
-
bl_region_type: typing.Any
|
|
1954
|
-
bl_rna: typing.Any
|
|
1955
|
-
bl_space_type: typing.Any
|
|
1956
|
-
id_data: typing.Any
|
|
1957
|
-
|
|
1958
|
-
def append(self, draw_func):
|
|
1959
|
-
"""Append a draw function to this menu,
|
|
1960
|
-
takes the same arguments as the menus draw function
|
|
1961
|
-
|
|
1962
|
-
:param draw_func:
|
|
1963
|
-
"""
|
|
1964
|
-
...
|
|
1965
|
-
|
|
1966
|
-
def as_pointer(self) -> int:
|
|
1967
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1968
|
-
|
|
1969
|
-
:return: int (memory address).
|
|
1970
|
-
:rtype: int
|
|
1971
|
-
"""
|
|
1972
|
-
...
|
|
1973
|
-
|
|
1974
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1975
|
-
"""
|
|
1976
|
-
|
|
1977
|
-
:return: The RNA type or default when not found.
|
|
1978
|
-
:rtype: bpy.types.Struct
|
|
1979
|
-
"""
|
|
1980
|
-
...
|
|
1981
|
-
|
|
1982
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1983
|
-
"""
|
|
1984
|
-
|
|
1985
|
-
:return: The class or default when not found.
|
|
1986
|
-
:rtype: typing.Any
|
|
1987
|
-
"""
|
|
1988
|
-
...
|
|
1989
|
-
|
|
1990
|
-
def draw(self, context):
|
|
1991
|
-
"""
|
|
1992
|
-
|
|
1993
|
-
:param context:
|
|
1994
|
-
"""
|
|
1995
|
-
...
|
|
1996
|
-
|
|
1997
|
-
def draw_settings(self, _context, avs, mpath, bones=False):
|
|
1998
|
-
"""
|
|
1999
|
-
|
|
2000
|
-
:param _context:
|
|
2001
|
-
:param avs:
|
|
2002
|
-
:param mpath:
|
|
2003
|
-
:param bones:
|
|
2004
|
-
"""
|
|
2005
|
-
...
|
|
2006
|
-
|
|
2007
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2008
|
-
"""Adds driver(s) to the given property
|
|
2009
|
-
|
|
2010
|
-
:return: The driver(s) added.
|
|
2011
|
-
:rtype: bpy.types.FCurve
|
|
2012
|
-
"""
|
|
2013
|
-
...
|
|
2014
|
-
|
|
2015
|
-
def driver_remove(self) -> bool:
|
|
2016
|
-
"""Remove driver(s) from the given property
|
|
2017
|
-
|
|
2018
|
-
:return: Success of driver removal.
|
|
2019
|
-
:rtype: bool
|
|
2020
|
-
"""
|
|
2021
|
-
...
|
|
2022
|
-
|
|
2023
|
-
def get(self):
|
|
2024
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2025
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2026
|
-
|
|
2027
|
-
"""
|
|
2028
|
-
...
|
|
2029
|
-
|
|
2030
|
-
def id_properties_clear(self):
|
|
2031
|
-
"""
|
|
2032
|
-
|
|
2033
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2034
|
-
"""
|
|
2035
|
-
...
|
|
2036
|
-
|
|
2037
|
-
def id_properties_ensure(self):
|
|
2038
|
-
"""
|
|
2039
|
-
|
|
2040
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2041
|
-
"""
|
|
2042
|
-
...
|
|
2043
|
-
|
|
2044
|
-
def id_properties_ui(self):
|
|
2045
|
-
"""
|
|
2046
|
-
|
|
2047
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2048
|
-
"""
|
|
2049
|
-
...
|
|
2050
|
-
|
|
2051
|
-
def is_extended(self): ...
|
|
2052
|
-
def is_property_hidden(self) -> bool:
|
|
2053
|
-
"""Check if a property is hidden.
|
|
2054
|
-
|
|
2055
|
-
:return: True when the property is hidden.
|
|
2056
|
-
:rtype: bool
|
|
2057
|
-
"""
|
|
2058
|
-
...
|
|
2059
|
-
|
|
2060
|
-
def is_property_overridable_library(self) -> bool:
|
|
2061
|
-
"""Check if a property is overridable.
|
|
2062
|
-
|
|
2063
|
-
:return: True when the property is overridable.
|
|
2064
|
-
:rtype: bool
|
|
2065
|
-
"""
|
|
2066
|
-
...
|
|
2067
|
-
|
|
2068
|
-
def is_property_readonly(self) -> bool:
|
|
2069
|
-
"""Check if a property is readonly.
|
|
2070
|
-
|
|
2071
|
-
:return: True when the property is readonly (not writable).
|
|
2072
|
-
:rtype: bool
|
|
2073
|
-
"""
|
|
2074
|
-
...
|
|
2075
|
-
|
|
2076
|
-
def is_property_set(self) -> bool:
|
|
2077
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2078
|
-
|
|
2079
|
-
:return: True when the property has been set.
|
|
2080
|
-
:rtype: bool
|
|
2081
|
-
"""
|
|
2082
|
-
...
|
|
2083
|
-
|
|
2084
|
-
def items(self):
|
|
2085
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2086
|
-
dictionary function of the same name).
|
|
2087
|
-
|
|
2088
|
-
:return: custom property key, value pairs.
|
|
2089
|
-
"""
|
|
2090
|
-
...
|
|
2091
|
-
|
|
2092
|
-
def keyframe_delete(self) -> bool:
|
|
2093
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2094
|
-
|
|
2095
|
-
:return: Success of keyframe deletion.
|
|
2096
|
-
:rtype: bool
|
|
2097
|
-
"""
|
|
2098
|
-
...
|
|
2099
|
-
|
|
2100
|
-
def keyframe_insert(self) -> bool:
|
|
2101
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2102
|
-
|
|
2103
|
-
:return: Success of keyframe insertion.
|
|
2104
|
-
:rtype: bool
|
|
2105
|
-
"""
|
|
2106
|
-
...
|
|
2107
|
-
|
|
2108
|
-
def keys(self):
|
|
2109
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2110
|
-
dictionary function of the same name).
|
|
2111
|
-
|
|
2112
|
-
:return: custom property keys.
|
|
2113
|
-
"""
|
|
2114
|
-
...
|
|
2115
|
-
|
|
2116
|
-
def path_from_id(self) -> str:
|
|
2117
|
-
"""Returns the data path from the ID to this object (string).
|
|
2118
|
-
|
|
2119
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2120
|
-
to this struct and property (when given).
|
|
2121
|
-
:rtype: str
|
|
2122
|
-
"""
|
|
2123
|
-
...
|
|
2124
|
-
|
|
2125
|
-
def path_resolve(self):
|
|
2126
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2127
|
-
...
|
|
2128
|
-
|
|
2129
|
-
@classmethod
|
|
2130
|
-
def poll(cls, context):
|
|
2131
|
-
"""
|
|
2132
|
-
|
|
2133
|
-
:param context:
|
|
2134
|
-
"""
|
|
2135
|
-
...
|
|
2136
|
-
|
|
2137
|
-
def pop(self):
|
|
2138
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2139
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2140
|
-
|
|
2141
|
-
"""
|
|
2142
|
-
...
|
|
2143
|
-
|
|
2144
|
-
def prepend(self, draw_func):
|
|
2145
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2146
|
-
the menus draw function
|
|
2147
|
-
|
|
2148
|
-
:param draw_func:
|
|
2149
|
-
"""
|
|
2150
|
-
...
|
|
2151
|
-
|
|
2152
|
-
def property_overridable_library_set(self) -> bool:
|
|
2153
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2154
|
-
|
|
2155
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2156
|
-
:rtype: bool
|
|
2157
|
-
"""
|
|
2158
|
-
...
|
|
2159
|
-
|
|
2160
|
-
def property_unset(self):
|
|
2161
|
-
"""Unset a property, will use default value afterward."""
|
|
2162
|
-
...
|
|
2163
|
-
|
|
2164
|
-
def remove(self, draw_func):
|
|
2165
|
-
"""Remove a draw function that has been added to this menu
|
|
2166
|
-
|
|
2167
|
-
:param draw_func:
|
|
2168
|
-
"""
|
|
2169
|
-
...
|
|
2170
|
-
|
|
2171
|
-
def type_recast(self):
|
|
2172
|
-
"""Return a new instance, this is needed because types
|
|
2173
|
-
such as textures can be changed at runtime.
|
|
2174
|
-
|
|
2175
|
-
:return: a new instance of this object with the type initialized again.
|
|
2176
|
-
"""
|
|
2177
|
-
...
|
|
2178
|
-
|
|
2179
|
-
def values(self):
|
|
2180
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2181
|
-
dictionary function of the same name).
|
|
2182
|
-
|
|
2183
|
-
:return: custom property values.
|
|
2184
|
-
"""
|
|
2185
|
-
...
|
|
2186
|
-
|
|
2187
|
-
class DATA_PT_motion_paths_display(
|
|
2188
|
-
bl_ui.properties_animviz.MotionPathButtonsPanel_display, bpy_types._GenericUI
|
|
2189
|
-
):
|
|
2190
|
-
bl_context: typing.Any
|
|
2191
|
-
bl_label: typing.Any
|
|
2192
|
-
bl_options: typing.Any
|
|
2193
|
-
bl_parent_id: typing.Any
|
|
2194
|
-
bl_region_type: typing.Any
|
|
2195
|
-
bl_rna: typing.Any
|
|
2196
|
-
bl_space_type: typing.Any
|
|
2197
|
-
id_data: typing.Any
|
|
2198
|
-
|
|
2199
|
-
def append(self, draw_func):
|
|
2200
|
-
"""Append a draw function to this menu,
|
|
2201
|
-
takes the same arguments as the menus draw function
|
|
2202
|
-
|
|
2203
|
-
:param draw_func:
|
|
2204
|
-
"""
|
|
2205
|
-
...
|
|
2206
|
-
|
|
2207
|
-
def as_pointer(self) -> int:
|
|
2208
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2209
|
-
|
|
2210
|
-
:return: int (memory address).
|
|
2211
|
-
:rtype: int
|
|
2212
|
-
"""
|
|
2213
|
-
...
|
|
2214
|
-
|
|
2215
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2216
|
-
"""
|
|
2217
|
-
|
|
2218
|
-
:return: The RNA type or default when not found.
|
|
2219
|
-
:rtype: bpy.types.Struct
|
|
2220
|
-
"""
|
|
2221
|
-
...
|
|
2222
|
-
|
|
2223
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2224
|
-
"""
|
|
2225
|
-
|
|
2226
|
-
:return: The class or default when not found.
|
|
2227
|
-
:rtype: typing.Any
|
|
2228
|
-
"""
|
|
2229
|
-
...
|
|
2230
|
-
|
|
2231
|
-
def draw(self, context):
|
|
2232
|
-
"""
|
|
2233
|
-
|
|
2234
|
-
:param context:
|
|
2235
|
-
"""
|
|
2236
|
-
...
|
|
2237
|
-
|
|
2238
|
-
def draw_settings(self, _context, avs, mpath, bones=False):
|
|
2239
|
-
"""
|
|
2240
|
-
|
|
2241
|
-
:param _context:
|
|
2242
|
-
:param avs:
|
|
2243
|
-
:param mpath:
|
|
2244
|
-
:param bones:
|
|
2245
|
-
"""
|
|
2246
|
-
...
|
|
2247
|
-
|
|
2248
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2249
|
-
"""Adds driver(s) to the given property
|
|
2250
|
-
|
|
2251
|
-
:return: The driver(s) added.
|
|
2252
|
-
:rtype: bpy.types.FCurve
|
|
2253
|
-
"""
|
|
2254
|
-
...
|
|
2255
|
-
|
|
2256
|
-
def driver_remove(self) -> bool:
|
|
2257
|
-
"""Remove driver(s) from the given property
|
|
2258
|
-
|
|
2259
|
-
:return: Success of driver removal.
|
|
2260
|
-
:rtype: bool
|
|
2261
|
-
"""
|
|
2262
|
-
...
|
|
2263
|
-
|
|
2264
|
-
def get(self):
|
|
2265
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2266
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2267
|
-
|
|
2268
|
-
"""
|
|
2269
|
-
...
|
|
2270
|
-
|
|
2271
|
-
def id_properties_clear(self):
|
|
2272
|
-
"""
|
|
2273
|
-
|
|
2274
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2275
|
-
"""
|
|
2276
|
-
...
|
|
2277
|
-
|
|
2278
|
-
def id_properties_ensure(self):
|
|
2279
|
-
"""
|
|
2280
|
-
|
|
2281
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2282
|
-
"""
|
|
2283
|
-
...
|
|
2284
|
-
|
|
2285
|
-
def id_properties_ui(self):
|
|
2286
|
-
"""
|
|
2287
|
-
|
|
2288
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2289
|
-
"""
|
|
2290
|
-
...
|
|
2291
|
-
|
|
2292
|
-
def is_extended(self): ...
|
|
2293
|
-
def is_property_hidden(self) -> bool:
|
|
2294
|
-
"""Check if a property is hidden.
|
|
2295
|
-
|
|
2296
|
-
:return: True when the property is hidden.
|
|
2297
|
-
:rtype: bool
|
|
2298
|
-
"""
|
|
2299
|
-
...
|
|
2300
|
-
|
|
2301
|
-
def is_property_overridable_library(self) -> bool:
|
|
2302
|
-
"""Check if a property is overridable.
|
|
2303
|
-
|
|
2304
|
-
:return: True when the property is overridable.
|
|
2305
|
-
:rtype: bool
|
|
2306
|
-
"""
|
|
2307
|
-
...
|
|
2308
|
-
|
|
2309
|
-
def is_property_readonly(self) -> bool:
|
|
2310
|
-
"""Check if a property is readonly.
|
|
2311
|
-
|
|
2312
|
-
:return: True when the property is readonly (not writable).
|
|
2313
|
-
:rtype: bool
|
|
2314
|
-
"""
|
|
2315
|
-
...
|
|
2316
|
-
|
|
2317
|
-
def is_property_set(self) -> bool:
|
|
2318
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2319
|
-
|
|
2320
|
-
:return: True when the property has been set.
|
|
2321
|
-
:rtype: bool
|
|
2322
|
-
"""
|
|
2323
|
-
...
|
|
2324
|
-
|
|
2325
|
-
def items(self):
|
|
2326
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2327
|
-
dictionary function of the same name).
|
|
2328
|
-
|
|
2329
|
-
:return: custom property key, value pairs.
|
|
2330
|
-
"""
|
|
2331
|
-
...
|
|
2332
|
-
|
|
2333
|
-
def keyframe_delete(self) -> bool:
|
|
2334
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2335
|
-
|
|
2336
|
-
:return: Success of keyframe deletion.
|
|
2337
|
-
:rtype: bool
|
|
2338
|
-
"""
|
|
2339
|
-
...
|
|
2340
|
-
|
|
2341
|
-
def keyframe_insert(self) -> bool:
|
|
2342
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2343
|
-
|
|
2344
|
-
:return: Success of keyframe insertion.
|
|
2345
|
-
:rtype: bool
|
|
2346
|
-
"""
|
|
2347
|
-
...
|
|
2348
|
-
|
|
2349
|
-
def keys(self):
|
|
2350
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2351
|
-
dictionary function of the same name).
|
|
2352
|
-
|
|
2353
|
-
:return: custom property keys.
|
|
2354
|
-
"""
|
|
2355
|
-
...
|
|
2356
|
-
|
|
2357
|
-
def path_from_id(self) -> str:
|
|
2358
|
-
"""Returns the data path from the ID to this object (string).
|
|
2359
|
-
|
|
2360
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2361
|
-
to this struct and property (when given).
|
|
2362
|
-
:rtype: str
|
|
2363
|
-
"""
|
|
2364
|
-
...
|
|
2365
|
-
|
|
2366
|
-
def path_resolve(self):
|
|
2367
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2368
|
-
...
|
|
2369
|
-
|
|
2370
|
-
@classmethod
|
|
2371
|
-
def poll(cls, context):
|
|
2372
|
-
"""
|
|
2373
|
-
|
|
2374
|
-
:param context:
|
|
2375
|
-
"""
|
|
2376
|
-
...
|
|
2377
|
-
|
|
2378
|
-
def pop(self):
|
|
2379
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2380
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2381
|
-
|
|
2382
|
-
"""
|
|
2383
|
-
...
|
|
2384
|
-
|
|
2385
|
-
def prepend(self, draw_func):
|
|
2386
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2387
|
-
the menus draw function
|
|
2388
|
-
|
|
2389
|
-
:param draw_func:
|
|
2390
|
-
"""
|
|
2391
|
-
...
|
|
2392
|
-
|
|
2393
|
-
def property_overridable_library_set(self) -> bool:
|
|
2394
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2395
|
-
|
|
2396
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2397
|
-
:rtype: bool
|
|
2398
|
-
"""
|
|
2399
|
-
...
|
|
2400
|
-
|
|
2401
|
-
def property_unset(self):
|
|
2402
|
-
"""Unset a property, will use default value afterward."""
|
|
2403
|
-
...
|
|
2404
|
-
|
|
2405
|
-
def remove(self, draw_func):
|
|
2406
|
-
"""Remove a draw function that has been added to this menu
|
|
2407
|
-
|
|
2408
|
-
:param draw_func:
|
|
2409
|
-
"""
|
|
2410
|
-
...
|
|
2411
|
-
|
|
2412
|
-
def type_recast(self):
|
|
2413
|
-
"""Return a new instance, this is needed because types
|
|
2414
|
-
such as textures can be changed at runtime.
|
|
2415
|
-
|
|
2416
|
-
:return: a new instance of this object with the type initialized again.
|
|
2417
|
-
"""
|
|
2418
|
-
...
|
|
2419
|
-
|
|
2420
|
-
def values(self):
|
|
2421
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2422
|
-
dictionary function of the same name).
|
|
2423
|
-
|
|
2424
|
-
:return: custom property values.
|
|
2425
|
-
"""
|
|
2426
|
-
...
|
|
2427
|
-
|
|
2428
|
-
class DATA_PT_pose(ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
2429
|
-
bl_context: typing.Any
|
|
2430
|
-
bl_label: typing.Any
|
|
2431
|
-
bl_region_type: typing.Any
|
|
2432
|
-
bl_rna: typing.Any
|
|
2433
|
-
bl_space_type: typing.Any
|
|
2434
|
-
id_data: typing.Any
|
|
2435
|
-
|
|
2436
|
-
def append(self, draw_func):
|
|
2437
|
-
"""Append a draw function to this menu,
|
|
2438
|
-
takes the same arguments as the menus draw function
|
|
2439
|
-
|
|
2440
|
-
:param draw_func:
|
|
2441
|
-
"""
|
|
2442
|
-
...
|
|
2443
|
-
|
|
2444
|
-
def as_pointer(self) -> int:
|
|
2445
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2446
|
-
|
|
2447
|
-
:return: int (memory address).
|
|
2448
|
-
:rtype: int
|
|
2449
|
-
"""
|
|
2450
|
-
...
|
|
2451
|
-
|
|
2452
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2453
|
-
"""
|
|
2454
|
-
|
|
2455
|
-
:return: The RNA type or default when not found.
|
|
2456
|
-
:rtype: bpy.types.Struct
|
|
2457
|
-
"""
|
|
2458
|
-
...
|
|
2459
|
-
|
|
2460
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2461
|
-
"""
|
|
2462
|
-
|
|
2463
|
-
:return: The class or default when not found.
|
|
2464
|
-
:rtype: typing.Any
|
|
2465
|
-
"""
|
|
2466
|
-
...
|
|
2467
|
-
|
|
2468
|
-
def draw(self, context):
|
|
2469
|
-
"""
|
|
2470
|
-
|
|
2471
|
-
:param context:
|
|
2472
|
-
"""
|
|
2473
|
-
...
|
|
2474
|
-
|
|
2475
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2476
|
-
"""Adds driver(s) to the given property
|
|
2477
|
-
|
|
2478
|
-
:return: The driver(s) added.
|
|
2479
|
-
:rtype: bpy.types.FCurve
|
|
2480
|
-
"""
|
|
2481
|
-
...
|
|
2482
|
-
|
|
2483
|
-
def driver_remove(self) -> bool:
|
|
2484
|
-
"""Remove driver(s) from the given property
|
|
2485
|
-
|
|
2486
|
-
:return: Success of driver removal.
|
|
2487
|
-
:rtype: bool
|
|
2488
|
-
"""
|
|
2489
|
-
...
|
|
2490
|
-
|
|
2491
|
-
def get(self):
|
|
2492
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2493
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2494
|
-
|
|
2495
|
-
"""
|
|
2496
|
-
...
|
|
2497
|
-
|
|
2498
|
-
def id_properties_clear(self):
|
|
2499
|
-
"""
|
|
2500
|
-
|
|
2501
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2502
|
-
"""
|
|
2503
|
-
...
|
|
2504
|
-
|
|
2505
|
-
def id_properties_ensure(self):
|
|
2506
|
-
"""
|
|
2507
|
-
|
|
2508
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2509
|
-
"""
|
|
2510
|
-
...
|
|
2511
|
-
|
|
2512
|
-
def id_properties_ui(self):
|
|
2513
|
-
"""
|
|
2514
|
-
|
|
2515
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2516
|
-
"""
|
|
2517
|
-
...
|
|
2518
|
-
|
|
2519
|
-
def is_extended(self): ...
|
|
2520
|
-
def is_property_hidden(self) -> bool:
|
|
2521
|
-
"""Check if a property is hidden.
|
|
2522
|
-
|
|
2523
|
-
:return: True when the property is hidden.
|
|
2524
|
-
:rtype: bool
|
|
2525
|
-
"""
|
|
2526
|
-
...
|
|
2527
|
-
|
|
2528
|
-
def is_property_overridable_library(self) -> bool:
|
|
2529
|
-
"""Check if a property is overridable.
|
|
2530
|
-
|
|
2531
|
-
:return: True when the property is overridable.
|
|
2532
|
-
:rtype: bool
|
|
2533
|
-
"""
|
|
2534
|
-
...
|
|
2535
|
-
|
|
2536
|
-
def is_property_readonly(self) -> bool:
|
|
2537
|
-
"""Check if a property is readonly.
|
|
2538
|
-
|
|
2539
|
-
:return: True when the property is readonly (not writable).
|
|
2540
|
-
:rtype: bool
|
|
2541
|
-
"""
|
|
2542
|
-
...
|
|
2543
|
-
|
|
2544
|
-
def is_property_set(self) -> bool:
|
|
2545
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2546
|
-
|
|
2547
|
-
:return: True when the property has been set.
|
|
2548
|
-
:rtype: bool
|
|
2549
|
-
"""
|
|
2550
|
-
...
|
|
2551
|
-
|
|
2552
|
-
def items(self):
|
|
2553
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2554
|
-
dictionary function of the same name).
|
|
2555
|
-
|
|
2556
|
-
:return: custom property key, value pairs.
|
|
2557
|
-
"""
|
|
2558
|
-
...
|
|
2559
|
-
|
|
2560
|
-
def keyframe_delete(self) -> bool:
|
|
2561
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2562
|
-
|
|
2563
|
-
:return: Success of keyframe deletion.
|
|
2564
|
-
:rtype: bool
|
|
2565
|
-
"""
|
|
2566
|
-
...
|
|
2567
|
-
|
|
2568
|
-
def keyframe_insert(self) -> bool:
|
|
2569
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2570
|
-
|
|
2571
|
-
:return: Success of keyframe insertion.
|
|
2572
|
-
:rtype: bool
|
|
2573
|
-
"""
|
|
2574
|
-
...
|
|
2575
|
-
|
|
2576
|
-
def keys(self):
|
|
2577
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2578
|
-
dictionary function of the same name).
|
|
2579
|
-
|
|
2580
|
-
:return: custom property keys.
|
|
2581
|
-
"""
|
|
2582
|
-
...
|
|
2583
|
-
|
|
2584
|
-
def path_from_id(self) -> str:
|
|
2585
|
-
"""Returns the data path from the ID to this object (string).
|
|
2586
|
-
|
|
2587
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2588
|
-
to this struct and property (when given).
|
|
2589
|
-
:rtype: str
|
|
2590
|
-
"""
|
|
2591
|
-
...
|
|
2592
|
-
|
|
2593
|
-
def path_resolve(self):
|
|
2594
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2595
|
-
...
|
|
2596
|
-
|
|
2597
|
-
def poll(self, context):
|
|
2598
|
-
"""
|
|
2599
|
-
|
|
2600
|
-
:param context:
|
|
2601
|
-
"""
|
|
2602
|
-
...
|
|
2603
|
-
|
|
2604
|
-
def pop(self):
|
|
2605
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2606
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2607
|
-
|
|
2608
|
-
"""
|
|
2609
|
-
...
|
|
2610
|
-
|
|
2611
|
-
def prepend(self, draw_func):
|
|
2612
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2613
|
-
the menus draw function
|
|
2614
|
-
|
|
2615
|
-
:param draw_func:
|
|
2616
|
-
"""
|
|
2617
|
-
...
|
|
2618
|
-
|
|
2619
|
-
def property_overridable_library_set(self) -> bool:
|
|
2620
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2621
|
-
|
|
2622
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2623
|
-
:rtype: bool
|
|
2624
|
-
"""
|
|
2625
|
-
...
|
|
2626
|
-
|
|
2627
|
-
def property_unset(self):
|
|
2628
|
-
"""Unset a property, will use default value afterward."""
|
|
2629
|
-
...
|
|
2630
|
-
|
|
2631
|
-
def remove(self, draw_func):
|
|
2632
|
-
"""Remove a draw function that has been added to this menu
|
|
2633
|
-
|
|
2634
|
-
:param draw_func:
|
|
2635
|
-
"""
|
|
2636
|
-
...
|
|
2637
|
-
|
|
2638
|
-
def type_recast(self):
|
|
2639
|
-
"""Return a new instance, this is needed because types
|
|
2640
|
-
such as textures can be changed at runtime.
|
|
2641
|
-
|
|
2642
|
-
:return: a new instance of this object with the type initialized again.
|
|
2643
|
-
"""
|
|
2644
|
-
...
|
|
2645
|
-
|
|
2646
|
-
def values(self):
|
|
2647
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2648
|
-
dictionary function of the same name).
|
|
2649
|
-
|
|
2650
|
-
:return: custom property values.
|
|
2651
|
-
"""
|
|
2652
|
-
...
|
|
2653
|
-
|
|
2654
|
-
class DATA_UL_bone_collections(bpy_types._GenericUI):
|
|
2655
|
-
bl_rna: typing.Any
|
|
2656
|
-
id_data: typing.Any
|
|
2657
|
-
|
|
2658
|
-
def append(self, draw_func):
|
|
2659
|
-
"""Append a draw function to this menu,
|
|
2660
|
-
takes the same arguments as the menus draw function
|
|
2661
|
-
|
|
2662
|
-
:param draw_func:
|
|
2663
|
-
"""
|
|
2664
|
-
...
|
|
2665
|
-
|
|
2666
|
-
def as_pointer(self) -> int:
|
|
2667
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2668
|
-
|
|
2669
|
-
:return: int (memory address).
|
|
2670
|
-
:rtype: int
|
|
2671
|
-
"""
|
|
2672
|
-
...
|
|
2673
|
-
|
|
2674
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2675
|
-
"""
|
|
2676
|
-
|
|
2677
|
-
:return: The RNA type or default when not found.
|
|
2678
|
-
:rtype: bpy.types.Struct
|
|
2679
|
-
"""
|
|
2680
|
-
...
|
|
2681
|
-
|
|
2682
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2683
|
-
"""
|
|
2684
|
-
|
|
2685
|
-
:return: The class or default when not found.
|
|
2686
|
-
:rtype: typing.Any
|
|
2687
|
-
"""
|
|
2688
|
-
...
|
|
2689
|
-
|
|
2690
|
-
def draw_item(
|
|
2691
|
-
self,
|
|
2692
|
-
_context,
|
|
2693
|
-
layout,
|
|
2694
|
-
armature,
|
|
2695
|
-
bcoll,
|
|
2696
|
-
_icon,
|
|
2697
|
-
_active_data,
|
|
2698
|
-
_active_propname,
|
|
2699
|
-
_index,
|
|
2700
|
-
):
|
|
2701
|
-
"""
|
|
2702
|
-
|
|
2703
|
-
:param _context:
|
|
2704
|
-
:param layout:
|
|
2705
|
-
:param armature:
|
|
2706
|
-
:param bcoll:
|
|
2707
|
-
:param _icon:
|
|
2708
|
-
:param _active_data:
|
|
2709
|
-
:param _active_propname:
|
|
2710
|
-
:param _index:
|
|
2711
|
-
"""
|
|
2712
|
-
...
|
|
2713
|
-
|
|
2714
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2715
|
-
"""Adds driver(s) to the given property
|
|
2716
|
-
|
|
2717
|
-
:return: The driver(s) added.
|
|
2718
|
-
:rtype: bpy.types.FCurve
|
|
2719
|
-
"""
|
|
2720
|
-
...
|
|
2721
|
-
|
|
2722
|
-
def driver_remove(self) -> bool:
|
|
2723
|
-
"""Remove driver(s) from the given property
|
|
2724
|
-
|
|
2725
|
-
:return: Success of driver removal.
|
|
2726
|
-
:rtype: bool
|
|
2727
|
-
"""
|
|
2728
|
-
...
|
|
2729
|
-
|
|
2730
|
-
def get(self):
|
|
2731
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2732
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2733
|
-
|
|
2734
|
-
"""
|
|
2735
|
-
...
|
|
2736
|
-
|
|
2737
|
-
def id_properties_clear(self):
|
|
2738
|
-
"""
|
|
2739
|
-
|
|
2740
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2741
|
-
"""
|
|
2742
|
-
...
|
|
2743
|
-
|
|
2744
|
-
def id_properties_ensure(self):
|
|
2745
|
-
"""
|
|
2746
|
-
|
|
2747
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2748
|
-
"""
|
|
2749
|
-
...
|
|
2750
|
-
|
|
2751
|
-
def id_properties_ui(self):
|
|
2752
|
-
"""
|
|
2753
|
-
|
|
2754
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2755
|
-
"""
|
|
2756
|
-
...
|
|
2757
|
-
|
|
2758
|
-
def is_extended(self): ...
|
|
2759
|
-
def is_property_hidden(self) -> bool:
|
|
2760
|
-
"""Check if a property is hidden.
|
|
2761
|
-
|
|
2762
|
-
:return: True when the property is hidden.
|
|
2763
|
-
:rtype: bool
|
|
2764
|
-
"""
|
|
2765
|
-
...
|
|
2766
|
-
|
|
2767
|
-
def is_property_overridable_library(self) -> bool:
|
|
2768
|
-
"""Check if a property is overridable.
|
|
2769
|
-
|
|
2770
|
-
:return: True when the property is overridable.
|
|
2771
|
-
:rtype: bool
|
|
2772
|
-
"""
|
|
2773
|
-
...
|
|
2774
|
-
|
|
2775
|
-
def is_property_readonly(self) -> bool:
|
|
2776
|
-
"""Check if a property is readonly.
|
|
2777
|
-
|
|
2778
|
-
:return: True when the property is readonly (not writable).
|
|
2779
|
-
:rtype: bool
|
|
2780
|
-
"""
|
|
2781
|
-
...
|
|
2782
|
-
|
|
2783
|
-
def is_property_set(self) -> bool:
|
|
2784
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2785
|
-
|
|
2786
|
-
:return: True when the property has been set.
|
|
2787
|
-
:rtype: bool
|
|
2788
|
-
"""
|
|
2789
|
-
...
|
|
2790
|
-
|
|
2791
|
-
def items(self):
|
|
2792
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2793
|
-
dictionary function of the same name).
|
|
2794
|
-
|
|
2795
|
-
:return: custom property key, value pairs.
|
|
2796
|
-
"""
|
|
2797
|
-
...
|
|
2798
|
-
|
|
2799
|
-
def keyframe_delete(self) -> bool:
|
|
2800
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2801
|
-
|
|
2802
|
-
:return: Success of keyframe deletion.
|
|
2803
|
-
:rtype: bool
|
|
2804
|
-
"""
|
|
2805
|
-
...
|
|
2806
|
-
|
|
2807
|
-
def keyframe_insert(self) -> bool:
|
|
2808
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2809
|
-
|
|
2810
|
-
:return: Success of keyframe insertion.
|
|
2811
|
-
:rtype: bool
|
|
2812
|
-
"""
|
|
2813
|
-
...
|
|
2814
|
-
|
|
2815
|
-
def keys(self):
|
|
2816
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2817
|
-
dictionary function of the same name).
|
|
2818
|
-
|
|
2819
|
-
:return: custom property keys.
|
|
2820
|
-
"""
|
|
2821
|
-
...
|
|
2822
|
-
|
|
2823
|
-
def path_from_id(self) -> str:
|
|
2824
|
-
"""Returns the data path from the ID to this object (string).
|
|
2825
|
-
|
|
2826
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2827
|
-
to this struct and property (when given).
|
|
2828
|
-
:rtype: str
|
|
2829
|
-
"""
|
|
2830
|
-
...
|
|
2831
|
-
|
|
2832
|
-
def path_resolve(self):
|
|
2833
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2834
|
-
...
|
|
2835
|
-
|
|
2836
|
-
def pop(self):
|
|
2837
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2838
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2839
|
-
|
|
2840
|
-
"""
|
|
2841
|
-
...
|
|
2842
|
-
|
|
2843
|
-
def prepend(self, draw_func):
|
|
2844
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2845
|
-
the menus draw function
|
|
2846
|
-
|
|
2847
|
-
:param draw_func:
|
|
2848
|
-
"""
|
|
2849
|
-
...
|
|
2850
|
-
|
|
2851
|
-
def property_overridable_library_set(self) -> bool:
|
|
2852
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2853
|
-
|
|
2854
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2855
|
-
:rtype: bool
|
|
2856
|
-
"""
|
|
2857
|
-
...
|
|
2858
|
-
|
|
2859
|
-
def property_unset(self):
|
|
2860
|
-
"""Unset a property, will use default value afterward."""
|
|
2861
|
-
...
|
|
2862
|
-
|
|
2863
|
-
def remove(self, draw_func):
|
|
2864
|
-
"""Remove a draw function that has been added to this menu
|
|
2865
|
-
|
|
2866
|
-
:param draw_func:
|
|
2867
|
-
"""
|
|
2868
|
-
...
|
|
2869
|
-
|
|
2870
|
-
def type_recast(self):
|
|
2871
|
-
"""Return a new instance, this is needed because types
|
|
2872
|
-
such as textures can be changed at runtime.
|
|
2873
|
-
|
|
2874
|
-
:return: a new instance of this object with the type initialized again.
|
|
2875
|
-
"""
|
|
2876
|
-
...
|
|
2877
|
-
|
|
2878
|
-
def values(self):
|
|
2879
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2880
|
-
dictionary function of the same name).
|
|
2881
|
-
|
|
2882
|
-
:return: custom property values.
|
|
2883
|
-
"""
|
|
2884
|
-
...
|
|
2885
|
-
|
|
2886
|
-
class POSE_MT_selection_set_create(bpy_types._GenericUI):
|
|
2887
|
-
bl_label: typing.Any
|
|
2888
|
-
bl_rna: typing.Any
|
|
2889
|
-
id_data: typing.Any
|
|
2890
|
-
|
|
2891
|
-
def append(self, draw_func):
|
|
2892
|
-
"""Append a draw function to this menu,
|
|
2893
|
-
takes the same arguments as the menus draw function
|
|
2894
|
-
|
|
2895
|
-
:param draw_func:
|
|
2896
|
-
"""
|
|
2897
|
-
...
|
|
2898
|
-
|
|
2899
|
-
def as_pointer(self) -> int:
|
|
2900
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2901
|
-
|
|
2902
|
-
:return: int (memory address).
|
|
2903
|
-
:rtype: int
|
|
2904
|
-
"""
|
|
2905
|
-
...
|
|
2906
|
-
|
|
2907
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2908
|
-
"""
|
|
2909
|
-
|
|
2910
|
-
:return: The RNA type or default when not found.
|
|
2911
|
-
:rtype: bpy.types.Struct
|
|
2912
|
-
"""
|
|
2913
|
-
...
|
|
2914
|
-
|
|
2915
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2916
|
-
"""
|
|
2917
|
-
|
|
2918
|
-
:return: The class or default when not found.
|
|
2919
|
-
:rtype: typing.Any
|
|
2920
|
-
"""
|
|
2921
|
-
...
|
|
2922
|
-
|
|
2923
|
-
def draw(self, context):
|
|
2924
|
-
"""
|
|
2925
|
-
|
|
2926
|
-
:param context:
|
|
2927
|
-
"""
|
|
2928
|
-
...
|
|
2929
|
-
|
|
2930
|
-
def draw_collapsible(self, context, layout):
|
|
2931
|
-
"""
|
|
2932
|
-
|
|
2933
|
-
:param context:
|
|
2934
|
-
:param layout:
|
|
2935
|
-
"""
|
|
2936
|
-
...
|
|
2937
|
-
|
|
2938
|
-
def draw_preset(self, _context):
|
|
2939
|
-
"""Define these on the subclass:
|
|
2940
|
-
- preset_operator (string)
|
|
2941
|
-
- preset_subdir (string)Optionally:
|
|
2942
|
-
- preset_add_operator (string)
|
|
2943
|
-
- preset_extensions (set of strings)
|
|
2944
|
-
- preset_operator_defaults (dict of keyword args)
|
|
2945
|
-
|
|
2946
|
-
:param _context:
|
|
2947
|
-
"""
|
|
2948
|
-
...
|
|
2949
|
-
|
|
2950
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2951
|
-
"""Adds driver(s) to the given property
|
|
2952
|
-
|
|
2953
|
-
:return: The driver(s) added.
|
|
2954
|
-
:rtype: bpy.types.FCurve
|
|
2955
|
-
"""
|
|
2956
|
-
...
|
|
2957
|
-
|
|
2958
|
-
def driver_remove(self) -> bool:
|
|
2959
|
-
"""Remove driver(s) from the given property
|
|
2960
|
-
|
|
2961
|
-
:return: Success of driver removal.
|
|
2962
|
-
:rtype: bool
|
|
2963
|
-
"""
|
|
2964
|
-
...
|
|
2965
|
-
|
|
2966
|
-
def get(self):
|
|
2967
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2968
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2969
|
-
|
|
2970
|
-
"""
|
|
2971
|
-
...
|
|
2972
|
-
|
|
2973
|
-
def id_properties_clear(self):
|
|
2974
|
-
"""
|
|
2975
|
-
|
|
2976
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2977
|
-
"""
|
|
2978
|
-
...
|
|
2979
|
-
|
|
2980
|
-
def id_properties_ensure(self):
|
|
2981
|
-
"""
|
|
2982
|
-
|
|
2983
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2984
|
-
"""
|
|
2985
|
-
...
|
|
2986
|
-
|
|
2987
|
-
def id_properties_ui(self):
|
|
2988
|
-
"""
|
|
2989
|
-
|
|
2990
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2991
|
-
"""
|
|
2992
|
-
...
|
|
2993
|
-
|
|
2994
|
-
def is_extended(self): ...
|
|
2995
|
-
def is_property_hidden(self) -> bool:
|
|
2996
|
-
"""Check if a property is hidden.
|
|
2997
|
-
|
|
2998
|
-
:return: True when the property is hidden.
|
|
2999
|
-
:rtype: bool
|
|
3000
|
-
"""
|
|
3001
|
-
...
|
|
3002
|
-
|
|
3003
|
-
def is_property_overridable_library(self) -> bool:
|
|
3004
|
-
"""Check if a property is overridable.
|
|
3005
|
-
|
|
3006
|
-
:return: True when the property is overridable.
|
|
3007
|
-
:rtype: bool
|
|
3008
|
-
"""
|
|
3009
|
-
...
|
|
3010
|
-
|
|
3011
|
-
def is_property_readonly(self) -> bool:
|
|
3012
|
-
"""Check if a property is readonly.
|
|
3013
|
-
|
|
3014
|
-
:return: True when the property is readonly (not writable).
|
|
3015
|
-
:rtype: bool
|
|
3016
|
-
"""
|
|
3017
|
-
...
|
|
3018
|
-
|
|
3019
|
-
def is_property_set(self) -> bool:
|
|
3020
|
-
"""Check if a property is set, use for testing operator properties.
|
|
3021
|
-
|
|
3022
|
-
:return: True when the property has been set.
|
|
3023
|
-
:rtype: bool
|
|
3024
|
-
"""
|
|
3025
|
-
...
|
|
3026
|
-
|
|
3027
|
-
def items(self):
|
|
3028
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
3029
|
-
dictionary function of the same name).
|
|
3030
|
-
|
|
3031
|
-
:return: custom property key, value pairs.
|
|
3032
|
-
"""
|
|
3033
|
-
...
|
|
3034
|
-
|
|
3035
|
-
def keyframe_delete(self) -> bool:
|
|
3036
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3037
|
-
|
|
3038
|
-
:return: Success of keyframe deletion.
|
|
3039
|
-
:rtype: bool
|
|
3040
|
-
"""
|
|
3041
|
-
...
|
|
3042
|
-
|
|
3043
|
-
def keyframe_insert(self) -> bool:
|
|
3044
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
3045
|
-
|
|
3046
|
-
:return: Success of keyframe insertion.
|
|
3047
|
-
:rtype: bool
|
|
3048
|
-
"""
|
|
3049
|
-
...
|
|
3050
|
-
|
|
3051
|
-
def keys(self):
|
|
3052
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
3053
|
-
dictionary function of the same name).
|
|
3054
|
-
|
|
3055
|
-
:return: custom property keys.
|
|
3056
|
-
"""
|
|
3057
|
-
...
|
|
3058
|
-
|
|
3059
|
-
def path_from_id(self) -> str:
|
|
3060
|
-
"""Returns the data path from the ID to this object (string).
|
|
3061
|
-
|
|
3062
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3063
|
-
to this struct and property (when given).
|
|
3064
|
-
:rtype: str
|
|
3065
|
-
"""
|
|
3066
|
-
...
|
|
3067
|
-
|
|
3068
|
-
def path_menu(
|
|
3069
|
-
self,
|
|
3070
|
-
searchpaths: list[str],
|
|
3071
|
-
operator: str,
|
|
3072
|
-
*,
|
|
3073
|
-
props_default: dict = None,
|
|
3074
|
-
prop_filepath: str | None = "filepath",
|
|
3075
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
3076
|
-
filter_path=None,
|
|
3077
|
-
display_name: collections.abc.Callable | None = None,
|
|
3078
|
-
add_operator=None,
|
|
3079
|
-
add_operator_props=None,
|
|
3080
|
-
):
|
|
3081
|
-
"""Populate a menu from a list of paths.
|
|
3082
|
-
|
|
3083
|
-
:param searchpaths: Paths to scan.
|
|
3084
|
-
:type searchpaths: list[str]
|
|
3085
|
-
:param operator: The operator id to use with each file.
|
|
3086
|
-
:type operator: str
|
|
3087
|
-
:param props_default: Properties to assign to each operator.
|
|
3088
|
-
:type props_default: dict
|
|
3089
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
3090
|
-
:type prop_filepath: str | None
|
|
3091
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
3092
|
-
|
|
3093
|
-
Returning false excludes the file from the list.
|
|
3094
|
-
:type filter_ext: collections.abc.Callable | None
|
|
3095
|
-
:param filter_path:
|
|
3096
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
3097
|
-
:type display_name: collections.abc.Callable | None
|
|
3098
|
-
:param add_operator:
|
|
3099
|
-
:param add_operator_props:
|
|
3100
|
-
"""
|
|
3101
|
-
...
|
|
3102
|
-
|
|
3103
|
-
def path_resolve(self):
|
|
3104
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
3105
|
-
...
|
|
3106
|
-
|
|
3107
|
-
def pop(self):
|
|
3108
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
3109
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3110
|
-
|
|
17
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3111
18
|
"""
|
|
3112
|
-
...
|
|
3113
|
-
|
|
3114
|
-
def prepend(self, draw_func):
|
|
3115
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
3116
|
-
the menus draw function
|
|
3117
19
|
|
|
3118
|
-
|
|
20
|
+
:return: The RNA type or default when not found.
|
|
21
|
+
:rtype: bpy.types.Struct
|
|
3119
22
|
"""
|
|
3120
23
|
...
|
|
3121
24
|
|
|
3122
|
-
def
|
|
3123
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
3124
|
-
|
|
3125
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3126
|
-
:rtype: bool
|
|
25
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3127
26
|
"""
|
|
3128
|
-
...
|
|
3129
|
-
|
|
3130
|
-
def property_unset(self):
|
|
3131
|
-
"""Unset a property, will use default value afterward."""
|
|
3132
|
-
...
|
|
3133
|
-
|
|
3134
|
-
def remove(self, draw_func):
|
|
3135
|
-
"""Remove a draw function that has been added to this menu
|
|
3136
27
|
|
|
3137
|
-
:
|
|
28
|
+
:return: The class or default when not found.
|
|
29
|
+
:rtype: typing.Any
|
|
3138
30
|
"""
|
|
3139
31
|
...
|
|
3140
32
|
|
|
3141
|
-
def
|
|
3142
|
-
"""Return a new instance, this is needed because types
|
|
3143
|
-
such as textures can be changed at runtime.
|
|
3144
|
-
|
|
3145
|
-
:return: a new instance of this object with the type initialized again.
|
|
33
|
+
def draw(self, context):
|
|
3146
34
|
"""
|
|
3147
|
-
...
|
|
3148
|
-
|
|
3149
|
-
def values(self):
|
|
3150
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3151
|
-
dictionary function of the same name).
|
|
3152
35
|
|
|
3153
|
-
|
|
36
|
+
:param context:
|
|
3154
37
|
"""
|
|
3155
38
|
...
|
|
3156
39
|
|
|
3157
|
-
class
|
|
40
|
+
class ARMATURE_MT_collection_tree_context_menu(bpy.types.Menu, bpy_types._GenericUI):
|
|
3158
41
|
bl_label: typing.Any
|
|
3159
42
|
bl_rna: typing.Any
|
|
3160
43
|
id_data: typing.Any
|
|
3161
44
|
|
|
3162
|
-
def append(self, draw_func):
|
|
3163
|
-
"""Append a draw function to this menu,
|
|
3164
|
-
takes the same arguments as the menus draw function
|
|
3165
|
-
|
|
3166
|
-
:param draw_func:
|
|
3167
|
-
"""
|
|
3168
|
-
...
|
|
3169
|
-
|
|
3170
|
-
def as_pointer(self) -> int:
|
|
3171
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3172
|
-
|
|
3173
|
-
:return: int (memory address).
|
|
3174
|
-
:rtype: int
|
|
3175
|
-
"""
|
|
3176
|
-
...
|
|
3177
|
-
|
|
3178
45
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3179
46
|
"""
|
|
3180
47
|
|
|
@@ -3198,254 +65,29 @@ class POSE_MT_selection_sets_context_menu(bpy_types._GenericUI):
|
|
|
3198
65
|
"""
|
|
3199
66
|
...
|
|
3200
67
|
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
:param layout:
|
|
3206
|
-
"""
|
|
3207
|
-
...
|
|
3208
|
-
|
|
3209
|
-
def draw_preset(self, _context):
|
|
3210
|
-
"""Define these on the subclass:
|
|
3211
|
-
- preset_operator (string)
|
|
3212
|
-
- preset_subdir (string)Optionally:
|
|
3213
|
-
- preset_add_operator (string)
|
|
3214
|
-
- preset_extensions (set of strings)
|
|
3215
|
-
- preset_operator_defaults (dict of keyword args)
|
|
3216
|
-
|
|
3217
|
-
:param _context:
|
|
3218
|
-
"""
|
|
3219
|
-
...
|
|
3220
|
-
|
|
3221
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
3222
|
-
"""Adds driver(s) to the given property
|
|
3223
|
-
|
|
3224
|
-
:return: The driver(s) added.
|
|
3225
|
-
:rtype: bpy.types.FCurve
|
|
3226
|
-
"""
|
|
3227
|
-
...
|
|
3228
|
-
|
|
3229
|
-
def driver_remove(self) -> bool:
|
|
3230
|
-
"""Remove driver(s) from the given property
|
|
3231
|
-
|
|
3232
|
-
:return: Success of driver removal.
|
|
3233
|
-
:rtype: bool
|
|
3234
|
-
"""
|
|
3235
|
-
...
|
|
3236
|
-
|
|
3237
|
-
def get(self):
|
|
3238
|
-
"""Returns the value of the custom property assigned to key or default
|
|
3239
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3240
|
-
|
|
3241
|
-
"""
|
|
3242
|
-
...
|
|
3243
|
-
|
|
3244
|
-
def id_properties_clear(self):
|
|
3245
|
-
"""
|
|
3246
|
-
|
|
3247
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
3248
|
-
"""
|
|
3249
|
-
...
|
|
3250
|
-
|
|
3251
|
-
def id_properties_ensure(self):
|
|
3252
|
-
"""
|
|
3253
|
-
|
|
3254
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
3255
|
-
"""
|
|
3256
|
-
...
|
|
3257
|
-
|
|
3258
|
-
def id_properties_ui(self):
|
|
3259
|
-
"""
|
|
3260
|
-
|
|
3261
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
3262
|
-
"""
|
|
3263
|
-
...
|
|
3264
|
-
|
|
3265
|
-
def is_extended(self): ...
|
|
3266
|
-
def is_property_hidden(self) -> bool:
|
|
3267
|
-
"""Check if a property is hidden.
|
|
3268
|
-
|
|
3269
|
-
:return: True when the property is hidden.
|
|
3270
|
-
:rtype: bool
|
|
3271
|
-
"""
|
|
3272
|
-
...
|
|
3273
|
-
|
|
3274
|
-
def is_property_overridable_library(self) -> bool:
|
|
3275
|
-
"""Check if a property is overridable.
|
|
3276
|
-
|
|
3277
|
-
:return: True when the property is overridable.
|
|
3278
|
-
:rtype: bool
|
|
3279
|
-
"""
|
|
3280
|
-
...
|
|
3281
|
-
|
|
3282
|
-
def is_property_readonly(self) -> bool:
|
|
3283
|
-
"""Check if a property is readonly.
|
|
3284
|
-
|
|
3285
|
-
:return: True when the property is readonly (not writable).
|
|
3286
|
-
:rtype: bool
|
|
3287
|
-
"""
|
|
3288
|
-
...
|
|
3289
|
-
|
|
3290
|
-
def is_property_set(self) -> bool:
|
|
3291
|
-
"""Check if a property is set, use for testing operator properties.
|
|
3292
|
-
|
|
3293
|
-
:return: True when the property has been set.
|
|
3294
|
-
:rtype: bool
|
|
3295
|
-
"""
|
|
3296
|
-
...
|
|
3297
|
-
|
|
3298
|
-
def items(self):
|
|
3299
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
3300
|
-
dictionary function of the same name).
|
|
3301
|
-
|
|
3302
|
-
:return: custom property key, value pairs.
|
|
3303
|
-
"""
|
|
3304
|
-
...
|
|
3305
|
-
|
|
3306
|
-
def keyframe_delete(self) -> bool:
|
|
3307
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3308
|
-
|
|
3309
|
-
:return: Success of keyframe deletion.
|
|
3310
|
-
:rtype: bool
|
|
3311
|
-
"""
|
|
3312
|
-
...
|
|
3313
|
-
|
|
3314
|
-
def keyframe_insert(self) -> bool:
|
|
3315
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
3316
|
-
|
|
3317
|
-
:return: Success of keyframe insertion.
|
|
3318
|
-
:rtype: bool
|
|
3319
|
-
"""
|
|
3320
|
-
...
|
|
3321
|
-
|
|
3322
|
-
def keys(self):
|
|
3323
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
3324
|
-
dictionary function of the same name).
|
|
3325
|
-
|
|
3326
|
-
:return: custom property keys.
|
|
3327
|
-
"""
|
|
3328
|
-
...
|
|
3329
|
-
|
|
3330
|
-
def path_from_id(self) -> str:
|
|
3331
|
-
"""Returns the data path from the ID to this object (string).
|
|
3332
|
-
|
|
3333
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3334
|
-
to this struct and property (when given).
|
|
3335
|
-
:rtype: str
|
|
3336
|
-
"""
|
|
3337
|
-
...
|
|
3338
|
-
|
|
3339
|
-
def path_menu(
|
|
3340
|
-
self,
|
|
3341
|
-
searchpaths: list[str],
|
|
3342
|
-
operator: str,
|
|
3343
|
-
*,
|
|
3344
|
-
props_default: dict = None,
|
|
3345
|
-
prop_filepath: str | None = "filepath",
|
|
3346
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
3347
|
-
filter_path=None,
|
|
3348
|
-
display_name: collections.abc.Callable | None = None,
|
|
3349
|
-
add_operator=None,
|
|
3350
|
-
add_operator_props=None,
|
|
3351
|
-
):
|
|
3352
|
-
"""Populate a menu from a list of paths.
|
|
3353
|
-
|
|
3354
|
-
:param searchpaths: Paths to scan.
|
|
3355
|
-
:type searchpaths: list[str]
|
|
3356
|
-
:param operator: The operator id to use with each file.
|
|
3357
|
-
:type operator: str
|
|
3358
|
-
:param props_default: Properties to assign to each operator.
|
|
3359
|
-
:type props_default: dict
|
|
3360
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
3361
|
-
:type prop_filepath: str | None
|
|
3362
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
3363
|
-
|
|
3364
|
-
Returning false excludes the file from the list.
|
|
3365
|
-
:type filter_ext: collections.abc.Callable | None
|
|
3366
|
-
:param filter_path:
|
|
3367
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
3368
|
-
:type display_name: collections.abc.Callable | None
|
|
3369
|
-
:param add_operator:
|
|
3370
|
-
:param add_operator_props:
|
|
3371
|
-
"""
|
|
3372
|
-
...
|
|
3373
|
-
|
|
3374
|
-
def path_resolve(self):
|
|
3375
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
3376
|
-
...
|
|
3377
|
-
|
|
3378
|
-
def pop(self):
|
|
3379
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
3380
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3381
|
-
|
|
3382
|
-
"""
|
|
3383
|
-
...
|
|
3384
|
-
|
|
3385
|
-
def prepend(self, draw_func):
|
|
3386
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
3387
|
-
the menus draw function
|
|
3388
|
-
|
|
3389
|
-
:param draw_func:
|
|
3390
|
-
"""
|
|
3391
|
-
...
|
|
3392
|
-
|
|
3393
|
-
def property_overridable_library_set(self) -> bool:
|
|
3394
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
3395
|
-
|
|
3396
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3397
|
-
:rtype: bool
|
|
3398
|
-
"""
|
|
3399
|
-
...
|
|
3400
|
-
|
|
3401
|
-
def property_unset(self):
|
|
3402
|
-
"""Unset a property, will use default value afterward."""
|
|
3403
|
-
...
|
|
3404
|
-
|
|
3405
|
-
def remove(self, draw_func):
|
|
3406
|
-
"""Remove a draw function that has been added to this menu
|
|
3407
|
-
|
|
3408
|
-
:param draw_func:
|
|
3409
|
-
"""
|
|
3410
|
-
...
|
|
3411
|
-
|
|
3412
|
-
def type_recast(self):
|
|
3413
|
-
"""Return a new instance, this is needed because types
|
|
3414
|
-
such as textures can be changed at runtime.
|
|
68
|
+
class ArmatureButtonsPanel:
|
|
69
|
+
bl_context: typing.Any
|
|
70
|
+
bl_region_type: typing.Any
|
|
71
|
+
bl_space_type: typing.Any
|
|
3415
72
|
|
|
3416
|
-
|
|
73
|
+
@classmethod
|
|
74
|
+
def poll(cls, context):
|
|
3417
75
|
"""
|
|
3418
|
-
...
|
|
3419
|
-
|
|
3420
|
-
def values(self):
|
|
3421
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3422
|
-
dictionary function of the same name).
|
|
3423
76
|
|
|
3424
|
-
|
|
77
|
+
:param context:
|
|
3425
78
|
"""
|
|
3426
79
|
...
|
|
3427
80
|
|
|
3428
|
-
class
|
|
81
|
+
class DATA_PT_bone_collections(
|
|
82
|
+
bpy.types.Panel, ArmatureButtonsPanel, bpy_types._GenericUI
|
|
83
|
+
):
|
|
84
|
+
bl_context: typing.Any
|
|
3429
85
|
bl_label: typing.Any
|
|
86
|
+
bl_region_type: typing.Any
|
|
3430
87
|
bl_rna: typing.Any
|
|
88
|
+
bl_space_type: typing.Any
|
|
3431
89
|
id_data: typing.Any
|
|
3432
90
|
|
|
3433
|
-
def append(self, draw_func):
|
|
3434
|
-
"""Append a draw function to this menu,
|
|
3435
|
-
takes the same arguments as the menus draw function
|
|
3436
|
-
|
|
3437
|
-
:param draw_func:
|
|
3438
|
-
"""
|
|
3439
|
-
...
|
|
3440
|
-
|
|
3441
|
-
def as_pointer(self) -> int:
|
|
3442
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3443
|
-
|
|
3444
|
-
:return: int (memory address).
|
|
3445
|
-
:rtype: int
|
|
3446
|
-
"""
|
|
3447
|
-
...
|
|
3448
|
-
|
|
3449
91
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3450
92
|
"""
|
|
3451
93
|
|
|
@@ -3469,181 +111,109 @@ class POSE_MT_selection_sets_select(bpy_types._GenericUI):
|
|
|
3469
111
|
"""
|
|
3470
112
|
...
|
|
3471
113
|
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
def draw_preset(self, _context):
|
|
3481
|
-
"""Define these on the subclass:
|
|
3482
|
-
- preset_operator (string)
|
|
3483
|
-
- preset_subdir (string)Optionally:
|
|
3484
|
-
- preset_add_operator (string)
|
|
3485
|
-
- preset_extensions (set of strings)
|
|
3486
|
-
- preset_operator_defaults (dict of keyword args)
|
|
3487
|
-
|
|
3488
|
-
:param _context:
|
|
3489
|
-
"""
|
|
3490
|
-
...
|
|
3491
|
-
|
|
3492
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
3493
|
-
"""Adds driver(s) to the given property
|
|
3494
|
-
|
|
3495
|
-
:return: The driver(s) added.
|
|
3496
|
-
:rtype: bpy.types.FCurve
|
|
3497
|
-
"""
|
|
3498
|
-
...
|
|
3499
|
-
|
|
3500
|
-
def driver_remove(self) -> bool:
|
|
3501
|
-
"""Remove driver(s) from the given property
|
|
3502
|
-
|
|
3503
|
-
:return: Success of driver removal.
|
|
3504
|
-
:rtype: bool
|
|
3505
|
-
"""
|
|
3506
|
-
...
|
|
3507
|
-
|
|
3508
|
-
def get(self):
|
|
3509
|
-
"""Returns the value of the custom property assigned to key or default
|
|
3510
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3511
|
-
|
|
3512
|
-
"""
|
|
3513
|
-
...
|
|
3514
|
-
|
|
3515
|
-
def id_properties_clear(self):
|
|
3516
|
-
"""
|
|
3517
|
-
|
|
3518
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
3519
|
-
"""
|
|
3520
|
-
...
|
|
114
|
+
class DATA_PT_context_arm(bpy.types.Panel, ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
115
|
+
bl_context: typing.Any
|
|
116
|
+
bl_label: typing.Any
|
|
117
|
+
bl_options: typing.Any
|
|
118
|
+
bl_region_type: typing.Any
|
|
119
|
+
bl_rna: typing.Any
|
|
120
|
+
bl_space_type: typing.Any
|
|
121
|
+
id_data: typing.Any
|
|
3521
122
|
|
|
3522
|
-
def
|
|
123
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3523
124
|
"""
|
|
3524
125
|
|
|
3525
|
-
:return:
|
|
126
|
+
:return: The RNA type or default when not found.
|
|
127
|
+
:rtype: bpy.types.Struct
|
|
3526
128
|
"""
|
|
3527
129
|
...
|
|
3528
130
|
|
|
3529
|
-
def
|
|
131
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3530
132
|
"""
|
|
3531
133
|
|
|
3532
|
-
:return:
|
|
134
|
+
:return: The class or default when not found.
|
|
135
|
+
:rtype: typing.Any
|
|
3533
136
|
"""
|
|
3534
137
|
...
|
|
3535
138
|
|
|
3536
|
-
def
|
|
3537
|
-
def is_property_hidden(self) -> bool:
|
|
3538
|
-
"""Check if a property is hidden.
|
|
3539
|
-
|
|
3540
|
-
:return: True when the property is hidden.
|
|
3541
|
-
:rtype: bool
|
|
139
|
+
def draw(self, context):
|
|
3542
140
|
"""
|
|
3543
|
-
...
|
|
3544
141
|
|
|
3545
|
-
|
|
3546
|
-
"""Check if a property is overridable.
|
|
3547
|
-
|
|
3548
|
-
:return: True when the property is overridable.
|
|
3549
|
-
:rtype: bool
|
|
142
|
+
:param context:
|
|
3550
143
|
"""
|
|
3551
144
|
...
|
|
3552
145
|
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
146
|
+
class DATA_PT_custom_props_arm(
|
|
147
|
+
bpy.types.Panel,
|
|
148
|
+
ArmatureButtonsPanel,
|
|
149
|
+
rna_prop_ui.PropertyPanel,
|
|
150
|
+
bpy_types._GenericUI,
|
|
151
|
+
):
|
|
152
|
+
"""The subclass should have its own poll function
|
|
153
|
+
and the variable '_context_path' MUST be set.
|
|
154
|
+
"""
|
|
3560
155
|
|
|
3561
|
-
|
|
3562
|
-
|
|
156
|
+
COMPAT_ENGINES: typing.Any
|
|
157
|
+
bl_context: typing.Any
|
|
158
|
+
bl_label: typing.Any
|
|
159
|
+
bl_options: typing.Any
|
|
160
|
+
bl_order: typing.Any
|
|
161
|
+
bl_region_type: typing.Any
|
|
162
|
+
bl_rna: typing.Any
|
|
163
|
+
bl_space_type: typing.Any
|
|
164
|
+
id_data: typing.Any
|
|
3563
165
|
|
|
3564
|
-
|
|
3565
|
-
:rtype: bool
|
|
166
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3566
167
|
"""
|
|
3567
|
-
...
|
|
3568
|
-
|
|
3569
|
-
def items(self):
|
|
3570
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
3571
|
-
dictionary function of the same name).
|
|
3572
168
|
|
|
3573
|
-
|
|
169
|
+
:return: The RNA type or default when not found.
|
|
170
|
+
:rtype: bpy.types.Struct
|
|
3574
171
|
"""
|
|
3575
172
|
...
|
|
3576
173
|
|
|
3577
|
-
def
|
|
3578
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3579
|
-
|
|
3580
|
-
:return: Success of keyframe deletion.
|
|
3581
|
-
:rtype: bool
|
|
174
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3582
175
|
"""
|
|
3583
|
-
...
|
|
3584
|
-
|
|
3585
|
-
def keyframe_insert(self) -> bool:
|
|
3586
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
3587
176
|
|
|
3588
|
-
:return:
|
|
3589
|
-
:rtype:
|
|
177
|
+
:return: The class or default when not found.
|
|
178
|
+
:rtype: typing.Any
|
|
3590
179
|
"""
|
|
3591
180
|
...
|
|
3592
181
|
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
182
|
+
class DATA_PT_custom_props_bcoll(
|
|
183
|
+
bpy.types.Panel,
|
|
184
|
+
ArmatureButtonsPanel,
|
|
185
|
+
rna_prop_ui.PropertyPanel,
|
|
186
|
+
bpy_types._GenericUI,
|
|
187
|
+
):
|
|
188
|
+
"""The subclass should have its own poll function
|
|
189
|
+
and the variable '_context_path' MUST be set.
|
|
190
|
+
"""
|
|
3600
191
|
|
|
3601
|
-
|
|
3602
|
-
|
|
192
|
+
COMPAT_ENGINES: typing.Any
|
|
193
|
+
bl_context: typing.Any
|
|
194
|
+
bl_label: typing.Any
|
|
195
|
+
bl_options: typing.Any
|
|
196
|
+
bl_order: typing.Any
|
|
197
|
+
bl_parent_id: typing.Any
|
|
198
|
+
bl_region_type: typing.Any
|
|
199
|
+
bl_rna: typing.Any
|
|
200
|
+
bl_space_type: typing.Any
|
|
201
|
+
id_data: typing.Any
|
|
3603
202
|
|
|
3604
|
-
|
|
3605
|
-
to this struct and property (when given).
|
|
3606
|
-
:rtype: str
|
|
203
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3607
204
|
"""
|
|
3608
|
-
...
|
|
3609
205
|
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
searchpaths: list[str],
|
|
3613
|
-
operator: str,
|
|
3614
|
-
*,
|
|
3615
|
-
props_default: dict = None,
|
|
3616
|
-
prop_filepath: str | None = "filepath",
|
|
3617
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
3618
|
-
filter_path=None,
|
|
3619
|
-
display_name: collections.abc.Callable | None = None,
|
|
3620
|
-
add_operator=None,
|
|
3621
|
-
add_operator_props=None,
|
|
3622
|
-
):
|
|
3623
|
-
"""Populate a menu from a list of paths.
|
|
3624
|
-
|
|
3625
|
-
:param searchpaths: Paths to scan.
|
|
3626
|
-
:type searchpaths: list[str]
|
|
3627
|
-
:param operator: The operator id to use with each file.
|
|
3628
|
-
:type operator: str
|
|
3629
|
-
:param props_default: Properties to assign to each operator.
|
|
3630
|
-
:type props_default: dict
|
|
3631
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
3632
|
-
:type prop_filepath: str | None
|
|
3633
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
3634
|
-
|
|
3635
|
-
Returning false excludes the file from the list.
|
|
3636
|
-
:type filter_ext: collections.abc.Callable | None
|
|
3637
|
-
:param filter_path:
|
|
3638
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
3639
|
-
:type display_name: collections.abc.Callable | None
|
|
3640
|
-
:param add_operator:
|
|
3641
|
-
:param add_operator_props:
|
|
206
|
+
:return: The RNA type or default when not found.
|
|
207
|
+
:rtype: bpy.types.Struct
|
|
3642
208
|
"""
|
|
3643
209
|
...
|
|
3644
210
|
|
|
3645
|
-
def
|
|
3646
|
-
"""
|
|
211
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
:return: The class or default when not found.
|
|
215
|
+
:rtype: typing.Any
|
|
216
|
+
"""
|
|
3647
217
|
...
|
|
3648
218
|
|
|
3649
219
|
@classmethod
|
|
@@ -3654,57 +224,41 @@ class POSE_MT_selection_sets_select(bpy_types._GenericUI):
|
|
|
3654
224
|
"""
|
|
3655
225
|
...
|
|
3656
226
|
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
227
|
+
class DATA_PT_display(bpy.types.Panel, ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
228
|
+
bl_context: typing.Any
|
|
229
|
+
bl_label: typing.Any
|
|
230
|
+
bl_options: typing.Any
|
|
231
|
+
bl_region_type: typing.Any
|
|
232
|
+
bl_rna: typing.Any
|
|
233
|
+
bl_space_type: typing.Any
|
|
234
|
+
id_data: typing.Any
|
|
3660
235
|
|
|
236
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3661
237
|
"""
|
|
3662
|
-
...
|
|
3663
|
-
|
|
3664
|
-
def prepend(self, draw_func):
|
|
3665
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
3666
|
-
the menus draw function
|
|
3667
238
|
|
|
3668
|
-
|
|
239
|
+
:return: The RNA type or default when not found.
|
|
240
|
+
:rtype: bpy.types.Struct
|
|
3669
241
|
"""
|
|
3670
242
|
...
|
|
3671
243
|
|
|
3672
|
-
def
|
|
3673
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
3674
|
-
|
|
3675
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3676
|
-
:rtype: bool
|
|
244
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3677
245
|
"""
|
|
3678
|
-
...
|
|
3679
|
-
|
|
3680
|
-
def property_unset(self):
|
|
3681
|
-
"""Unset a property, will use default value afterward."""
|
|
3682
|
-
...
|
|
3683
|
-
|
|
3684
|
-
def remove(self, draw_func):
|
|
3685
|
-
"""Remove a draw function that has been added to this menu
|
|
3686
246
|
|
|
3687
|
-
:
|
|
247
|
+
:return: The class or default when not found.
|
|
248
|
+
:rtype: typing.Any
|
|
3688
249
|
"""
|
|
3689
250
|
...
|
|
3690
251
|
|
|
3691
|
-
def
|
|
3692
|
-
"""Return a new instance, this is needed because types
|
|
3693
|
-
such as textures can be changed at runtime.
|
|
3694
|
-
|
|
3695
|
-
:return: a new instance of this object with the type initialized again.
|
|
252
|
+
def draw(self, context):
|
|
3696
253
|
"""
|
|
3697
|
-
...
|
|
3698
|
-
|
|
3699
|
-
def values(self):
|
|
3700
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3701
|
-
dictionary function of the same name).
|
|
3702
254
|
|
|
3703
|
-
|
|
255
|
+
:param context:
|
|
3704
256
|
"""
|
|
3705
257
|
...
|
|
3706
258
|
|
|
3707
|
-
class
|
|
259
|
+
class DATA_PT_iksolver_itasc(
|
|
260
|
+
bpy.types.Panel, ArmatureButtonsPanel, bpy_types._GenericUI
|
|
261
|
+
):
|
|
3708
262
|
bl_context: typing.Any
|
|
3709
263
|
bl_label: typing.Any
|
|
3710
264
|
bl_options: typing.Any
|
|
@@ -3713,22 +267,6 @@ class POSE_PT_selection_sets(bpy_types._GenericUI):
|
|
|
3713
267
|
bl_space_type: typing.Any
|
|
3714
268
|
id_data: typing.Any
|
|
3715
269
|
|
|
3716
|
-
def append(self, draw_func):
|
|
3717
|
-
"""Append a draw function to this menu,
|
|
3718
|
-
takes the same arguments as the menus draw function
|
|
3719
|
-
|
|
3720
|
-
:param draw_func:
|
|
3721
|
-
"""
|
|
3722
|
-
...
|
|
3723
|
-
|
|
3724
|
-
def as_pointer(self) -> int:
|
|
3725
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3726
|
-
|
|
3727
|
-
:return: int (memory address).
|
|
3728
|
-
:rtype: int
|
|
3729
|
-
"""
|
|
3730
|
-
...
|
|
3731
|
-
|
|
3732
270
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3733
271
|
"""
|
|
3734
272
|
|
|
@@ -3752,128 +290,95 @@ class POSE_PT_selection_sets(bpy_types._GenericUI):
|
|
|
3752
290
|
"""
|
|
3753
291
|
...
|
|
3754
292
|
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
:return: The driver(s) added.
|
|
3759
|
-
:rtype: bpy.types.FCurve
|
|
293
|
+
@classmethod
|
|
294
|
+
def poll(cls, context):
|
|
3760
295
|
"""
|
|
3761
|
-
...
|
|
3762
296
|
|
|
3763
|
-
|
|
3764
|
-
"""Remove driver(s) from the given property
|
|
3765
|
-
|
|
3766
|
-
:return: Success of driver removal.
|
|
3767
|
-
:rtype: bool
|
|
297
|
+
:param context:
|
|
3768
298
|
"""
|
|
3769
299
|
...
|
|
3770
300
|
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
301
|
+
class DATA_PT_motion_paths(
|
|
302
|
+
bpy.types.Panel,
|
|
303
|
+
bl_ui.properties_animviz.MotionPathButtonsPanel,
|
|
304
|
+
bpy_types._GenericUI,
|
|
305
|
+
):
|
|
306
|
+
bl_context: typing.Any
|
|
307
|
+
bl_label: typing.Any
|
|
308
|
+
bl_options: typing.Any
|
|
309
|
+
bl_region_type: typing.Any
|
|
310
|
+
bl_rna: typing.Any
|
|
311
|
+
bl_space_type: typing.Any
|
|
312
|
+
id_data: typing.Any
|
|
3777
313
|
|
|
3778
|
-
def
|
|
314
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3779
315
|
"""
|
|
3780
316
|
|
|
3781
|
-
:return:
|
|
317
|
+
:return: The RNA type or default when not found.
|
|
318
|
+
:rtype: bpy.types.Struct
|
|
3782
319
|
"""
|
|
3783
320
|
...
|
|
3784
321
|
|
|
3785
|
-
def
|
|
322
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3786
323
|
"""
|
|
3787
324
|
|
|
3788
|
-
:return:
|
|
325
|
+
:return: The class or default when not found.
|
|
326
|
+
:rtype: typing.Any
|
|
3789
327
|
"""
|
|
3790
328
|
...
|
|
3791
329
|
|
|
3792
|
-
def
|
|
3793
|
-
"""
|
|
3794
|
-
|
|
3795
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
330
|
+
def draw(self, context):
|
|
3796
331
|
"""
|
|
3797
|
-
...
|
|
3798
332
|
|
|
3799
|
-
|
|
3800
|
-
def is_property_hidden(self) -> bool:
|
|
3801
|
-
"""Check if a property is hidden.
|
|
3802
|
-
|
|
3803
|
-
:return: True when the property is hidden.
|
|
3804
|
-
:rtype: bool
|
|
333
|
+
:param context:
|
|
3805
334
|
"""
|
|
3806
335
|
...
|
|
3807
336
|
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
:return: True when the property is overridable.
|
|
3812
|
-
:rtype: bool
|
|
337
|
+
@classmethod
|
|
338
|
+
def poll(cls, context):
|
|
3813
339
|
"""
|
|
3814
|
-
...
|
|
3815
340
|
|
|
3816
|
-
|
|
3817
|
-
"""Check if a property is readonly.
|
|
3818
|
-
|
|
3819
|
-
:return: True when the property is readonly (not writable).
|
|
3820
|
-
:rtype: bool
|
|
341
|
+
:param context:
|
|
3821
342
|
"""
|
|
3822
343
|
...
|
|
3823
344
|
|
|
3824
|
-
|
|
3825
|
-
|
|
345
|
+
class DATA_PT_motion_paths_display(
|
|
346
|
+
bpy.types.Panel,
|
|
347
|
+
bl_ui.properties_animviz.MotionPathButtonsPanel_display,
|
|
348
|
+
bpy_types._GenericUI,
|
|
349
|
+
):
|
|
350
|
+
bl_context: typing.Any
|
|
351
|
+
bl_label: typing.Any
|
|
352
|
+
bl_options: typing.Any
|
|
353
|
+
bl_parent_id: typing.Any
|
|
354
|
+
bl_region_type: typing.Any
|
|
355
|
+
bl_rna: typing.Any
|
|
356
|
+
bl_space_type: typing.Any
|
|
357
|
+
id_data: typing.Any
|
|
3826
358
|
|
|
3827
|
-
|
|
3828
|
-
:rtype: bool
|
|
359
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3829
360
|
"""
|
|
3830
|
-
...
|
|
3831
361
|
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
dictionary function of the same name).
|
|
3835
|
-
|
|
3836
|
-
:return: custom property key, value pairs.
|
|
362
|
+
:return: The RNA type or default when not found.
|
|
363
|
+
:rtype: bpy.types.Struct
|
|
3837
364
|
"""
|
|
3838
365
|
...
|
|
3839
366
|
|
|
3840
|
-
def
|
|
3841
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3842
|
-
|
|
3843
|
-
:return: Success of keyframe deletion.
|
|
3844
|
-
:rtype: bool
|
|
367
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3845
368
|
"""
|
|
3846
|
-
...
|
|
3847
369
|
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
:return: Success of keyframe insertion.
|
|
3852
|
-
:rtype: bool
|
|
370
|
+
:return: The class or default when not found.
|
|
371
|
+
:rtype: typing.Any
|
|
3853
372
|
"""
|
|
3854
373
|
...
|
|
3855
374
|
|
|
3856
|
-
def
|
|
3857
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
3858
|
-
dictionary function of the same name).
|
|
3859
|
-
|
|
3860
|
-
:return: custom property keys.
|
|
375
|
+
def draw(self, context):
|
|
3861
376
|
"""
|
|
3862
|
-
...
|
|
3863
377
|
|
|
3864
|
-
|
|
3865
|
-
"""Returns the data path from the ID to this object (string).
|
|
3866
|
-
|
|
3867
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3868
|
-
to this struct and property (when given).
|
|
3869
|
-
:rtype: str
|
|
378
|
+
:param context:
|
|
3870
379
|
"""
|
|
3871
380
|
...
|
|
3872
381
|
|
|
3873
|
-
def path_resolve(self):
|
|
3874
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
3875
|
-
...
|
|
3876
|
-
|
|
3877
382
|
@classmethod
|
|
3878
383
|
def poll(cls, context):
|
|
3879
384
|
"""
|
|
@@ -3882,76 +387,41 @@ class POSE_PT_selection_sets(bpy_types._GenericUI):
|
|
|
3882
387
|
"""
|
|
3883
388
|
...
|
|
3884
389
|
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
390
|
+
class DATA_PT_pose(bpy.types.Panel, ArmatureButtonsPanel, bpy_types._GenericUI):
|
|
391
|
+
bl_context: typing.Any
|
|
392
|
+
bl_label: typing.Any
|
|
393
|
+
bl_region_type: typing.Any
|
|
394
|
+
bl_rna: typing.Any
|
|
395
|
+
bl_space_type: typing.Any
|
|
396
|
+
id_data: typing.Any
|
|
3888
397
|
|
|
398
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3889
399
|
"""
|
|
3890
|
-
...
|
|
3891
400
|
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
the menus draw function
|
|
3895
|
-
|
|
3896
|
-
:param draw_func:
|
|
401
|
+
:return: The RNA type or default when not found.
|
|
402
|
+
:rtype: bpy.types.Struct
|
|
3897
403
|
"""
|
|
3898
404
|
...
|
|
3899
405
|
|
|
3900
|
-
def
|
|
3901
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
3902
|
-
|
|
3903
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3904
|
-
:rtype: bool
|
|
406
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3905
407
|
"""
|
|
3906
|
-
...
|
|
3907
|
-
|
|
3908
|
-
def property_unset(self):
|
|
3909
|
-
"""Unset a property, will use default value afterward."""
|
|
3910
|
-
...
|
|
3911
408
|
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
:param draw_func:
|
|
409
|
+
:return: The class or default when not found.
|
|
410
|
+
:rtype: typing.Any
|
|
3916
411
|
"""
|
|
3917
412
|
...
|
|
3918
413
|
|
|
3919
|
-
def
|
|
3920
|
-
"""Return a new instance, this is needed because types
|
|
3921
|
-
such as textures can be changed at runtime.
|
|
3922
|
-
|
|
3923
|
-
:return: a new instance of this object with the type initialized again.
|
|
414
|
+
def draw(self, context):
|
|
3924
415
|
"""
|
|
3925
|
-
...
|
|
3926
416
|
|
|
3927
|
-
|
|
3928
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3929
|
-
dictionary function of the same name).
|
|
3930
|
-
|
|
3931
|
-
:return: custom property values.
|
|
417
|
+
:param context:
|
|
3932
418
|
"""
|
|
3933
419
|
...
|
|
3934
420
|
|
|
3935
|
-
class
|
|
421
|
+
class DATA_UL_bone_collections(bpy.types.UIList, bpy_types._GenericUI):
|
|
3936
422
|
bl_rna: typing.Any
|
|
3937
423
|
id_data: typing.Any
|
|
3938
424
|
|
|
3939
|
-
def append(self, draw_func):
|
|
3940
|
-
"""Append a draw function to this menu,
|
|
3941
|
-
takes the same arguments as the menus draw function
|
|
3942
|
-
|
|
3943
|
-
:param draw_func:
|
|
3944
|
-
"""
|
|
3945
|
-
...
|
|
3946
|
-
|
|
3947
|
-
def as_pointer(self) -> int:
|
|
3948
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3949
|
-
|
|
3950
|
-
:return: int (memory address).
|
|
3951
|
-
:rtype: int
|
|
3952
|
-
"""
|
|
3953
|
-
...
|
|
3954
|
-
|
|
3955
425
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3956
426
|
"""
|
|
3957
427
|
|
|
@@ -3969,189 +439,193 @@ class POSE_UL_selection_set(bpy_types._GenericUI):
|
|
|
3969
439
|
...
|
|
3970
440
|
|
|
3971
441
|
def draw_item(
|
|
3972
|
-
self,
|
|
442
|
+
self,
|
|
443
|
+
_context,
|
|
444
|
+
layout,
|
|
445
|
+
armature,
|
|
446
|
+
bcoll,
|
|
447
|
+
_icon,
|
|
448
|
+
_active_data,
|
|
449
|
+
_active_propname,
|
|
450
|
+
_index,
|
|
3973
451
|
):
|
|
3974
452
|
"""
|
|
3975
453
|
|
|
3976
|
-
:param
|
|
454
|
+
:param _context:
|
|
3977
455
|
:param layout:
|
|
3978
|
-
:param
|
|
3979
|
-
:param
|
|
3980
|
-
:param
|
|
3981
|
-
:param
|
|
3982
|
-
:param
|
|
3983
|
-
:param
|
|
456
|
+
:param armature:
|
|
457
|
+
:param bcoll:
|
|
458
|
+
:param _icon:
|
|
459
|
+
:param _active_data:
|
|
460
|
+
:param _active_propname:
|
|
461
|
+
:param _index:
|
|
3984
462
|
"""
|
|
3985
463
|
...
|
|
3986
464
|
|
|
3987
|
-
|
|
3988
|
-
|
|
465
|
+
class POSE_MT_selection_set_create(bpy.types.Menu, bpy_types._GenericUI):
|
|
466
|
+
bl_label: typing.Any
|
|
467
|
+
bl_rna: typing.Any
|
|
468
|
+
id_data: typing.Any
|
|
3989
469
|
|
|
3990
|
-
|
|
3991
|
-
:rtype: bpy.types.FCurve
|
|
470
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3992
471
|
"""
|
|
3993
|
-
...
|
|
3994
|
-
|
|
3995
|
-
def driver_remove(self) -> bool:
|
|
3996
|
-
"""Remove driver(s) from the given property
|
|
3997
472
|
|
|
3998
|
-
:return:
|
|
3999
|
-
:rtype:
|
|
473
|
+
:return: The RNA type or default when not found.
|
|
474
|
+
:rtype: bpy.types.Struct
|
|
4000
475
|
"""
|
|
4001
476
|
...
|
|
4002
477
|
|
|
4003
|
-
def
|
|
4004
|
-
"""
|
|
4005
|
-
when not found (matches Python's dictionary function of the same name).
|
|
478
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
479
|
+
"""
|
|
4006
480
|
|
|
481
|
+
:return: The class or default when not found.
|
|
482
|
+
:rtype: typing.Any
|
|
4007
483
|
"""
|
|
4008
484
|
...
|
|
4009
485
|
|
|
4010
|
-
def
|
|
486
|
+
def draw(self, context):
|
|
4011
487
|
"""
|
|
4012
488
|
|
|
4013
|
-
:
|
|
489
|
+
:param context:
|
|
4014
490
|
"""
|
|
4015
491
|
...
|
|
4016
492
|
|
|
4017
|
-
|
|
493
|
+
class POSE_MT_selection_sets_context_menu(bpy.types.Menu, bpy_types._GenericUI):
|
|
494
|
+
bl_label: typing.Any
|
|
495
|
+
bl_rna: typing.Any
|
|
496
|
+
id_data: typing.Any
|
|
497
|
+
|
|
498
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
4018
499
|
"""
|
|
4019
500
|
|
|
4020
|
-
:return:
|
|
501
|
+
:return: The RNA type or default when not found.
|
|
502
|
+
:rtype: bpy.types.Struct
|
|
4021
503
|
"""
|
|
4022
504
|
...
|
|
4023
505
|
|
|
4024
|
-
def
|
|
506
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
4025
507
|
"""
|
|
4026
508
|
|
|
4027
|
-
:return:
|
|
509
|
+
:return: The class or default when not found.
|
|
510
|
+
:rtype: typing.Any
|
|
4028
511
|
"""
|
|
4029
512
|
...
|
|
4030
513
|
|
|
4031
|
-
def
|
|
4032
|
-
def is_property_hidden(self) -> bool:
|
|
4033
|
-
"""Check if a property is hidden.
|
|
4034
|
-
|
|
4035
|
-
:return: True when the property is hidden.
|
|
4036
|
-
:rtype: bool
|
|
514
|
+
def draw(self, context):
|
|
4037
515
|
"""
|
|
4038
|
-
...
|
|
4039
|
-
|
|
4040
|
-
def is_property_overridable_library(self) -> bool:
|
|
4041
|
-
"""Check if a property is overridable.
|
|
4042
516
|
|
|
4043
|
-
:
|
|
4044
|
-
:rtype: bool
|
|
517
|
+
:param context:
|
|
4045
518
|
"""
|
|
4046
519
|
...
|
|
4047
520
|
|
|
4048
|
-
|
|
4049
|
-
|
|
521
|
+
class POSE_MT_selection_sets_select(bpy.types.Menu, bpy_types._GenericUI):
|
|
522
|
+
bl_label: typing.Any
|
|
523
|
+
bl_rna: typing.Any
|
|
524
|
+
id_data: typing.Any
|
|
4050
525
|
|
|
4051
|
-
|
|
4052
|
-
:rtype: bool
|
|
526
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
4053
527
|
"""
|
|
4054
|
-
...
|
|
4055
528
|
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
:return: True when the property has been set.
|
|
4060
|
-
:rtype: bool
|
|
529
|
+
:return: The RNA type or default when not found.
|
|
530
|
+
:rtype: bpy.types.Struct
|
|
4061
531
|
"""
|
|
4062
532
|
...
|
|
4063
533
|
|
|
4064
|
-
def
|
|
4065
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
4066
|
-
dictionary function of the same name).
|
|
4067
|
-
|
|
4068
|
-
:return: custom property key, value pairs.
|
|
534
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
4069
535
|
"""
|
|
4070
|
-
...
|
|
4071
536
|
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
:return: Success of keyframe deletion.
|
|
4076
|
-
:rtype: bool
|
|
537
|
+
:return: The class or default when not found.
|
|
538
|
+
:rtype: typing.Any
|
|
4077
539
|
"""
|
|
4078
540
|
...
|
|
4079
541
|
|
|
4080
|
-
def
|
|
4081
|
-
"""
|
|
542
|
+
def draw(self, context):
|
|
543
|
+
"""
|
|
4082
544
|
|
|
4083
|
-
:
|
|
4084
|
-
:rtype: bool
|
|
545
|
+
:param context:
|
|
4085
546
|
"""
|
|
4086
547
|
...
|
|
4087
548
|
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
549
|
+
@classmethod
|
|
550
|
+
def poll(cls, context):
|
|
551
|
+
"""
|
|
4091
552
|
|
|
4092
|
-
|
|
553
|
+
:param context:
|
|
4093
554
|
"""
|
|
4094
555
|
...
|
|
4095
556
|
|
|
4096
|
-
|
|
4097
|
-
|
|
557
|
+
class POSE_PT_selection_sets(bpy.types.Panel, bpy_types._GenericUI):
|
|
558
|
+
bl_context: typing.Any
|
|
559
|
+
bl_label: typing.Any
|
|
560
|
+
bl_options: typing.Any
|
|
561
|
+
bl_region_type: typing.Any
|
|
562
|
+
bl_rna: typing.Any
|
|
563
|
+
bl_space_type: typing.Any
|
|
564
|
+
id_data: typing.Any
|
|
4098
565
|
|
|
4099
|
-
|
|
4100
|
-
to this struct and property (when given).
|
|
4101
|
-
:rtype: str
|
|
566
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
4102
567
|
"""
|
|
4103
|
-
...
|
|
4104
568
|
|
|
4105
|
-
|
|
4106
|
-
|
|
569
|
+
:return: The RNA type or default when not found.
|
|
570
|
+
:rtype: bpy.types.Struct
|
|
571
|
+
"""
|
|
4107
572
|
...
|
|
4108
573
|
|
|
4109
|
-
def
|
|
4110
|
-
"""
|
|
4111
|
-
when not found (matches Python's dictionary function of the same name).
|
|
574
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
575
|
+
"""
|
|
4112
576
|
|
|
577
|
+
:return: The class or default when not found.
|
|
578
|
+
:rtype: typing.Any
|
|
4113
579
|
"""
|
|
4114
580
|
...
|
|
4115
581
|
|
|
4116
|
-
def
|
|
4117
|
-
"""
|
|
4118
|
-
the menus draw function
|
|
582
|
+
def draw(self, context):
|
|
583
|
+
"""
|
|
4119
584
|
|
|
4120
|
-
|
|
585
|
+
:param context:
|
|
4121
586
|
"""
|
|
4122
587
|
...
|
|
4123
588
|
|
|
4124
|
-
|
|
4125
|
-
|
|
589
|
+
@classmethod
|
|
590
|
+
def poll(cls, context):
|
|
591
|
+
"""
|
|
4126
592
|
|
|
4127
|
-
:
|
|
4128
|
-
:rtype: bool
|
|
593
|
+
:param context:
|
|
4129
594
|
"""
|
|
4130
595
|
...
|
|
4131
596
|
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
597
|
+
class POSE_UL_selection_set(bpy.types.UIList, bpy_types._GenericUI):
|
|
598
|
+
bl_rna: typing.Any
|
|
599
|
+
id_data: typing.Any
|
|
4135
600
|
|
|
4136
|
-
def
|
|
4137
|
-
"""
|
|
601
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
602
|
+
"""
|
|
4138
603
|
|
|
4139
|
-
:
|
|
604
|
+
:return: The RNA type or default when not found.
|
|
605
|
+
:rtype: bpy.types.Struct
|
|
4140
606
|
"""
|
|
4141
607
|
...
|
|
4142
608
|
|
|
4143
|
-
def
|
|
4144
|
-
"""
|
|
4145
|
-
such as textures can be changed at runtime.
|
|
609
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
610
|
+
"""
|
|
4146
611
|
|
|
4147
|
-
|
|
612
|
+
:return: The class or default when not found.
|
|
613
|
+
:rtype: typing.Any
|
|
4148
614
|
"""
|
|
4149
615
|
...
|
|
4150
616
|
|
|
4151
|
-
def
|
|
4152
|
-
|
|
4153
|
-
|
|
617
|
+
def draw_item(
|
|
618
|
+
self, context, layout, data, item, icon, active_data, active_propname, index
|
|
619
|
+
):
|
|
620
|
+
"""
|
|
4154
621
|
|
|
4155
|
-
|
|
622
|
+
:param context:
|
|
623
|
+
:param layout:
|
|
624
|
+
:param data:
|
|
625
|
+
:param item:
|
|
626
|
+
:param icon:
|
|
627
|
+
:param active_data:
|
|
628
|
+
:param active_propname:
|
|
629
|
+
:param index:
|
|
4156
630
|
"""
|
|
4157
631
|
...
|