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
bl_operators/object/__init__.pyi
CHANGED
|
@@ -6,7 +6,7 @@ import bpy.types
|
|
|
6
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
|
-
class ClearAllRestrictRender:
|
|
9
|
+
class ClearAllRestrictRender(bpy.types.Operator):
|
|
10
10
|
"""Reveal all render objects by setting the hide render flag"""
|
|
11
11
|
|
|
12
12
|
bl_idname: typing.Any
|
|
@@ -15,2140 +15,6 @@ class ClearAllRestrictRender:
|
|
|
15
15
|
bl_rna: typing.Any
|
|
16
16
|
id_data: typing.Any
|
|
17
17
|
|
|
18
|
-
def as_keywords(self, *, ignore=()):
|
|
19
|
-
"""Return a copy of the properties as a dictionary
|
|
20
|
-
|
|
21
|
-
:param ignore:
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def as_pointer(self) -> int:
|
|
26
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
27
|
-
|
|
28
|
-
:return: int (memory address).
|
|
29
|
-
:rtype: int
|
|
30
|
-
"""
|
|
31
|
-
...
|
|
32
|
-
|
|
33
|
-
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 driver_add(self) -> bpy.types.FCurve:
|
|
50
|
-
"""Adds driver(s) to the given property
|
|
51
|
-
|
|
52
|
-
:return: The driver(s) added.
|
|
53
|
-
:rtype: bpy.types.FCurve
|
|
54
|
-
"""
|
|
55
|
-
...
|
|
56
|
-
|
|
57
|
-
def driver_remove(self) -> bool:
|
|
58
|
-
"""Remove driver(s) from the given property
|
|
59
|
-
|
|
60
|
-
:return: Success of driver removal.
|
|
61
|
-
:rtype: bool
|
|
62
|
-
"""
|
|
63
|
-
...
|
|
64
|
-
|
|
65
|
-
def execute(self, context):
|
|
66
|
-
"""
|
|
67
|
-
|
|
68
|
-
:param context:
|
|
69
|
-
"""
|
|
70
|
-
...
|
|
71
|
-
|
|
72
|
-
def get(self):
|
|
73
|
-
"""Returns the value of the custom property assigned to key or default
|
|
74
|
-
when not found (matches Python's dictionary function of the same name).
|
|
75
|
-
|
|
76
|
-
"""
|
|
77
|
-
...
|
|
78
|
-
|
|
79
|
-
def id_properties_clear(self):
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
83
|
-
"""
|
|
84
|
-
...
|
|
85
|
-
|
|
86
|
-
def id_properties_ensure(self):
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
90
|
-
"""
|
|
91
|
-
...
|
|
92
|
-
|
|
93
|
-
def id_properties_ui(self):
|
|
94
|
-
"""
|
|
95
|
-
|
|
96
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
|
-
def is_property_hidden(self) -> bool:
|
|
101
|
-
"""Check if a property is hidden.
|
|
102
|
-
|
|
103
|
-
:return: True when the property is hidden.
|
|
104
|
-
:rtype: bool
|
|
105
|
-
"""
|
|
106
|
-
...
|
|
107
|
-
|
|
108
|
-
def is_property_overridable_library(self) -> bool:
|
|
109
|
-
"""Check if a property is overridable.
|
|
110
|
-
|
|
111
|
-
:return: True when the property is overridable.
|
|
112
|
-
:rtype: bool
|
|
113
|
-
"""
|
|
114
|
-
...
|
|
115
|
-
|
|
116
|
-
def is_property_readonly(self) -> bool:
|
|
117
|
-
"""Check if a property is readonly.
|
|
118
|
-
|
|
119
|
-
:return: True when the property is readonly (not writable).
|
|
120
|
-
:rtype: bool
|
|
121
|
-
"""
|
|
122
|
-
...
|
|
123
|
-
|
|
124
|
-
def is_property_set(self) -> bool:
|
|
125
|
-
"""Check if a property is set, use for testing operator properties.
|
|
126
|
-
|
|
127
|
-
:return: True when the property has been set.
|
|
128
|
-
:rtype: bool
|
|
129
|
-
"""
|
|
130
|
-
...
|
|
131
|
-
|
|
132
|
-
def items(self):
|
|
133
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
134
|
-
dictionary function of the same name).
|
|
135
|
-
|
|
136
|
-
:return: custom property key, value pairs.
|
|
137
|
-
"""
|
|
138
|
-
...
|
|
139
|
-
|
|
140
|
-
def keyframe_delete(self) -> bool:
|
|
141
|
-
"""Remove a keyframe from this properties fcurve.
|
|
142
|
-
|
|
143
|
-
:return: Success of keyframe deletion.
|
|
144
|
-
:rtype: bool
|
|
145
|
-
"""
|
|
146
|
-
...
|
|
147
|
-
|
|
148
|
-
def keyframe_insert(self) -> bool:
|
|
149
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
150
|
-
|
|
151
|
-
:return: Success of keyframe insertion.
|
|
152
|
-
:rtype: bool
|
|
153
|
-
"""
|
|
154
|
-
...
|
|
155
|
-
|
|
156
|
-
def keys(self):
|
|
157
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
158
|
-
dictionary function of the same name).
|
|
159
|
-
|
|
160
|
-
:return: custom property keys.
|
|
161
|
-
"""
|
|
162
|
-
...
|
|
163
|
-
|
|
164
|
-
def path_from_id(self) -> str:
|
|
165
|
-
"""Returns the data path from the ID to this object (string).
|
|
166
|
-
|
|
167
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
168
|
-
to this struct and property (when given).
|
|
169
|
-
:rtype: str
|
|
170
|
-
"""
|
|
171
|
-
...
|
|
172
|
-
|
|
173
|
-
def path_resolve(self):
|
|
174
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
175
|
-
...
|
|
176
|
-
|
|
177
|
-
def poll_message_set(self):
|
|
178
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
179
|
-
...
|
|
180
|
-
|
|
181
|
-
def pop(self):
|
|
182
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
183
|
-
when not found (matches Python's dictionary function of the same name).
|
|
184
|
-
|
|
185
|
-
"""
|
|
186
|
-
...
|
|
187
|
-
|
|
188
|
-
def property_overridable_library_set(self) -> bool:
|
|
189
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
190
|
-
|
|
191
|
-
:return: True when the overridable status of the property was successfully set.
|
|
192
|
-
:rtype: bool
|
|
193
|
-
"""
|
|
194
|
-
...
|
|
195
|
-
|
|
196
|
-
def property_unset(self):
|
|
197
|
-
"""Unset a property, will use default value afterward."""
|
|
198
|
-
...
|
|
199
|
-
|
|
200
|
-
def type_recast(self):
|
|
201
|
-
"""Return a new instance, this is needed because types
|
|
202
|
-
such as textures can be changed at runtime.
|
|
203
|
-
|
|
204
|
-
:return: a new instance of this object with the type initialized again.
|
|
205
|
-
"""
|
|
206
|
-
...
|
|
207
|
-
|
|
208
|
-
def values(self):
|
|
209
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
210
|
-
dictionary function of the same name).
|
|
211
|
-
|
|
212
|
-
:return: custom property values.
|
|
213
|
-
"""
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
class DupliOffsetFromCursor:
|
|
217
|
-
"""Set offset used for collection instances based on cursor position"""
|
|
218
|
-
|
|
219
|
-
bl_idname: typing.Any
|
|
220
|
-
bl_label: typing.Any
|
|
221
|
-
bl_options: typing.Any
|
|
222
|
-
bl_rna: typing.Any
|
|
223
|
-
id_data: typing.Any
|
|
224
|
-
|
|
225
|
-
def as_keywords(self, *, ignore=()):
|
|
226
|
-
"""Return a copy of the properties as a dictionary
|
|
227
|
-
|
|
228
|
-
:param ignore:
|
|
229
|
-
"""
|
|
230
|
-
...
|
|
231
|
-
|
|
232
|
-
def as_pointer(self) -> int:
|
|
233
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
234
|
-
|
|
235
|
-
:return: int (memory address).
|
|
236
|
-
:rtype: int
|
|
237
|
-
"""
|
|
238
|
-
...
|
|
239
|
-
|
|
240
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
241
|
-
"""
|
|
242
|
-
|
|
243
|
-
:return: The RNA type or default when not found.
|
|
244
|
-
:rtype: bpy.types.Struct
|
|
245
|
-
"""
|
|
246
|
-
...
|
|
247
|
-
|
|
248
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
249
|
-
"""
|
|
250
|
-
|
|
251
|
-
:return: The class or default when not found.
|
|
252
|
-
:rtype: typing.Any
|
|
253
|
-
"""
|
|
254
|
-
...
|
|
255
|
-
|
|
256
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
257
|
-
"""Adds driver(s) to the given property
|
|
258
|
-
|
|
259
|
-
:return: The driver(s) added.
|
|
260
|
-
:rtype: bpy.types.FCurve
|
|
261
|
-
"""
|
|
262
|
-
...
|
|
263
|
-
|
|
264
|
-
def driver_remove(self) -> bool:
|
|
265
|
-
"""Remove driver(s) from the given property
|
|
266
|
-
|
|
267
|
-
:return: Success of driver removal.
|
|
268
|
-
:rtype: bool
|
|
269
|
-
"""
|
|
270
|
-
...
|
|
271
|
-
|
|
272
|
-
def execute(self, context):
|
|
273
|
-
"""
|
|
274
|
-
|
|
275
|
-
:param context:
|
|
276
|
-
"""
|
|
277
|
-
...
|
|
278
|
-
|
|
279
|
-
def get(self):
|
|
280
|
-
"""Returns the value of the custom property assigned to key or default
|
|
281
|
-
when not found (matches Python's dictionary function of the same name).
|
|
282
|
-
|
|
283
|
-
"""
|
|
284
|
-
...
|
|
285
|
-
|
|
286
|
-
def id_properties_clear(self):
|
|
287
|
-
"""
|
|
288
|
-
|
|
289
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
290
|
-
"""
|
|
291
|
-
...
|
|
292
|
-
|
|
293
|
-
def id_properties_ensure(self):
|
|
294
|
-
"""
|
|
295
|
-
|
|
296
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
297
|
-
"""
|
|
298
|
-
...
|
|
299
|
-
|
|
300
|
-
def id_properties_ui(self):
|
|
301
|
-
"""
|
|
302
|
-
|
|
303
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
304
|
-
"""
|
|
305
|
-
...
|
|
306
|
-
|
|
307
|
-
def is_property_hidden(self) -> bool:
|
|
308
|
-
"""Check if a property is hidden.
|
|
309
|
-
|
|
310
|
-
:return: True when the property is hidden.
|
|
311
|
-
:rtype: bool
|
|
312
|
-
"""
|
|
313
|
-
...
|
|
314
|
-
|
|
315
|
-
def is_property_overridable_library(self) -> bool:
|
|
316
|
-
"""Check if a property is overridable.
|
|
317
|
-
|
|
318
|
-
:return: True when the property is overridable.
|
|
319
|
-
:rtype: bool
|
|
320
|
-
"""
|
|
321
|
-
...
|
|
322
|
-
|
|
323
|
-
def is_property_readonly(self) -> bool:
|
|
324
|
-
"""Check if a property is readonly.
|
|
325
|
-
|
|
326
|
-
:return: True when the property is readonly (not writable).
|
|
327
|
-
:rtype: bool
|
|
328
|
-
"""
|
|
329
|
-
...
|
|
330
|
-
|
|
331
|
-
def is_property_set(self) -> bool:
|
|
332
|
-
"""Check if a property is set, use for testing operator properties.
|
|
333
|
-
|
|
334
|
-
:return: True when the property has been set.
|
|
335
|
-
:rtype: bool
|
|
336
|
-
"""
|
|
337
|
-
...
|
|
338
|
-
|
|
339
|
-
def items(self):
|
|
340
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
341
|
-
dictionary function of the same name).
|
|
342
|
-
|
|
343
|
-
:return: custom property key, value pairs.
|
|
344
|
-
"""
|
|
345
|
-
...
|
|
346
|
-
|
|
347
|
-
def keyframe_delete(self) -> bool:
|
|
348
|
-
"""Remove a keyframe from this properties fcurve.
|
|
349
|
-
|
|
350
|
-
:return: Success of keyframe deletion.
|
|
351
|
-
:rtype: bool
|
|
352
|
-
"""
|
|
353
|
-
...
|
|
354
|
-
|
|
355
|
-
def keyframe_insert(self) -> bool:
|
|
356
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
357
|
-
|
|
358
|
-
:return: Success of keyframe insertion.
|
|
359
|
-
:rtype: bool
|
|
360
|
-
"""
|
|
361
|
-
...
|
|
362
|
-
|
|
363
|
-
def keys(self):
|
|
364
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
365
|
-
dictionary function of the same name).
|
|
366
|
-
|
|
367
|
-
:return: custom property keys.
|
|
368
|
-
"""
|
|
369
|
-
...
|
|
370
|
-
|
|
371
|
-
def path_from_id(self) -> str:
|
|
372
|
-
"""Returns the data path from the ID to this object (string).
|
|
373
|
-
|
|
374
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
375
|
-
to this struct and property (when given).
|
|
376
|
-
:rtype: str
|
|
377
|
-
"""
|
|
378
|
-
...
|
|
379
|
-
|
|
380
|
-
def path_resolve(self):
|
|
381
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
382
|
-
...
|
|
383
|
-
|
|
384
|
-
def poll_message_set(self):
|
|
385
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
386
|
-
...
|
|
387
|
-
|
|
388
|
-
def pop(self):
|
|
389
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
390
|
-
when not found (matches Python's dictionary function of the same name).
|
|
391
|
-
|
|
392
|
-
"""
|
|
393
|
-
...
|
|
394
|
-
|
|
395
|
-
def property_overridable_library_set(self) -> bool:
|
|
396
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
397
|
-
|
|
398
|
-
:return: True when the overridable status of the property was successfully set.
|
|
399
|
-
:rtype: bool
|
|
400
|
-
"""
|
|
401
|
-
...
|
|
402
|
-
|
|
403
|
-
def property_unset(self):
|
|
404
|
-
"""Unset a property, will use default value afterward."""
|
|
405
|
-
...
|
|
406
|
-
|
|
407
|
-
def type_recast(self):
|
|
408
|
-
"""Return a new instance, this is needed because types
|
|
409
|
-
such as textures can be changed at runtime.
|
|
410
|
-
|
|
411
|
-
:return: a new instance of this object with the type initialized again.
|
|
412
|
-
"""
|
|
413
|
-
...
|
|
414
|
-
|
|
415
|
-
def values(self):
|
|
416
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
417
|
-
dictionary function of the same name).
|
|
418
|
-
|
|
419
|
-
:return: custom property values.
|
|
420
|
-
"""
|
|
421
|
-
...
|
|
422
|
-
|
|
423
|
-
class DupliOffsetFromObject:
|
|
424
|
-
"""Set offset used for collection instances based on the active object position"""
|
|
425
|
-
|
|
426
|
-
bl_idname: typing.Any
|
|
427
|
-
bl_label: typing.Any
|
|
428
|
-
bl_options: typing.Any
|
|
429
|
-
bl_rna: typing.Any
|
|
430
|
-
id_data: typing.Any
|
|
431
|
-
|
|
432
|
-
def as_keywords(self, *, ignore=()):
|
|
433
|
-
"""Return a copy of the properties as a dictionary
|
|
434
|
-
|
|
435
|
-
:param ignore:
|
|
436
|
-
"""
|
|
437
|
-
...
|
|
438
|
-
|
|
439
|
-
def as_pointer(self) -> int:
|
|
440
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
441
|
-
|
|
442
|
-
:return: int (memory address).
|
|
443
|
-
:rtype: int
|
|
444
|
-
"""
|
|
445
|
-
...
|
|
446
|
-
|
|
447
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
448
|
-
"""
|
|
449
|
-
|
|
450
|
-
:return: The RNA type or default when not found.
|
|
451
|
-
:rtype: bpy.types.Struct
|
|
452
|
-
"""
|
|
453
|
-
...
|
|
454
|
-
|
|
455
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
456
|
-
"""
|
|
457
|
-
|
|
458
|
-
:return: The class or default when not found.
|
|
459
|
-
:rtype: typing.Any
|
|
460
|
-
"""
|
|
461
|
-
...
|
|
462
|
-
|
|
463
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
464
|
-
"""Adds driver(s) to the given property
|
|
465
|
-
|
|
466
|
-
:return: The driver(s) added.
|
|
467
|
-
:rtype: bpy.types.FCurve
|
|
468
|
-
"""
|
|
469
|
-
...
|
|
470
|
-
|
|
471
|
-
def driver_remove(self) -> bool:
|
|
472
|
-
"""Remove driver(s) from the given property
|
|
473
|
-
|
|
474
|
-
:return: Success of driver removal.
|
|
475
|
-
:rtype: bool
|
|
476
|
-
"""
|
|
477
|
-
...
|
|
478
|
-
|
|
479
|
-
def execute(self, context):
|
|
480
|
-
"""
|
|
481
|
-
|
|
482
|
-
:param context:
|
|
483
|
-
"""
|
|
484
|
-
...
|
|
485
|
-
|
|
486
|
-
def get(self):
|
|
487
|
-
"""Returns the value of the custom property assigned to key or default
|
|
488
|
-
when not found (matches Python's dictionary function of the same name).
|
|
489
|
-
|
|
490
|
-
"""
|
|
491
|
-
...
|
|
492
|
-
|
|
493
|
-
def id_properties_clear(self):
|
|
494
|
-
"""
|
|
495
|
-
|
|
496
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
497
|
-
"""
|
|
498
|
-
...
|
|
499
|
-
|
|
500
|
-
def id_properties_ensure(self):
|
|
501
|
-
"""
|
|
502
|
-
|
|
503
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
504
|
-
"""
|
|
505
|
-
...
|
|
506
|
-
|
|
507
|
-
def id_properties_ui(self):
|
|
508
|
-
"""
|
|
509
|
-
|
|
510
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
511
|
-
"""
|
|
512
|
-
...
|
|
513
|
-
|
|
514
|
-
def is_property_hidden(self) -> bool:
|
|
515
|
-
"""Check if a property is hidden.
|
|
516
|
-
|
|
517
|
-
:return: True when the property is hidden.
|
|
518
|
-
:rtype: bool
|
|
519
|
-
"""
|
|
520
|
-
...
|
|
521
|
-
|
|
522
|
-
def is_property_overridable_library(self) -> bool:
|
|
523
|
-
"""Check if a property is overridable.
|
|
524
|
-
|
|
525
|
-
:return: True when the property is overridable.
|
|
526
|
-
:rtype: bool
|
|
527
|
-
"""
|
|
528
|
-
...
|
|
529
|
-
|
|
530
|
-
def is_property_readonly(self) -> bool:
|
|
531
|
-
"""Check if a property is readonly.
|
|
532
|
-
|
|
533
|
-
:return: True when the property is readonly (not writable).
|
|
534
|
-
:rtype: bool
|
|
535
|
-
"""
|
|
536
|
-
...
|
|
537
|
-
|
|
538
|
-
def is_property_set(self) -> bool:
|
|
539
|
-
"""Check if a property is set, use for testing operator properties.
|
|
540
|
-
|
|
541
|
-
:return: True when the property has been set.
|
|
542
|
-
:rtype: bool
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
545
|
-
|
|
546
|
-
def items(self):
|
|
547
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
548
|
-
dictionary function of the same name).
|
|
549
|
-
|
|
550
|
-
:return: custom property key, value pairs.
|
|
551
|
-
"""
|
|
552
|
-
...
|
|
553
|
-
|
|
554
|
-
def keyframe_delete(self) -> bool:
|
|
555
|
-
"""Remove a keyframe from this properties fcurve.
|
|
556
|
-
|
|
557
|
-
:return: Success of keyframe deletion.
|
|
558
|
-
:rtype: bool
|
|
559
|
-
"""
|
|
560
|
-
...
|
|
561
|
-
|
|
562
|
-
def keyframe_insert(self) -> bool:
|
|
563
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
564
|
-
|
|
565
|
-
:return: Success of keyframe insertion.
|
|
566
|
-
:rtype: bool
|
|
567
|
-
"""
|
|
568
|
-
...
|
|
569
|
-
|
|
570
|
-
def keys(self):
|
|
571
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
572
|
-
dictionary function of the same name).
|
|
573
|
-
|
|
574
|
-
:return: custom property keys.
|
|
575
|
-
"""
|
|
576
|
-
...
|
|
577
|
-
|
|
578
|
-
def path_from_id(self) -> str:
|
|
579
|
-
"""Returns the data path from the ID to this object (string).
|
|
580
|
-
|
|
581
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
582
|
-
to this struct and property (when given).
|
|
583
|
-
:rtype: str
|
|
584
|
-
"""
|
|
585
|
-
...
|
|
586
|
-
|
|
587
|
-
def path_resolve(self):
|
|
588
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
589
|
-
...
|
|
590
|
-
|
|
591
|
-
@classmethod
|
|
592
|
-
def poll(cls, context):
|
|
593
|
-
"""
|
|
594
|
-
|
|
595
|
-
:param context:
|
|
596
|
-
"""
|
|
597
|
-
...
|
|
598
|
-
|
|
599
|
-
def poll_message_set(self):
|
|
600
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
601
|
-
...
|
|
602
|
-
|
|
603
|
-
def pop(self):
|
|
604
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
605
|
-
when not found (matches Python's dictionary function of the same name).
|
|
606
|
-
|
|
607
|
-
"""
|
|
608
|
-
...
|
|
609
|
-
|
|
610
|
-
def property_overridable_library_set(self) -> bool:
|
|
611
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
612
|
-
|
|
613
|
-
:return: True when the overridable status of the property was successfully set.
|
|
614
|
-
:rtype: bool
|
|
615
|
-
"""
|
|
616
|
-
...
|
|
617
|
-
|
|
618
|
-
def property_unset(self):
|
|
619
|
-
"""Unset a property, will use default value afterward."""
|
|
620
|
-
...
|
|
621
|
-
|
|
622
|
-
def type_recast(self):
|
|
623
|
-
"""Return a new instance, this is needed because types
|
|
624
|
-
such as textures can be changed at runtime.
|
|
625
|
-
|
|
626
|
-
:return: a new instance of this object with the type initialized again.
|
|
627
|
-
"""
|
|
628
|
-
...
|
|
629
|
-
|
|
630
|
-
def values(self):
|
|
631
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
632
|
-
dictionary function of the same name).
|
|
633
|
-
|
|
634
|
-
:return: custom property values.
|
|
635
|
-
"""
|
|
636
|
-
...
|
|
637
|
-
|
|
638
|
-
class DupliOffsetToCursor:
|
|
639
|
-
"""Set cursor position to the offset used for collection instances"""
|
|
640
|
-
|
|
641
|
-
bl_idname: typing.Any
|
|
642
|
-
bl_label: typing.Any
|
|
643
|
-
bl_options: typing.Any
|
|
644
|
-
bl_rna: typing.Any
|
|
645
|
-
id_data: typing.Any
|
|
646
|
-
|
|
647
|
-
def as_keywords(self, *, ignore=()):
|
|
648
|
-
"""Return a copy of the properties as a dictionary
|
|
649
|
-
|
|
650
|
-
:param ignore:
|
|
651
|
-
"""
|
|
652
|
-
...
|
|
653
|
-
|
|
654
|
-
def as_pointer(self) -> int:
|
|
655
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
656
|
-
|
|
657
|
-
:return: int (memory address).
|
|
658
|
-
:rtype: int
|
|
659
|
-
"""
|
|
660
|
-
...
|
|
661
|
-
|
|
662
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
663
|
-
"""
|
|
664
|
-
|
|
665
|
-
:return: The RNA type or default when not found.
|
|
666
|
-
:rtype: bpy.types.Struct
|
|
667
|
-
"""
|
|
668
|
-
...
|
|
669
|
-
|
|
670
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
671
|
-
"""
|
|
672
|
-
|
|
673
|
-
:return: The class or default when not found.
|
|
674
|
-
:rtype: typing.Any
|
|
675
|
-
"""
|
|
676
|
-
...
|
|
677
|
-
|
|
678
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
679
|
-
"""Adds driver(s) to the given property
|
|
680
|
-
|
|
681
|
-
:return: The driver(s) added.
|
|
682
|
-
:rtype: bpy.types.FCurve
|
|
683
|
-
"""
|
|
684
|
-
...
|
|
685
|
-
|
|
686
|
-
def driver_remove(self) -> bool:
|
|
687
|
-
"""Remove driver(s) from the given property
|
|
688
|
-
|
|
689
|
-
:return: Success of driver removal.
|
|
690
|
-
:rtype: bool
|
|
691
|
-
"""
|
|
692
|
-
...
|
|
693
|
-
|
|
694
|
-
def execute(self, context):
|
|
695
|
-
"""
|
|
696
|
-
|
|
697
|
-
:param context:
|
|
698
|
-
"""
|
|
699
|
-
...
|
|
700
|
-
|
|
701
|
-
def get(self):
|
|
702
|
-
"""Returns the value of the custom property assigned to key or default
|
|
703
|
-
when not found (matches Python's dictionary function of the same name).
|
|
704
|
-
|
|
705
|
-
"""
|
|
706
|
-
...
|
|
707
|
-
|
|
708
|
-
def id_properties_clear(self):
|
|
709
|
-
"""
|
|
710
|
-
|
|
711
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
712
|
-
"""
|
|
713
|
-
...
|
|
714
|
-
|
|
715
|
-
def id_properties_ensure(self):
|
|
716
|
-
"""
|
|
717
|
-
|
|
718
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
719
|
-
"""
|
|
720
|
-
...
|
|
721
|
-
|
|
722
|
-
def id_properties_ui(self):
|
|
723
|
-
"""
|
|
724
|
-
|
|
725
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
726
|
-
"""
|
|
727
|
-
...
|
|
728
|
-
|
|
729
|
-
def is_property_hidden(self) -> bool:
|
|
730
|
-
"""Check if a property is hidden.
|
|
731
|
-
|
|
732
|
-
:return: True when the property is hidden.
|
|
733
|
-
:rtype: bool
|
|
734
|
-
"""
|
|
735
|
-
...
|
|
736
|
-
|
|
737
|
-
def is_property_overridable_library(self) -> bool:
|
|
738
|
-
"""Check if a property is overridable.
|
|
739
|
-
|
|
740
|
-
:return: True when the property is overridable.
|
|
741
|
-
:rtype: bool
|
|
742
|
-
"""
|
|
743
|
-
...
|
|
744
|
-
|
|
745
|
-
def is_property_readonly(self) -> bool:
|
|
746
|
-
"""Check if a property is readonly.
|
|
747
|
-
|
|
748
|
-
:return: True when the property is readonly (not writable).
|
|
749
|
-
:rtype: bool
|
|
750
|
-
"""
|
|
751
|
-
...
|
|
752
|
-
|
|
753
|
-
def is_property_set(self) -> bool:
|
|
754
|
-
"""Check if a property is set, use for testing operator properties.
|
|
755
|
-
|
|
756
|
-
:return: True when the property has been set.
|
|
757
|
-
:rtype: bool
|
|
758
|
-
"""
|
|
759
|
-
...
|
|
760
|
-
|
|
761
|
-
def items(self):
|
|
762
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
763
|
-
dictionary function of the same name).
|
|
764
|
-
|
|
765
|
-
:return: custom property key, value pairs.
|
|
766
|
-
"""
|
|
767
|
-
...
|
|
768
|
-
|
|
769
|
-
def keyframe_delete(self) -> bool:
|
|
770
|
-
"""Remove a keyframe from this properties fcurve.
|
|
771
|
-
|
|
772
|
-
:return: Success of keyframe deletion.
|
|
773
|
-
:rtype: bool
|
|
774
|
-
"""
|
|
775
|
-
...
|
|
776
|
-
|
|
777
|
-
def keyframe_insert(self) -> bool:
|
|
778
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
779
|
-
|
|
780
|
-
:return: Success of keyframe insertion.
|
|
781
|
-
:rtype: bool
|
|
782
|
-
"""
|
|
783
|
-
...
|
|
784
|
-
|
|
785
|
-
def keys(self):
|
|
786
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
787
|
-
dictionary function of the same name).
|
|
788
|
-
|
|
789
|
-
:return: custom property keys.
|
|
790
|
-
"""
|
|
791
|
-
...
|
|
792
|
-
|
|
793
|
-
def path_from_id(self) -> str:
|
|
794
|
-
"""Returns the data path from the ID to this object (string).
|
|
795
|
-
|
|
796
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
797
|
-
to this struct and property (when given).
|
|
798
|
-
:rtype: str
|
|
799
|
-
"""
|
|
800
|
-
...
|
|
801
|
-
|
|
802
|
-
def path_resolve(self):
|
|
803
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
804
|
-
...
|
|
805
|
-
|
|
806
|
-
def poll_message_set(self):
|
|
807
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
808
|
-
...
|
|
809
|
-
|
|
810
|
-
def pop(self):
|
|
811
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
812
|
-
when not found (matches Python's dictionary function of the same name).
|
|
813
|
-
|
|
814
|
-
"""
|
|
815
|
-
...
|
|
816
|
-
|
|
817
|
-
def property_overridable_library_set(self) -> bool:
|
|
818
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
819
|
-
|
|
820
|
-
:return: True when the overridable status of the property was successfully set.
|
|
821
|
-
:rtype: bool
|
|
822
|
-
"""
|
|
823
|
-
...
|
|
824
|
-
|
|
825
|
-
def property_unset(self):
|
|
826
|
-
"""Unset a property, will use default value afterward."""
|
|
827
|
-
...
|
|
828
|
-
|
|
829
|
-
def type_recast(self):
|
|
830
|
-
"""Return a new instance, this is needed because types
|
|
831
|
-
such as textures can be changed at runtime.
|
|
832
|
-
|
|
833
|
-
:return: a new instance of this object with the type initialized again.
|
|
834
|
-
"""
|
|
835
|
-
...
|
|
836
|
-
|
|
837
|
-
def values(self):
|
|
838
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
839
|
-
dictionary function of the same name).
|
|
840
|
-
|
|
841
|
-
:return: custom property values.
|
|
842
|
-
"""
|
|
843
|
-
...
|
|
844
|
-
|
|
845
|
-
class IsolateTypeRender:
|
|
846
|
-
"""Hide unselected render objects of same type as active by setting the hide render flag"""
|
|
847
|
-
|
|
848
|
-
bl_idname: typing.Any
|
|
849
|
-
bl_label: typing.Any
|
|
850
|
-
bl_options: typing.Any
|
|
851
|
-
bl_rna: typing.Any
|
|
852
|
-
id_data: typing.Any
|
|
853
|
-
|
|
854
|
-
def as_keywords(self, *, ignore=()):
|
|
855
|
-
"""Return a copy of the properties as a dictionary
|
|
856
|
-
|
|
857
|
-
:param ignore:
|
|
858
|
-
"""
|
|
859
|
-
...
|
|
860
|
-
|
|
861
|
-
def as_pointer(self) -> int:
|
|
862
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
863
|
-
|
|
864
|
-
:return: int (memory address).
|
|
865
|
-
:rtype: int
|
|
866
|
-
"""
|
|
867
|
-
...
|
|
868
|
-
|
|
869
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
870
|
-
"""
|
|
871
|
-
|
|
872
|
-
:return: The RNA type or default when not found.
|
|
873
|
-
:rtype: bpy.types.Struct
|
|
874
|
-
"""
|
|
875
|
-
...
|
|
876
|
-
|
|
877
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
878
|
-
"""
|
|
879
|
-
|
|
880
|
-
:return: The class or default when not found.
|
|
881
|
-
:rtype: typing.Any
|
|
882
|
-
"""
|
|
883
|
-
...
|
|
884
|
-
|
|
885
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
886
|
-
"""Adds driver(s) to the given property
|
|
887
|
-
|
|
888
|
-
:return: The driver(s) added.
|
|
889
|
-
:rtype: bpy.types.FCurve
|
|
890
|
-
"""
|
|
891
|
-
...
|
|
892
|
-
|
|
893
|
-
def driver_remove(self) -> bool:
|
|
894
|
-
"""Remove driver(s) from the given property
|
|
895
|
-
|
|
896
|
-
:return: Success of driver removal.
|
|
897
|
-
:rtype: bool
|
|
898
|
-
"""
|
|
899
|
-
...
|
|
900
|
-
|
|
901
|
-
def execute(self, context):
|
|
902
|
-
"""
|
|
903
|
-
|
|
904
|
-
:param context:
|
|
905
|
-
"""
|
|
906
|
-
...
|
|
907
|
-
|
|
908
|
-
def get(self):
|
|
909
|
-
"""Returns the value of the custom property assigned to key or default
|
|
910
|
-
when not found (matches Python's dictionary function of the same name).
|
|
911
|
-
|
|
912
|
-
"""
|
|
913
|
-
...
|
|
914
|
-
|
|
915
|
-
def id_properties_clear(self):
|
|
916
|
-
"""
|
|
917
|
-
|
|
918
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
919
|
-
"""
|
|
920
|
-
...
|
|
921
|
-
|
|
922
|
-
def id_properties_ensure(self):
|
|
923
|
-
"""
|
|
924
|
-
|
|
925
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
926
|
-
"""
|
|
927
|
-
...
|
|
928
|
-
|
|
929
|
-
def id_properties_ui(self):
|
|
930
|
-
"""
|
|
931
|
-
|
|
932
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
933
|
-
"""
|
|
934
|
-
...
|
|
935
|
-
|
|
936
|
-
def is_property_hidden(self) -> bool:
|
|
937
|
-
"""Check if a property is hidden.
|
|
938
|
-
|
|
939
|
-
:return: True when the property is hidden.
|
|
940
|
-
:rtype: bool
|
|
941
|
-
"""
|
|
942
|
-
...
|
|
943
|
-
|
|
944
|
-
def is_property_overridable_library(self) -> bool:
|
|
945
|
-
"""Check if a property is overridable.
|
|
946
|
-
|
|
947
|
-
:return: True when the property is overridable.
|
|
948
|
-
:rtype: bool
|
|
949
|
-
"""
|
|
950
|
-
...
|
|
951
|
-
|
|
952
|
-
def is_property_readonly(self) -> bool:
|
|
953
|
-
"""Check if a property is readonly.
|
|
954
|
-
|
|
955
|
-
:return: True when the property is readonly (not writable).
|
|
956
|
-
:rtype: bool
|
|
957
|
-
"""
|
|
958
|
-
...
|
|
959
|
-
|
|
960
|
-
def is_property_set(self) -> bool:
|
|
961
|
-
"""Check if a property is set, use for testing operator properties.
|
|
962
|
-
|
|
963
|
-
:return: True when the property has been set.
|
|
964
|
-
:rtype: bool
|
|
965
|
-
"""
|
|
966
|
-
...
|
|
967
|
-
|
|
968
|
-
def items(self):
|
|
969
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
970
|
-
dictionary function of the same name).
|
|
971
|
-
|
|
972
|
-
:return: custom property key, value pairs.
|
|
973
|
-
"""
|
|
974
|
-
...
|
|
975
|
-
|
|
976
|
-
def keyframe_delete(self) -> bool:
|
|
977
|
-
"""Remove a keyframe from this properties fcurve.
|
|
978
|
-
|
|
979
|
-
:return: Success of keyframe deletion.
|
|
980
|
-
:rtype: bool
|
|
981
|
-
"""
|
|
982
|
-
...
|
|
983
|
-
|
|
984
|
-
def keyframe_insert(self) -> bool:
|
|
985
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
986
|
-
|
|
987
|
-
:return: Success of keyframe insertion.
|
|
988
|
-
:rtype: bool
|
|
989
|
-
"""
|
|
990
|
-
...
|
|
991
|
-
|
|
992
|
-
def keys(self):
|
|
993
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
994
|
-
dictionary function of the same name).
|
|
995
|
-
|
|
996
|
-
:return: custom property keys.
|
|
997
|
-
"""
|
|
998
|
-
...
|
|
999
|
-
|
|
1000
|
-
def path_from_id(self) -> str:
|
|
1001
|
-
"""Returns the data path from the ID to this object (string).
|
|
1002
|
-
|
|
1003
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1004
|
-
to this struct and property (when given).
|
|
1005
|
-
:rtype: str
|
|
1006
|
-
"""
|
|
1007
|
-
...
|
|
1008
|
-
|
|
1009
|
-
def path_resolve(self):
|
|
1010
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1011
|
-
...
|
|
1012
|
-
|
|
1013
|
-
@classmethod
|
|
1014
|
-
def poll(cls, context):
|
|
1015
|
-
"""
|
|
1016
|
-
|
|
1017
|
-
:param context:
|
|
1018
|
-
"""
|
|
1019
|
-
...
|
|
1020
|
-
|
|
1021
|
-
def poll_message_set(self):
|
|
1022
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1023
|
-
...
|
|
1024
|
-
|
|
1025
|
-
def pop(self):
|
|
1026
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1027
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1028
|
-
|
|
1029
|
-
"""
|
|
1030
|
-
...
|
|
1031
|
-
|
|
1032
|
-
def property_overridable_library_set(self) -> bool:
|
|
1033
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1034
|
-
|
|
1035
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1036
|
-
:rtype: bool
|
|
1037
|
-
"""
|
|
1038
|
-
...
|
|
1039
|
-
|
|
1040
|
-
def property_unset(self):
|
|
1041
|
-
"""Unset a property, will use default value afterward."""
|
|
1042
|
-
...
|
|
1043
|
-
|
|
1044
|
-
def type_recast(self):
|
|
1045
|
-
"""Return a new instance, this is needed because types
|
|
1046
|
-
such as textures can be changed at runtime.
|
|
1047
|
-
|
|
1048
|
-
:return: a new instance of this object with the type initialized again.
|
|
1049
|
-
"""
|
|
1050
|
-
...
|
|
1051
|
-
|
|
1052
|
-
def values(self):
|
|
1053
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1054
|
-
dictionary function of the same name).
|
|
1055
|
-
|
|
1056
|
-
:return: custom property values.
|
|
1057
|
-
"""
|
|
1058
|
-
...
|
|
1059
|
-
|
|
1060
|
-
class JoinUVs:
|
|
1061
|
-
"""Transfer UV Maps from active to selected objects (needs matching geometry)"""
|
|
1062
|
-
|
|
1063
|
-
bl_idname: typing.Any
|
|
1064
|
-
bl_label: typing.Any
|
|
1065
|
-
bl_options: typing.Any
|
|
1066
|
-
bl_rna: typing.Any
|
|
1067
|
-
id_data: typing.Any
|
|
1068
|
-
|
|
1069
|
-
def as_keywords(self, *, ignore=()):
|
|
1070
|
-
"""Return a copy of the properties as a dictionary
|
|
1071
|
-
|
|
1072
|
-
:param ignore:
|
|
1073
|
-
"""
|
|
1074
|
-
...
|
|
1075
|
-
|
|
1076
|
-
def as_pointer(self) -> int:
|
|
1077
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1078
|
-
|
|
1079
|
-
:return: int (memory address).
|
|
1080
|
-
:rtype: int
|
|
1081
|
-
"""
|
|
1082
|
-
...
|
|
1083
|
-
|
|
1084
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1085
|
-
"""
|
|
1086
|
-
|
|
1087
|
-
:return: The RNA type or default when not found.
|
|
1088
|
-
:rtype: bpy.types.Struct
|
|
1089
|
-
"""
|
|
1090
|
-
...
|
|
1091
|
-
|
|
1092
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1093
|
-
"""
|
|
1094
|
-
|
|
1095
|
-
:return: The class or default when not found.
|
|
1096
|
-
:rtype: typing.Any
|
|
1097
|
-
"""
|
|
1098
|
-
...
|
|
1099
|
-
|
|
1100
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1101
|
-
"""Adds driver(s) to the given property
|
|
1102
|
-
|
|
1103
|
-
:return: The driver(s) added.
|
|
1104
|
-
:rtype: bpy.types.FCurve
|
|
1105
|
-
"""
|
|
1106
|
-
...
|
|
1107
|
-
|
|
1108
|
-
def driver_remove(self) -> bool:
|
|
1109
|
-
"""Remove driver(s) from the given property
|
|
1110
|
-
|
|
1111
|
-
:return: Success of driver removal.
|
|
1112
|
-
:rtype: bool
|
|
1113
|
-
"""
|
|
1114
|
-
...
|
|
1115
|
-
|
|
1116
|
-
def execute(self, context):
|
|
1117
|
-
"""
|
|
1118
|
-
|
|
1119
|
-
:param context:
|
|
1120
|
-
"""
|
|
1121
|
-
...
|
|
1122
|
-
|
|
1123
|
-
def get(self):
|
|
1124
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1125
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1126
|
-
|
|
1127
|
-
"""
|
|
1128
|
-
...
|
|
1129
|
-
|
|
1130
|
-
def id_properties_clear(self):
|
|
1131
|
-
"""
|
|
1132
|
-
|
|
1133
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1134
|
-
"""
|
|
1135
|
-
...
|
|
1136
|
-
|
|
1137
|
-
def id_properties_ensure(self):
|
|
1138
|
-
"""
|
|
1139
|
-
|
|
1140
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1141
|
-
"""
|
|
1142
|
-
...
|
|
1143
|
-
|
|
1144
|
-
def id_properties_ui(self):
|
|
1145
|
-
"""
|
|
1146
|
-
|
|
1147
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1148
|
-
"""
|
|
1149
|
-
...
|
|
1150
|
-
|
|
1151
|
-
def is_property_hidden(self) -> bool:
|
|
1152
|
-
"""Check if a property is hidden.
|
|
1153
|
-
|
|
1154
|
-
:return: True when the property is hidden.
|
|
1155
|
-
:rtype: bool
|
|
1156
|
-
"""
|
|
1157
|
-
...
|
|
1158
|
-
|
|
1159
|
-
def is_property_overridable_library(self) -> bool:
|
|
1160
|
-
"""Check if a property is overridable.
|
|
1161
|
-
|
|
1162
|
-
:return: True when the property is overridable.
|
|
1163
|
-
:rtype: bool
|
|
1164
|
-
"""
|
|
1165
|
-
...
|
|
1166
|
-
|
|
1167
|
-
def is_property_readonly(self) -> bool:
|
|
1168
|
-
"""Check if a property is readonly.
|
|
1169
|
-
|
|
1170
|
-
:return: True when the property is readonly (not writable).
|
|
1171
|
-
:rtype: bool
|
|
1172
|
-
"""
|
|
1173
|
-
...
|
|
1174
|
-
|
|
1175
|
-
def is_property_set(self) -> bool:
|
|
1176
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1177
|
-
|
|
1178
|
-
:return: True when the property has been set.
|
|
1179
|
-
:rtype: bool
|
|
1180
|
-
"""
|
|
1181
|
-
...
|
|
1182
|
-
|
|
1183
|
-
def items(self):
|
|
1184
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1185
|
-
dictionary function of the same name).
|
|
1186
|
-
|
|
1187
|
-
:return: custom property key, value pairs.
|
|
1188
|
-
"""
|
|
1189
|
-
...
|
|
1190
|
-
|
|
1191
|
-
def keyframe_delete(self) -> bool:
|
|
1192
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1193
|
-
|
|
1194
|
-
:return: Success of keyframe deletion.
|
|
1195
|
-
:rtype: bool
|
|
1196
|
-
"""
|
|
1197
|
-
...
|
|
1198
|
-
|
|
1199
|
-
def keyframe_insert(self) -> bool:
|
|
1200
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1201
|
-
|
|
1202
|
-
:return: Success of keyframe insertion.
|
|
1203
|
-
:rtype: bool
|
|
1204
|
-
"""
|
|
1205
|
-
...
|
|
1206
|
-
|
|
1207
|
-
def keys(self):
|
|
1208
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1209
|
-
dictionary function of the same name).
|
|
1210
|
-
|
|
1211
|
-
:return: custom property keys.
|
|
1212
|
-
"""
|
|
1213
|
-
...
|
|
1214
|
-
|
|
1215
|
-
def path_from_id(self) -> str:
|
|
1216
|
-
"""Returns the data path from the ID to this object (string).
|
|
1217
|
-
|
|
1218
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1219
|
-
to this struct and property (when given).
|
|
1220
|
-
:rtype: str
|
|
1221
|
-
"""
|
|
1222
|
-
...
|
|
1223
|
-
|
|
1224
|
-
def path_resolve(self):
|
|
1225
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1226
|
-
...
|
|
1227
|
-
|
|
1228
|
-
@classmethod
|
|
1229
|
-
def poll(cls, context):
|
|
1230
|
-
"""
|
|
1231
|
-
|
|
1232
|
-
:param context:
|
|
1233
|
-
"""
|
|
1234
|
-
...
|
|
1235
|
-
|
|
1236
|
-
def poll_message_set(self):
|
|
1237
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1238
|
-
...
|
|
1239
|
-
|
|
1240
|
-
def pop(self):
|
|
1241
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1242
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1243
|
-
|
|
1244
|
-
"""
|
|
1245
|
-
...
|
|
1246
|
-
|
|
1247
|
-
def property_overridable_library_set(self) -> bool:
|
|
1248
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1249
|
-
|
|
1250
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1251
|
-
:rtype: bool
|
|
1252
|
-
"""
|
|
1253
|
-
...
|
|
1254
|
-
|
|
1255
|
-
def property_unset(self):
|
|
1256
|
-
"""Unset a property, will use default value afterward."""
|
|
1257
|
-
...
|
|
1258
|
-
|
|
1259
|
-
def type_recast(self):
|
|
1260
|
-
"""Return a new instance, this is needed because types
|
|
1261
|
-
such as textures can be changed at runtime.
|
|
1262
|
-
|
|
1263
|
-
:return: a new instance of this object with the type initialized again.
|
|
1264
|
-
"""
|
|
1265
|
-
...
|
|
1266
|
-
|
|
1267
|
-
def values(self):
|
|
1268
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1269
|
-
dictionary function of the same name).
|
|
1270
|
-
|
|
1271
|
-
:return: custom property values.
|
|
1272
|
-
"""
|
|
1273
|
-
...
|
|
1274
|
-
|
|
1275
|
-
class MakeDupliFace:
|
|
1276
|
-
"""Convert objects into instanced faces"""
|
|
1277
|
-
|
|
1278
|
-
bl_idname: typing.Any
|
|
1279
|
-
bl_label: typing.Any
|
|
1280
|
-
bl_options: typing.Any
|
|
1281
|
-
bl_rna: typing.Any
|
|
1282
|
-
id_data: typing.Any
|
|
1283
|
-
|
|
1284
|
-
def as_keywords(self, *, ignore=()):
|
|
1285
|
-
"""Return a copy of the properties as a dictionary
|
|
1286
|
-
|
|
1287
|
-
:param ignore:
|
|
1288
|
-
"""
|
|
1289
|
-
...
|
|
1290
|
-
|
|
1291
|
-
def as_pointer(self) -> int:
|
|
1292
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1293
|
-
|
|
1294
|
-
:return: int (memory address).
|
|
1295
|
-
:rtype: int
|
|
1296
|
-
"""
|
|
1297
|
-
...
|
|
1298
|
-
|
|
1299
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1300
|
-
"""
|
|
1301
|
-
|
|
1302
|
-
:return: The RNA type or default when not found.
|
|
1303
|
-
:rtype: bpy.types.Struct
|
|
1304
|
-
"""
|
|
1305
|
-
...
|
|
1306
|
-
|
|
1307
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1308
|
-
"""
|
|
1309
|
-
|
|
1310
|
-
:return: The class or default when not found.
|
|
1311
|
-
:rtype: typing.Any
|
|
1312
|
-
"""
|
|
1313
|
-
...
|
|
1314
|
-
|
|
1315
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1316
|
-
"""Adds driver(s) to the given property
|
|
1317
|
-
|
|
1318
|
-
:return: The driver(s) added.
|
|
1319
|
-
:rtype: bpy.types.FCurve
|
|
1320
|
-
"""
|
|
1321
|
-
...
|
|
1322
|
-
|
|
1323
|
-
def driver_remove(self) -> bool:
|
|
1324
|
-
"""Remove driver(s) from the given property
|
|
1325
|
-
|
|
1326
|
-
:return: Success of driver removal.
|
|
1327
|
-
:rtype: bool
|
|
1328
|
-
"""
|
|
1329
|
-
...
|
|
1330
|
-
|
|
1331
|
-
def execute(self, context):
|
|
1332
|
-
"""
|
|
1333
|
-
|
|
1334
|
-
:param context:
|
|
1335
|
-
"""
|
|
1336
|
-
...
|
|
1337
|
-
|
|
1338
|
-
def get(self):
|
|
1339
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1340
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1341
|
-
|
|
1342
|
-
"""
|
|
1343
|
-
...
|
|
1344
|
-
|
|
1345
|
-
def id_properties_clear(self):
|
|
1346
|
-
"""
|
|
1347
|
-
|
|
1348
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1349
|
-
"""
|
|
1350
|
-
...
|
|
1351
|
-
|
|
1352
|
-
def id_properties_ensure(self):
|
|
1353
|
-
"""
|
|
1354
|
-
|
|
1355
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1356
|
-
"""
|
|
1357
|
-
...
|
|
1358
|
-
|
|
1359
|
-
def id_properties_ui(self):
|
|
1360
|
-
"""
|
|
1361
|
-
|
|
1362
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1363
|
-
"""
|
|
1364
|
-
...
|
|
1365
|
-
|
|
1366
|
-
def is_property_hidden(self) -> bool:
|
|
1367
|
-
"""Check if a property is hidden.
|
|
1368
|
-
|
|
1369
|
-
:return: True when the property is hidden.
|
|
1370
|
-
:rtype: bool
|
|
1371
|
-
"""
|
|
1372
|
-
...
|
|
1373
|
-
|
|
1374
|
-
def is_property_overridable_library(self) -> bool:
|
|
1375
|
-
"""Check if a property is overridable.
|
|
1376
|
-
|
|
1377
|
-
:return: True when the property is overridable.
|
|
1378
|
-
:rtype: bool
|
|
1379
|
-
"""
|
|
1380
|
-
...
|
|
1381
|
-
|
|
1382
|
-
def is_property_readonly(self) -> bool:
|
|
1383
|
-
"""Check if a property is readonly.
|
|
1384
|
-
|
|
1385
|
-
:return: True when the property is readonly (not writable).
|
|
1386
|
-
:rtype: bool
|
|
1387
|
-
"""
|
|
1388
|
-
...
|
|
1389
|
-
|
|
1390
|
-
def is_property_set(self) -> bool:
|
|
1391
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1392
|
-
|
|
1393
|
-
:return: True when the property has been set.
|
|
1394
|
-
:rtype: bool
|
|
1395
|
-
"""
|
|
1396
|
-
...
|
|
1397
|
-
|
|
1398
|
-
def items(self):
|
|
1399
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1400
|
-
dictionary function of the same name).
|
|
1401
|
-
|
|
1402
|
-
:return: custom property key, value pairs.
|
|
1403
|
-
"""
|
|
1404
|
-
...
|
|
1405
|
-
|
|
1406
|
-
def keyframe_delete(self) -> bool:
|
|
1407
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1408
|
-
|
|
1409
|
-
:return: Success of keyframe deletion.
|
|
1410
|
-
:rtype: bool
|
|
1411
|
-
"""
|
|
1412
|
-
...
|
|
1413
|
-
|
|
1414
|
-
def keyframe_insert(self) -> bool:
|
|
1415
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1416
|
-
|
|
1417
|
-
:return: Success of keyframe insertion.
|
|
1418
|
-
:rtype: bool
|
|
1419
|
-
"""
|
|
1420
|
-
...
|
|
1421
|
-
|
|
1422
|
-
def keys(self):
|
|
1423
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1424
|
-
dictionary function of the same name).
|
|
1425
|
-
|
|
1426
|
-
:return: custom property keys.
|
|
1427
|
-
"""
|
|
1428
|
-
...
|
|
1429
|
-
|
|
1430
|
-
def path_from_id(self) -> str:
|
|
1431
|
-
"""Returns the data path from the ID to this object (string).
|
|
1432
|
-
|
|
1433
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1434
|
-
to this struct and property (when given).
|
|
1435
|
-
:rtype: str
|
|
1436
|
-
"""
|
|
1437
|
-
...
|
|
1438
|
-
|
|
1439
|
-
def path_resolve(self):
|
|
1440
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1441
|
-
...
|
|
1442
|
-
|
|
1443
|
-
def poll_message_set(self):
|
|
1444
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1445
|
-
...
|
|
1446
|
-
|
|
1447
|
-
def pop(self):
|
|
1448
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1449
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1450
|
-
|
|
1451
|
-
"""
|
|
1452
|
-
...
|
|
1453
|
-
|
|
1454
|
-
def property_overridable_library_set(self) -> bool:
|
|
1455
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1456
|
-
|
|
1457
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1458
|
-
:rtype: bool
|
|
1459
|
-
"""
|
|
1460
|
-
...
|
|
1461
|
-
|
|
1462
|
-
def property_unset(self):
|
|
1463
|
-
"""Unset a property, will use default value afterward."""
|
|
1464
|
-
...
|
|
1465
|
-
|
|
1466
|
-
def type_recast(self):
|
|
1467
|
-
"""Return a new instance, this is needed because types
|
|
1468
|
-
such as textures can be changed at runtime.
|
|
1469
|
-
|
|
1470
|
-
:return: a new instance of this object with the type initialized again.
|
|
1471
|
-
"""
|
|
1472
|
-
...
|
|
1473
|
-
|
|
1474
|
-
def values(self):
|
|
1475
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1476
|
-
dictionary function of the same name).
|
|
1477
|
-
|
|
1478
|
-
:return: custom property values.
|
|
1479
|
-
"""
|
|
1480
|
-
...
|
|
1481
|
-
|
|
1482
|
-
class OBJECT_OT_assign_property_defaults:
|
|
1483
|
-
"""Assign the current values of custom properties as their defaults, for use as part of the rest pose state in NLA track mixing"""
|
|
1484
|
-
|
|
1485
|
-
bl_idname: typing.Any
|
|
1486
|
-
bl_label: typing.Any
|
|
1487
|
-
bl_options: typing.Any
|
|
1488
|
-
bl_rna: typing.Any
|
|
1489
|
-
id_data: typing.Any
|
|
1490
|
-
|
|
1491
|
-
def as_keywords(self, *, ignore=()):
|
|
1492
|
-
"""Return a copy of the properties as a dictionary
|
|
1493
|
-
|
|
1494
|
-
:param ignore:
|
|
1495
|
-
"""
|
|
1496
|
-
...
|
|
1497
|
-
|
|
1498
|
-
def as_pointer(self) -> int:
|
|
1499
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1500
|
-
|
|
1501
|
-
:return: int (memory address).
|
|
1502
|
-
:rtype: int
|
|
1503
|
-
"""
|
|
1504
|
-
...
|
|
1505
|
-
|
|
1506
|
-
@staticmethod
|
|
1507
|
-
def assign_defaults(obj):
|
|
1508
|
-
"""
|
|
1509
|
-
|
|
1510
|
-
:param obj:
|
|
1511
|
-
"""
|
|
1512
|
-
...
|
|
1513
|
-
|
|
1514
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1515
|
-
"""
|
|
1516
|
-
|
|
1517
|
-
:return: The RNA type or default when not found.
|
|
1518
|
-
:rtype: bpy.types.Struct
|
|
1519
|
-
"""
|
|
1520
|
-
...
|
|
1521
|
-
|
|
1522
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1523
|
-
"""
|
|
1524
|
-
|
|
1525
|
-
:return: The class or default when not found.
|
|
1526
|
-
:rtype: typing.Any
|
|
1527
|
-
"""
|
|
1528
|
-
...
|
|
1529
|
-
|
|
1530
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1531
|
-
"""Adds driver(s) to the given property
|
|
1532
|
-
|
|
1533
|
-
:return: The driver(s) added.
|
|
1534
|
-
:rtype: bpy.types.FCurve
|
|
1535
|
-
"""
|
|
1536
|
-
...
|
|
1537
|
-
|
|
1538
|
-
def driver_remove(self) -> bool:
|
|
1539
|
-
"""Remove driver(s) from the given property
|
|
1540
|
-
|
|
1541
|
-
:return: Success of driver removal.
|
|
1542
|
-
:rtype: bool
|
|
1543
|
-
"""
|
|
1544
|
-
...
|
|
1545
|
-
|
|
1546
|
-
def execute(self, context):
|
|
1547
|
-
"""
|
|
1548
|
-
|
|
1549
|
-
:param context:
|
|
1550
|
-
"""
|
|
1551
|
-
...
|
|
1552
|
-
|
|
1553
|
-
def get(self):
|
|
1554
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1555
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1556
|
-
|
|
1557
|
-
"""
|
|
1558
|
-
...
|
|
1559
|
-
|
|
1560
|
-
def id_properties_clear(self):
|
|
1561
|
-
"""
|
|
1562
|
-
|
|
1563
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1564
|
-
"""
|
|
1565
|
-
...
|
|
1566
|
-
|
|
1567
|
-
def id_properties_ensure(self):
|
|
1568
|
-
"""
|
|
1569
|
-
|
|
1570
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1571
|
-
"""
|
|
1572
|
-
...
|
|
1573
|
-
|
|
1574
|
-
def id_properties_ui(self):
|
|
1575
|
-
"""
|
|
1576
|
-
|
|
1577
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1578
|
-
"""
|
|
1579
|
-
...
|
|
1580
|
-
|
|
1581
|
-
def is_property_hidden(self) -> bool:
|
|
1582
|
-
"""Check if a property is hidden.
|
|
1583
|
-
|
|
1584
|
-
:return: True when the property is hidden.
|
|
1585
|
-
:rtype: bool
|
|
1586
|
-
"""
|
|
1587
|
-
...
|
|
1588
|
-
|
|
1589
|
-
def is_property_overridable_library(self) -> bool:
|
|
1590
|
-
"""Check if a property is overridable.
|
|
1591
|
-
|
|
1592
|
-
:return: True when the property is overridable.
|
|
1593
|
-
:rtype: bool
|
|
1594
|
-
"""
|
|
1595
|
-
...
|
|
1596
|
-
|
|
1597
|
-
def is_property_readonly(self) -> bool:
|
|
1598
|
-
"""Check if a property is readonly.
|
|
1599
|
-
|
|
1600
|
-
:return: True when the property is readonly (not writable).
|
|
1601
|
-
:rtype: bool
|
|
1602
|
-
"""
|
|
1603
|
-
...
|
|
1604
|
-
|
|
1605
|
-
def is_property_set(self) -> bool:
|
|
1606
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1607
|
-
|
|
1608
|
-
:return: True when the property has been set.
|
|
1609
|
-
:rtype: bool
|
|
1610
|
-
"""
|
|
1611
|
-
...
|
|
1612
|
-
|
|
1613
|
-
def items(self):
|
|
1614
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1615
|
-
dictionary function of the same name).
|
|
1616
|
-
|
|
1617
|
-
:return: custom property key, value pairs.
|
|
1618
|
-
"""
|
|
1619
|
-
...
|
|
1620
|
-
|
|
1621
|
-
def keyframe_delete(self) -> bool:
|
|
1622
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1623
|
-
|
|
1624
|
-
:return: Success of keyframe deletion.
|
|
1625
|
-
:rtype: bool
|
|
1626
|
-
"""
|
|
1627
|
-
...
|
|
1628
|
-
|
|
1629
|
-
def keyframe_insert(self) -> bool:
|
|
1630
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1631
|
-
|
|
1632
|
-
:return: Success of keyframe insertion.
|
|
1633
|
-
:rtype: bool
|
|
1634
|
-
"""
|
|
1635
|
-
...
|
|
1636
|
-
|
|
1637
|
-
def keys(self):
|
|
1638
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1639
|
-
dictionary function of the same name).
|
|
1640
|
-
|
|
1641
|
-
:return: custom property keys.
|
|
1642
|
-
"""
|
|
1643
|
-
...
|
|
1644
|
-
|
|
1645
|
-
def path_from_id(self) -> str:
|
|
1646
|
-
"""Returns the data path from the ID to this object (string).
|
|
1647
|
-
|
|
1648
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1649
|
-
to this struct and property (when given).
|
|
1650
|
-
:rtype: str
|
|
1651
|
-
"""
|
|
1652
|
-
...
|
|
1653
|
-
|
|
1654
|
-
def path_resolve(self):
|
|
1655
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1656
|
-
...
|
|
1657
|
-
|
|
1658
|
-
@classmethod
|
|
1659
|
-
def poll(cls, context):
|
|
1660
|
-
"""
|
|
1661
|
-
|
|
1662
|
-
:param context:
|
|
1663
|
-
"""
|
|
1664
|
-
...
|
|
1665
|
-
|
|
1666
|
-
def poll_message_set(self):
|
|
1667
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1668
|
-
...
|
|
1669
|
-
|
|
1670
|
-
def pop(self):
|
|
1671
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1672
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1673
|
-
|
|
1674
|
-
"""
|
|
1675
|
-
...
|
|
1676
|
-
|
|
1677
|
-
def property_overridable_library_set(self) -> bool:
|
|
1678
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1679
|
-
|
|
1680
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1681
|
-
:rtype: bool
|
|
1682
|
-
"""
|
|
1683
|
-
...
|
|
1684
|
-
|
|
1685
|
-
def property_unset(self):
|
|
1686
|
-
"""Unset a property, will use default value afterward."""
|
|
1687
|
-
...
|
|
1688
|
-
|
|
1689
|
-
def type_recast(self):
|
|
1690
|
-
"""Return a new instance, this is needed because types
|
|
1691
|
-
such as textures can be changed at runtime.
|
|
1692
|
-
|
|
1693
|
-
:return: a new instance of this object with the type initialized again.
|
|
1694
|
-
"""
|
|
1695
|
-
...
|
|
1696
|
-
|
|
1697
|
-
def values(self):
|
|
1698
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1699
|
-
dictionary function of the same name).
|
|
1700
|
-
|
|
1701
|
-
:return: custom property values.
|
|
1702
|
-
"""
|
|
1703
|
-
...
|
|
1704
|
-
|
|
1705
|
-
class SelectCamera:
|
|
1706
|
-
"""Select the active camera"""
|
|
1707
|
-
|
|
1708
|
-
bl_idname: typing.Any
|
|
1709
|
-
bl_label: typing.Any
|
|
1710
|
-
bl_options: typing.Any
|
|
1711
|
-
bl_rna: typing.Any
|
|
1712
|
-
id_data: typing.Any
|
|
1713
|
-
|
|
1714
|
-
def as_keywords(self, *, ignore=()):
|
|
1715
|
-
"""Return a copy of the properties as a dictionary
|
|
1716
|
-
|
|
1717
|
-
:param ignore:
|
|
1718
|
-
"""
|
|
1719
|
-
...
|
|
1720
|
-
|
|
1721
|
-
def as_pointer(self) -> int:
|
|
1722
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1723
|
-
|
|
1724
|
-
:return: int (memory address).
|
|
1725
|
-
:rtype: int
|
|
1726
|
-
"""
|
|
1727
|
-
...
|
|
1728
|
-
|
|
1729
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1730
|
-
"""
|
|
1731
|
-
|
|
1732
|
-
:return: The RNA type or default when not found.
|
|
1733
|
-
:rtype: bpy.types.Struct
|
|
1734
|
-
"""
|
|
1735
|
-
...
|
|
1736
|
-
|
|
1737
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1738
|
-
"""
|
|
1739
|
-
|
|
1740
|
-
:return: The class or default when not found.
|
|
1741
|
-
:rtype: typing.Any
|
|
1742
|
-
"""
|
|
1743
|
-
...
|
|
1744
|
-
|
|
1745
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1746
|
-
"""Adds driver(s) to the given property
|
|
1747
|
-
|
|
1748
|
-
:return: The driver(s) added.
|
|
1749
|
-
:rtype: bpy.types.FCurve
|
|
1750
|
-
"""
|
|
1751
|
-
...
|
|
1752
|
-
|
|
1753
|
-
def driver_remove(self) -> bool:
|
|
1754
|
-
"""Remove driver(s) from the given property
|
|
1755
|
-
|
|
1756
|
-
:return: Success of driver removal.
|
|
1757
|
-
:rtype: bool
|
|
1758
|
-
"""
|
|
1759
|
-
...
|
|
1760
|
-
|
|
1761
|
-
def execute(self, context):
|
|
1762
|
-
"""
|
|
1763
|
-
|
|
1764
|
-
:param context:
|
|
1765
|
-
"""
|
|
1766
|
-
...
|
|
1767
|
-
|
|
1768
|
-
def get(self):
|
|
1769
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1770
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1771
|
-
|
|
1772
|
-
"""
|
|
1773
|
-
...
|
|
1774
|
-
|
|
1775
|
-
def id_properties_clear(self):
|
|
1776
|
-
"""
|
|
1777
|
-
|
|
1778
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1779
|
-
"""
|
|
1780
|
-
...
|
|
1781
|
-
|
|
1782
|
-
def id_properties_ensure(self):
|
|
1783
|
-
"""
|
|
1784
|
-
|
|
1785
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1786
|
-
"""
|
|
1787
|
-
...
|
|
1788
|
-
|
|
1789
|
-
def id_properties_ui(self):
|
|
1790
|
-
"""
|
|
1791
|
-
|
|
1792
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1793
|
-
"""
|
|
1794
|
-
...
|
|
1795
|
-
|
|
1796
|
-
def is_property_hidden(self) -> bool:
|
|
1797
|
-
"""Check if a property is hidden.
|
|
1798
|
-
|
|
1799
|
-
:return: True when the property is hidden.
|
|
1800
|
-
:rtype: bool
|
|
1801
|
-
"""
|
|
1802
|
-
...
|
|
1803
|
-
|
|
1804
|
-
def is_property_overridable_library(self) -> bool:
|
|
1805
|
-
"""Check if a property is overridable.
|
|
1806
|
-
|
|
1807
|
-
:return: True when the property is overridable.
|
|
1808
|
-
:rtype: bool
|
|
1809
|
-
"""
|
|
1810
|
-
...
|
|
1811
|
-
|
|
1812
|
-
def is_property_readonly(self) -> bool:
|
|
1813
|
-
"""Check if a property is readonly.
|
|
1814
|
-
|
|
1815
|
-
:return: True when the property is readonly (not writable).
|
|
1816
|
-
:rtype: bool
|
|
1817
|
-
"""
|
|
1818
|
-
...
|
|
1819
|
-
|
|
1820
|
-
def is_property_set(self) -> bool:
|
|
1821
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1822
|
-
|
|
1823
|
-
:return: True when the property has been set.
|
|
1824
|
-
:rtype: bool
|
|
1825
|
-
"""
|
|
1826
|
-
...
|
|
1827
|
-
|
|
1828
|
-
def items(self):
|
|
1829
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1830
|
-
dictionary function of the same name).
|
|
1831
|
-
|
|
1832
|
-
:return: custom property key, value pairs.
|
|
1833
|
-
"""
|
|
1834
|
-
...
|
|
1835
|
-
|
|
1836
|
-
def keyframe_delete(self) -> bool:
|
|
1837
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1838
|
-
|
|
1839
|
-
:return: Success of keyframe deletion.
|
|
1840
|
-
:rtype: bool
|
|
1841
|
-
"""
|
|
1842
|
-
...
|
|
1843
|
-
|
|
1844
|
-
def keyframe_insert(self) -> bool:
|
|
1845
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1846
|
-
|
|
1847
|
-
:return: Success of keyframe insertion.
|
|
1848
|
-
:rtype: bool
|
|
1849
|
-
"""
|
|
1850
|
-
...
|
|
1851
|
-
|
|
1852
|
-
def keys(self):
|
|
1853
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1854
|
-
dictionary function of the same name).
|
|
1855
|
-
|
|
1856
|
-
:return: custom property keys.
|
|
1857
|
-
"""
|
|
1858
|
-
...
|
|
1859
|
-
|
|
1860
|
-
def path_from_id(self) -> str:
|
|
1861
|
-
"""Returns the data path from the ID to this object (string).
|
|
1862
|
-
|
|
1863
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1864
|
-
to this struct and property (when given).
|
|
1865
|
-
:rtype: str
|
|
1866
|
-
"""
|
|
1867
|
-
...
|
|
1868
|
-
|
|
1869
|
-
def path_resolve(self):
|
|
1870
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1871
|
-
...
|
|
1872
|
-
|
|
1873
|
-
def poll_message_set(self):
|
|
1874
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1875
|
-
...
|
|
1876
|
-
|
|
1877
|
-
def pop(self):
|
|
1878
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1879
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1880
|
-
|
|
1881
|
-
"""
|
|
1882
|
-
...
|
|
1883
|
-
|
|
1884
|
-
def property_overridable_library_set(self) -> bool:
|
|
1885
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1886
|
-
|
|
1887
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1888
|
-
:rtype: bool
|
|
1889
|
-
"""
|
|
1890
|
-
...
|
|
1891
|
-
|
|
1892
|
-
def property_unset(self):
|
|
1893
|
-
"""Unset a property, will use default value afterward."""
|
|
1894
|
-
...
|
|
1895
|
-
|
|
1896
|
-
def type_recast(self):
|
|
1897
|
-
"""Return a new instance, this is needed because types
|
|
1898
|
-
such as textures can be changed at runtime.
|
|
1899
|
-
|
|
1900
|
-
:return: a new instance of this object with the type initialized again.
|
|
1901
|
-
"""
|
|
1902
|
-
...
|
|
1903
|
-
|
|
1904
|
-
def values(self):
|
|
1905
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1906
|
-
dictionary function of the same name).
|
|
1907
|
-
|
|
1908
|
-
:return: custom property values.
|
|
1909
|
-
"""
|
|
1910
|
-
...
|
|
1911
|
-
|
|
1912
|
-
class SelectHierarchy:
|
|
1913
|
-
"""Select object relative to the active object's position in the hierarchy"""
|
|
1914
|
-
|
|
1915
|
-
bl_idname: typing.Any
|
|
1916
|
-
bl_label: typing.Any
|
|
1917
|
-
bl_options: typing.Any
|
|
1918
|
-
bl_rna: typing.Any
|
|
1919
|
-
id_data: typing.Any
|
|
1920
|
-
|
|
1921
|
-
def as_keywords(self, *, ignore=()):
|
|
1922
|
-
"""Return a copy of the properties as a dictionary
|
|
1923
|
-
|
|
1924
|
-
:param ignore:
|
|
1925
|
-
"""
|
|
1926
|
-
...
|
|
1927
|
-
|
|
1928
|
-
def as_pointer(self) -> int:
|
|
1929
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1930
|
-
|
|
1931
|
-
:return: int (memory address).
|
|
1932
|
-
:rtype: int
|
|
1933
|
-
"""
|
|
1934
|
-
...
|
|
1935
|
-
|
|
1936
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1937
|
-
"""
|
|
1938
|
-
|
|
1939
|
-
:return: The RNA type or default when not found.
|
|
1940
|
-
:rtype: bpy.types.Struct
|
|
1941
|
-
"""
|
|
1942
|
-
...
|
|
1943
|
-
|
|
1944
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1945
|
-
"""
|
|
1946
|
-
|
|
1947
|
-
:return: The class or default when not found.
|
|
1948
|
-
:rtype: typing.Any
|
|
1949
|
-
"""
|
|
1950
|
-
...
|
|
1951
|
-
|
|
1952
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1953
|
-
"""Adds driver(s) to the given property
|
|
1954
|
-
|
|
1955
|
-
:return: The driver(s) added.
|
|
1956
|
-
:rtype: bpy.types.FCurve
|
|
1957
|
-
"""
|
|
1958
|
-
...
|
|
1959
|
-
|
|
1960
|
-
def driver_remove(self) -> bool:
|
|
1961
|
-
"""Remove driver(s) from the given property
|
|
1962
|
-
|
|
1963
|
-
:return: Success of driver removal.
|
|
1964
|
-
:rtype: bool
|
|
1965
|
-
"""
|
|
1966
|
-
...
|
|
1967
|
-
|
|
1968
|
-
def execute(self, context):
|
|
1969
|
-
"""
|
|
1970
|
-
|
|
1971
|
-
:param context:
|
|
1972
|
-
"""
|
|
1973
|
-
...
|
|
1974
|
-
|
|
1975
|
-
def get(self):
|
|
1976
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1977
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1978
|
-
|
|
1979
|
-
"""
|
|
1980
|
-
...
|
|
1981
|
-
|
|
1982
|
-
def id_properties_clear(self):
|
|
1983
|
-
"""
|
|
1984
|
-
|
|
1985
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1986
|
-
"""
|
|
1987
|
-
...
|
|
1988
|
-
|
|
1989
|
-
def id_properties_ensure(self):
|
|
1990
|
-
"""
|
|
1991
|
-
|
|
1992
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1993
|
-
"""
|
|
1994
|
-
...
|
|
1995
|
-
|
|
1996
|
-
def id_properties_ui(self):
|
|
1997
|
-
"""
|
|
1998
|
-
|
|
1999
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2000
|
-
"""
|
|
2001
|
-
...
|
|
2002
|
-
|
|
2003
|
-
def is_property_hidden(self) -> bool:
|
|
2004
|
-
"""Check if a property is hidden.
|
|
2005
|
-
|
|
2006
|
-
:return: True when the property is hidden.
|
|
2007
|
-
:rtype: bool
|
|
2008
|
-
"""
|
|
2009
|
-
...
|
|
2010
|
-
|
|
2011
|
-
def is_property_overridable_library(self) -> bool:
|
|
2012
|
-
"""Check if a property is overridable.
|
|
2013
|
-
|
|
2014
|
-
:return: True when the property is overridable.
|
|
2015
|
-
:rtype: bool
|
|
2016
|
-
"""
|
|
2017
|
-
...
|
|
2018
|
-
|
|
2019
|
-
def is_property_readonly(self) -> bool:
|
|
2020
|
-
"""Check if a property is readonly.
|
|
2021
|
-
|
|
2022
|
-
:return: True when the property is readonly (not writable).
|
|
2023
|
-
:rtype: bool
|
|
2024
|
-
"""
|
|
2025
|
-
...
|
|
2026
|
-
|
|
2027
|
-
def is_property_set(self) -> bool:
|
|
2028
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2029
|
-
|
|
2030
|
-
:return: True when the property has been set.
|
|
2031
|
-
:rtype: bool
|
|
2032
|
-
"""
|
|
2033
|
-
...
|
|
2034
|
-
|
|
2035
|
-
def items(self):
|
|
2036
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2037
|
-
dictionary function of the same name).
|
|
2038
|
-
|
|
2039
|
-
:return: custom property key, value pairs.
|
|
2040
|
-
"""
|
|
2041
|
-
...
|
|
2042
|
-
|
|
2043
|
-
def keyframe_delete(self) -> bool:
|
|
2044
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2045
|
-
|
|
2046
|
-
:return: Success of keyframe deletion.
|
|
2047
|
-
:rtype: bool
|
|
2048
|
-
"""
|
|
2049
|
-
...
|
|
2050
|
-
|
|
2051
|
-
def keyframe_insert(self) -> bool:
|
|
2052
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2053
|
-
|
|
2054
|
-
:return: Success of keyframe insertion.
|
|
2055
|
-
:rtype: bool
|
|
2056
|
-
"""
|
|
2057
|
-
...
|
|
2058
|
-
|
|
2059
|
-
def keys(self):
|
|
2060
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2061
|
-
dictionary function of the same name).
|
|
2062
|
-
|
|
2063
|
-
:return: custom property keys.
|
|
2064
|
-
"""
|
|
2065
|
-
...
|
|
2066
|
-
|
|
2067
|
-
def path_from_id(self) -> str:
|
|
2068
|
-
"""Returns the data path from the ID to this object (string).
|
|
2069
|
-
|
|
2070
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2071
|
-
to this struct and property (when given).
|
|
2072
|
-
:rtype: str
|
|
2073
|
-
"""
|
|
2074
|
-
...
|
|
2075
|
-
|
|
2076
|
-
def path_resolve(self):
|
|
2077
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2078
|
-
...
|
|
2079
|
-
|
|
2080
|
-
@classmethod
|
|
2081
|
-
def poll(cls, context):
|
|
2082
|
-
"""
|
|
2083
|
-
|
|
2084
|
-
:param context:
|
|
2085
|
-
"""
|
|
2086
|
-
...
|
|
2087
|
-
|
|
2088
|
-
def poll_message_set(self):
|
|
2089
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
2090
|
-
...
|
|
2091
|
-
|
|
2092
|
-
def pop(self):
|
|
2093
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2094
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2095
|
-
|
|
2096
|
-
"""
|
|
2097
|
-
...
|
|
2098
|
-
|
|
2099
|
-
def property_overridable_library_set(self) -> bool:
|
|
2100
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2101
|
-
|
|
2102
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2103
|
-
:rtype: bool
|
|
2104
|
-
"""
|
|
2105
|
-
...
|
|
2106
|
-
|
|
2107
|
-
def property_unset(self):
|
|
2108
|
-
"""Unset a property, will use default value afterward."""
|
|
2109
|
-
...
|
|
2110
|
-
|
|
2111
|
-
def type_recast(self):
|
|
2112
|
-
"""Return a new instance, this is needed because types
|
|
2113
|
-
such as textures can be changed at runtime.
|
|
2114
|
-
|
|
2115
|
-
:return: a new instance of this object with the type initialized again.
|
|
2116
|
-
"""
|
|
2117
|
-
...
|
|
2118
|
-
|
|
2119
|
-
def values(self):
|
|
2120
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2121
|
-
dictionary function of the same name).
|
|
2122
|
-
|
|
2123
|
-
:return: custom property values.
|
|
2124
|
-
"""
|
|
2125
|
-
...
|
|
2126
|
-
|
|
2127
|
-
class SelectPattern:
|
|
2128
|
-
"""Select objects matching a naming pattern"""
|
|
2129
|
-
|
|
2130
|
-
bl_idname: typing.Any
|
|
2131
|
-
bl_label: typing.Any
|
|
2132
|
-
bl_options: typing.Any
|
|
2133
|
-
bl_property: typing.Any
|
|
2134
|
-
bl_rna: typing.Any
|
|
2135
|
-
id_data: typing.Any
|
|
2136
|
-
|
|
2137
|
-
def as_keywords(self, *, ignore=()):
|
|
2138
|
-
"""Return a copy of the properties as a dictionary
|
|
2139
|
-
|
|
2140
|
-
:param ignore:
|
|
2141
|
-
"""
|
|
2142
|
-
...
|
|
2143
|
-
|
|
2144
|
-
def as_pointer(self) -> int:
|
|
2145
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2146
|
-
|
|
2147
|
-
:return: int (memory address).
|
|
2148
|
-
:rtype: int
|
|
2149
|
-
"""
|
|
2150
|
-
...
|
|
2151
|
-
|
|
2152
18
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2153
19
|
"""
|
|
2154
20
|
|
|
@@ -2165,29 +31,6 @@ class SelectPattern:
|
|
|
2165
31
|
"""
|
|
2166
32
|
...
|
|
2167
33
|
|
|
2168
|
-
def draw(self, _context):
|
|
2169
|
-
"""
|
|
2170
|
-
|
|
2171
|
-
:param _context:
|
|
2172
|
-
"""
|
|
2173
|
-
...
|
|
2174
|
-
|
|
2175
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2176
|
-
"""Adds driver(s) to the given property
|
|
2177
|
-
|
|
2178
|
-
:return: The driver(s) added.
|
|
2179
|
-
:rtype: bpy.types.FCurve
|
|
2180
|
-
"""
|
|
2181
|
-
...
|
|
2182
|
-
|
|
2183
|
-
def driver_remove(self) -> bool:
|
|
2184
|
-
"""Remove driver(s) from the given property
|
|
2185
|
-
|
|
2186
|
-
:return: Success of driver removal.
|
|
2187
|
-
:rtype: bool
|
|
2188
|
-
"""
|
|
2189
|
-
...
|
|
2190
|
-
|
|
2191
34
|
def execute(self, context):
|
|
2192
35
|
"""
|
|
2193
36
|
|
|
@@ -2195,168 +38,40 @@ class SelectPattern:
|
|
|
2195
38
|
"""
|
|
2196
39
|
...
|
|
2197
40
|
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2201
|
-
|
|
2202
|
-
"""
|
|
2203
|
-
...
|
|
2204
|
-
|
|
2205
|
-
def id_properties_clear(self):
|
|
2206
|
-
"""
|
|
2207
|
-
|
|
2208
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2209
|
-
"""
|
|
2210
|
-
...
|
|
2211
|
-
|
|
2212
|
-
def id_properties_ensure(self):
|
|
2213
|
-
"""
|
|
2214
|
-
|
|
2215
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2216
|
-
"""
|
|
2217
|
-
...
|
|
2218
|
-
|
|
2219
|
-
def id_properties_ui(self):
|
|
2220
|
-
"""
|
|
2221
|
-
|
|
2222
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2223
|
-
"""
|
|
2224
|
-
...
|
|
2225
|
-
|
|
2226
|
-
def invoke(self, context, event):
|
|
2227
|
-
"""
|
|
2228
|
-
|
|
2229
|
-
:param context:
|
|
2230
|
-
:param event:
|
|
2231
|
-
"""
|
|
2232
|
-
...
|
|
2233
|
-
|
|
2234
|
-
def is_property_hidden(self) -> bool:
|
|
2235
|
-
"""Check if a property is hidden.
|
|
2236
|
-
|
|
2237
|
-
:return: True when the property is hidden.
|
|
2238
|
-
:rtype: bool
|
|
2239
|
-
"""
|
|
2240
|
-
...
|
|
2241
|
-
|
|
2242
|
-
def is_property_overridable_library(self) -> bool:
|
|
2243
|
-
"""Check if a property is overridable.
|
|
2244
|
-
|
|
2245
|
-
:return: True when the property is overridable.
|
|
2246
|
-
:rtype: bool
|
|
2247
|
-
"""
|
|
2248
|
-
...
|
|
2249
|
-
|
|
2250
|
-
def is_property_readonly(self) -> bool:
|
|
2251
|
-
"""Check if a property is readonly.
|
|
2252
|
-
|
|
2253
|
-
:return: True when the property is readonly (not writable).
|
|
2254
|
-
:rtype: bool
|
|
2255
|
-
"""
|
|
2256
|
-
...
|
|
2257
|
-
|
|
2258
|
-
def is_property_set(self) -> bool:
|
|
2259
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2260
|
-
|
|
2261
|
-
:return: True when the property has been set.
|
|
2262
|
-
:rtype: bool
|
|
2263
|
-
"""
|
|
2264
|
-
...
|
|
2265
|
-
|
|
2266
|
-
def items(self):
|
|
2267
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2268
|
-
dictionary function of the same name).
|
|
2269
|
-
|
|
2270
|
-
:return: custom property key, value pairs.
|
|
2271
|
-
"""
|
|
2272
|
-
...
|
|
41
|
+
class DupliOffsetFromCursor(bpy.types.Operator):
|
|
42
|
+
"""Set offset used for collection instances based on cursor position"""
|
|
2273
43
|
|
|
2274
|
-
|
|
2275
|
-
|
|
44
|
+
bl_idname: typing.Any
|
|
45
|
+
bl_label: typing.Any
|
|
46
|
+
bl_options: typing.Any
|
|
47
|
+
bl_rna: typing.Any
|
|
48
|
+
id_data: typing.Any
|
|
2276
49
|
|
|
2277
|
-
|
|
2278
|
-
:rtype: bool
|
|
50
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2279
51
|
"""
|
|
2280
|
-
...
|
|
2281
|
-
|
|
2282
|
-
def keyframe_insert(self) -> bool:
|
|
2283
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2284
52
|
|
|
2285
|
-
:return:
|
|
2286
|
-
:rtype:
|
|
53
|
+
:return: The RNA type or default when not found.
|
|
54
|
+
:rtype: bpy.types.Struct
|
|
2287
55
|
"""
|
|
2288
56
|
...
|
|
2289
57
|
|
|
2290
|
-
def
|
|
2291
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2292
|
-
dictionary function of the same name).
|
|
2293
|
-
|
|
2294
|
-
:return: custom property keys.
|
|
58
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2295
59
|
"""
|
|
2296
|
-
...
|
|
2297
|
-
|
|
2298
|
-
def path_from_id(self) -> str:
|
|
2299
|
-
"""Returns the data path from the ID to this object (string).
|
|
2300
60
|
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
:rtype: str
|
|
61
|
+
:return: The class or default when not found.
|
|
62
|
+
:rtype: typing.Any
|
|
2304
63
|
"""
|
|
2305
64
|
...
|
|
2306
65
|
|
|
2307
|
-
def
|
|
2308
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2309
|
-
...
|
|
2310
|
-
|
|
2311
|
-
@classmethod
|
|
2312
|
-
def poll(cls, context):
|
|
66
|
+
def execute(self, context):
|
|
2313
67
|
"""
|
|
2314
68
|
|
|
2315
69
|
:param context:
|
|
2316
70
|
"""
|
|
2317
71
|
...
|
|
2318
72
|
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
...
|
|
2322
|
-
|
|
2323
|
-
def pop(self):
|
|
2324
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2325
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2326
|
-
|
|
2327
|
-
"""
|
|
2328
|
-
...
|
|
2329
|
-
|
|
2330
|
-
def property_overridable_library_set(self) -> bool:
|
|
2331
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2332
|
-
|
|
2333
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2334
|
-
:rtype: bool
|
|
2335
|
-
"""
|
|
2336
|
-
...
|
|
2337
|
-
|
|
2338
|
-
def property_unset(self):
|
|
2339
|
-
"""Unset a property, will use default value afterward."""
|
|
2340
|
-
...
|
|
2341
|
-
|
|
2342
|
-
def type_recast(self):
|
|
2343
|
-
"""Return a new instance, this is needed because types
|
|
2344
|
-
such as textures can be changed at runtime.
|
|
2345
|
-
|
|
2346
|
-
:return: a new instance of this object with the type initialized again.
|
|
2347
|
-
"""
|
|
2348
|
-
...
|
|
2349
|
-
|
|
2350
|
-
def values(self):
|
|
2351
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2352
|
-
dictionary function of the same name).
|
|
2353
|
-
|
|
2354
|
-
:return: custom property values.
|
|
2355
|
-
"""
|
|
2356
|
-
...
|
|
2357
|
-
|
|
2358
|
-
class ShapeTransfer:
|
|
2359
|
-
"""Copy the active shape key of another selected object to this one"""
|
|
73
|
+
class DupliOffsetFromObject(bpy.types.Operator):
|
|
74
|
+
"""Set offset used for collection instances based on the active object position"""
|
|
2360
75
|
|
|
2361
76
|
bl_idname: typing.Any
|
|
2362
77
|
bl_label: typing.Any
|
|
@@ -2364,21 +79,6 @@ class ShapeTransfer:
|
|
|
2364
79
|
bl_rna: typing.Any
|
|
2365
80
|
id_data: typing.Any
|
|
2366
81
|
|
|
2367
|
-
def as_keywords(self, *, ignore=()):
|
|
2368
|
-
"""Return a copy of the properties as a dictionary
|
|
2369
|
-
|
|
2370
|
-
:param ignore:
|
|
2371
|
-
"""
|
|
2372
|
-
...
|
|
2373
|
-
|
|
2374
|
-
def as_pointer(self) -> int:
|
|
2375
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2376
|
-
|
|
2377
|
-
:return: int (memory address).
|
|
2378
|
-
:rtype: int
|
|
2379
|
-
"""
|
|
2380
|
-
...
|
|
2381
|
-
|
|
2382
82
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2383
83
|
"""
|
|
2384
84
|
|
|
@@ -2395,22 +95,6 @@ class ShapeTransfer:
|
|
|
2395
95
|
"""
|
|
2396
96
|
...
|
|
2397
97
|
|
|
2398
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2399
|
-
"""Adds driver(s) to the given property
|
|
2400
|
-
|
|
2401
|
-
:return: The driver(s) added.
|
|
2402
|
-
:rtype: bpy.types.FCurve
|
|
2403
|
-
"""
|
|
2404
|
-
...
|
|
2405
|
-
|
|
2406
|
-
def driver_remove(self) -> bool:
|
|
2407
|
-
"""Remove driver(s) from the given property
|
|
2408
|
-
|
|
2409
|
-
:return: Success of driver removal.
|
|
2410
|
-
:rtype: bool
|
|
2411
|
-
"""
|
|
2412
|
-
...
|
|
2413
|
-
|
|
2414
98
|
def execute(self, context):
|
|
2415
99
|
"""
|
|
2416
100
|
|
|
@@ -2418,111 +102,6 @@ class ShapeTransfer:
|
|
|
2418
102
|
"""
|
|
2419
103
|
...
|
|
2420
104
|
|
|
2421
|
-
def get(self):
|
|
2422
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2423
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2424
|
-
|
|
2425
|
-
"""
|
|
2426
|
-
...
|
|
2427
|
-
|
|
2428
|
-
def id_properties_clear(self):
|
|
2429
|
-
"""
|
|
2430
|
-
|
|
2431
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2432
|
-
"""
|
|
2433
|
-
...
|
|
2434
|
-
|
|
2435
|
-
def id_properties_ensure(self):
|
|
2436
|
-
"""
|
|
2437
|
-
|
|
2438
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2439
|
-
"""
|
|
2440
|
-
...
|
|
2441
|
-
|
|
2442
|
-
def id_properties_ui(self):
|
|
2443
|
-
"""
|
|
2444
|
-
|
|
2445
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2446
|
-
"""
|
|
2447
|
-
...
|
|
2448
|
-
|
|
2449
|
-
def is_property_hidden(self) -> bool:
|
|
2450
|
-
"""Check if a property is hidden.
|
|
2451
|
-
|
|
2452
|
-
:return: True when the property is hidden.
|
|
2453
|
-
:rtype: bool
|
|
2454
|
-
"""
|
|
2455
|
-
...
|
|
2456
|
-
|
|
2457
|
-
def is_property_overridable_library(self) -> bool:
|
|
2458
|
-
"""Check if a property is overridable.
|
|
2459
|
-
|
|
2460
|
-
:return: True when the property is overridable.
|
|
2461
|
-
:rtype: bool
|
|
2462
|
-
"""
|
|
2463
|
-
...
|
|
2464
|
-
|
|
2465
|
-
def is_property_readonly(self) -> bool:
|
|
2466
|
-
"""Check if a property is readonly.
|
|
2467
|
-
|
|
2468
|
-
:return: True when the property is readonly (not writable).
|
|
2469
|
-
:rtype: bool
|
|
2470
|
-
"""
|
|
2471
|
-
...
|
|
2472
|
-
|
|
2473
|
-
def is_property_set(self) -> bool:
|
|
2474
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2475
|
-
|
|
2476
|
-
:return: True when the property has been set.
|
|
2477
|
-
:rtype: bool
|
|
2478
|
-
"""
|
|
2479
|
-
...
|
|
2480
|
-
|
|
2481
|
-
def items(self):
|
|
2482
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2483
|
-
dictionary function of the same name).
|
|
2484
|
-
|
|
2485
|
-
:return: custom property key, value pairs.
|
|
2486
|
-
"""
|
|
2487
|
-
...
|
|
2488
|
-
|
|
2489
|
-
def keyframe_delete(self) -> bool:
|
|
2490
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2491
|
-
|
|
2492
|
-
:return: Success of keyframe deletion.
|
|
2493
|
-
:rtype: bool
|
|
2494
|
-
"""
|
|
2495
|
-
...
|
|
2496
|
-
|
|
2497
|
-
def keyframe_insert(self) -> bool:
|
|
2498
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2499
|
-
|
|
2500
|
-
:return: Success of keyframe insertion.
|
|
2501
|
-
:rtype: bool
|
|
2502
|
-
"""
|
|
2503
|
-
...
|
|
2504
|
-
|
|
2505
|
-
def keys(self):
|
|
2506
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2507
|
-
dictionary function of the same name).
|
|
2508
|
-
|
|
2509
|
-
:return: custom property keys.
|
|
2510
|
-
"""
|
|
2511
|
-
...
|
|
2512
|
-
|
|
2513
|
-
def path_from_id(self) -> str:
|
|
2514
|
-
"""Returns the data path from the ID to this object (string).
|
|
2515
|
-
|
|
2516
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2517
|
-
to this struct and property (when given).
|
|
2518
|
-
:rtype: str
|
|
2519
|
-
"""
|
|
2520
|
-
...
|
|
2521
|
-
|
|
2522
|
-
def path_resolve(self):
|
|
2523
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2524
|
-
...
|
|
2525
|
-
|
|
2526
105
|
@classmethod
|
|
2527
106
|
def poll(cls, context):
|
|
2528
107
|
"""
|
|
@@ -2531,47 +110,8 @@ class ShapeTransfer:
|
|
|
2531
110
|
"""
|
|
2532
111
|
...
|
|
2533
112
|
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
...
|
|
2537
|
-
|
|
2538
|
-
def pop(self):
|
|
2539
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2540
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2541
|
-
|
|
2542
|
-
"""
|
|
2543
|
-
...
|
|
2544
|
-
|
|
2545
|
-
def property_overridable_library_set(self) -> bool:
|
|
2546
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2547
|
-
|
|
2548
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2549
|
-
:rtype: bool
|
|
2550
|
-
"""
|
|
2551
|
-
...
|
|
2552
|
-
|
|
2553
|
-
def property_unset(self):
|
|
2554
|
-
"""Unset a property, will use default value afterward."""
|
|
2555
|
-
...
|
|
2556
|
-
|
|
2557
|
-
def type_recast(self):
|
|
2558
|
-
"""Return a new instance, this is needed because types
|
|
2559
|
-
such as textures can be changed at runtime.
|
|
2560
|
-
|
|
2561
|
-
:return: a new instance of this object with the type initialized again.
|
|
2562
|
-
"""
|
|
2563
|
-
...
|
|
2564
|
-
|
|
2565
|
-
def values(self):
|
|
2566
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2567
|
-
dictionary function of the same name).
|
|
2568
|
-
|
|
2569
|
-
:return: custom property values.
|
|
2570
|
-
"""
|
|
2571
|
-
...
|
|
2572
|
-
|
|
2573
|
-
class SubdivisionSet:
|
|
2574
|
-
"""Sets a Subdivision Surface level (1 to 5)"""
|
|
113
|
+
class DupliOffsetToCursor(bpy.types.Operator):
|
|
114
|
+
"""Set cursor position to the offset used for collection instances"""
|
|
2575
115
|
|
|
2576
116
|
bl_idname: typing.Any
|
|
2577
117
|
bl_label: typing.Any
|
|
@@ -2579,21 +119,6 @@ class SubdivisionSet:
|
|
|
2579
119
|
bl_rna: typing.Any
|
|
2580
120
|
id_data: typing.Any
|
|
2581
121
|
|
|
2582
|
-
def as_keywords(self, *, ignore=()):
|
|
2583
|
-
"""Return a copy of the properties as a dictionary
|
|
2584
|
-
|
|
2585
|
-
:param ignore:
|
|
2586
|
-
"""
|
|
2587
|
-
...
|
|
2588
|
-
|
|
2589
|
-
def as_pointer(self) -> int:
|
|
2590
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2591
|
-
|
|
2592
|
-
:return: int (memory address).
|
|
2593
|
-
:rtype: int
|
|
2594
|
-
"""
|
|
2595
|
-
...
|
|
2596
|
-
|
|
2597
122
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2598
123
|
"""
|
|
2599
124
|
|
|
@@ -2610,22 +135,6 @@ class SubdivisionSet:
|
|
|
2610
135
|
"""
|
|
2611
136
|
...
|
|
2612
137
|
|
|
2613
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2614
|
-
"""Adds driver(s) to the given property
|
|
2615
|
-
|
|
2616
|
-
:return: The driver(s) added.
|
|
2617
|
-
:rtype: bpy.types.FCurve
|
|
2618
|
-
"""
|
|
2619
|
-
...
|
|
2620
|
-
|
|
2621
|
-
def driver_remove(self) -> bool:
|
|
2622
|
-
"""Remove driver(s) from the given property
|
|
2623
|
-
|
|
2624
|
-
:return: Success of driver removal.
|
|
2625
|
-
:rtype: bool
|
|
2626
|
-
"""
|
|
2627
|
-
...
|
|
2628
|
-
|
|
2629
138
|
def execute(self, context):
|
|
2630
139
|
"""
|
|
2631
140
|
|
|
@@ -2633,109 +142,76 @@ class SubdivisionSet:
|
|
|
2633
142
|
"""
|
|
2634
143
|
...
|
|
2635
144
|
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2639
|
-
|
|
2640
|
-
"""
|
|
2641
|
-
...
|
|
2642
|
-
|
|
2643
|
-
def id_properties_clear(self):
|
|
2644
|
-
"""
|
|
2645
|
-
|
|
2646
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2647
|
-
"""
|
|
2648
|
-
...
|
|
2649
|
-
|
|
2650
|
-
def id_properties_ensure(self):
|
|
2651
|
-
"""
|
|
2652
|
-
|
|
2653
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2654
|
-
"""
|
|
2655
|
-
...
|
|
2656
|
-
|
|
2657
|
-
def id_properties_ui(self):
|
|
2658
|
-
"""
|
|
2659
|
-
|
|
2660
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2661
|
-
"""
|
|
2662
|
-
...
|
|
145
|
+
class IsolateTypeRender(bpy.types.Operator):
|
|
146
|
+
"""Hide unselected render objects of same type as active by setting the hide render flag"""
|
|
2663
147
|
|
|
2664
|
-
|
|
2665
|
-
|
|
148
|
+
bl_idname: typing.Any
|
|
149
|
+
bl_label: typing.Any
|
|
150
|
+
bl_options: typing.Any
|
|
151
|
+
bl_rna: typing.Any
|
|
152
|
+
id_data: typing.Any
|
|
2666
153
|
|
|
2667
|
-
|
|
2668
|
-
:rtype: bool
|
|
154
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2669
155
|
"""
|
|
2670
|
-
...
|
|
2671
156
|
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
:return: True when the property is overridable.
|
|
2676
|
-
:rtype: bool
|
|
157
|
+
:return: The RNA type or default when not found.
|
|
158
|
+
:rtype: bpy.types.Struct
|
|
2677
159
|
"""
|
|
2678
160
|
...
|
|
2679
161
|
|
|
2680
|
-
def
|
|
2681
|
-
"""
|
|
162
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
163
|
+
"""
|
|
2682
164
|
|
|
2683
|
-
:return:
|
|
2684
|
-
:rtype:
|
|
165
|
+
:return: The class or default when not found.
|
|
166
|
+
:rtype: typing.Any
|
|
2685
167
|
"""
|
|
2686
168
|
...
|
|
2687
169
|
|
|
2688
|
-
def
|
|
2689
|
-
"""
|
|
170
|
+
def execute(self, context):
|
|
171
|
+
"""
|
|
2690
172
|
|
|
2691
|
-
:
|
|
2692
|
-
:rtype: bool
|
|
173
|
+
:param context:
|
|
2693
174
|
"""
|
|
2694
175
|
...
|
|
2695
176
|
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
177
|
+
@classmethod
|
|
178
|
+
def poll(cls, context):
|
|
179
|
+
"""
|
|
2699
180
|
|
|
2700
|
-
|
|
181
|
+
:param context:
|
|
2701
182
|
"""
|
|
2702
183
|
...
|
|
2703
184
|
|
|
2704
|
-
|
|
2705
|
-
|
|
185
|
+
class JoinUVs(bpy.types.Operator):
|
|
186
|
+
"""Transfer UV Maps from active to selected objects (needs matching geometry)"""
|
|
2706
187
|
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
188
|
+
bl_idname: typing.Any
|
|
189
|
+
bl_label: typing.Any
|
|
190
|
+
bl_options: typing.Any
|
|
191
|
+
bl_rna: typing.Any
|
|
192
|
+
id_data: typing.Any
|
|
2711
193
|
|
|
2712
|
-
def
|
|
2713
|
-
"""
|
|
194
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
195
|
+
"""
|
|
2714
196
|
|
|
2715
|
-
:return:
|
|
2716
|
-
:rtype:
|
|
197
|
+
:return: The RNA type or default when not found.
|
|
198
|
+
:rtype: bpy.types.Struct
|
|
2717
199
|
"""
|
|
2718
200
|
...
|
|
2719
201
|
|
|
2720
|
-
def
|
|
2721
|
-
"""
|
|
2722
|
-
dictionary function of the same name).
|
|
202
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
203
|
+
"""
|
|
2723
204
|
|
|
2724
|
-
|
|
205
|
+
:return: The class or default when not found.
|
|
206
|
+
:rtype: typing.Any
|
|
2725
207
|
"""
|
|
2726
208
|
...
|
|
2727
209
|
|
|
2728
|
-
def
|
|
2729
|
-
"""Returns the data path from the ID to this object (string).
|
|
2730
|
-
|
|
2731
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2732
|
-
to this struct and property (when given).
|
|
2733
|
-
:rtype: str
|
|
210
|
+
def execute(self, context):
|
|
2734
211
|
"""
|
|
2735
|
-
...
|
|
2736
212
|
|
|
2737
|
-
|
|
2738
|
-
"""
|
|
213
|
+
:param context:
|
|
214
|
+
"""
|
|
2739
215
|
...
|
|
2740
216
|
|
|
2741
217
|
@classmethod
|
|
@@ -2746,47 +222,40 @@ class SubdivisionSet:
|
|
|
2746
222
|
"""
|
|
2747
223
|
...
|
|
2748
224
|
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
...
|
|
225
|
+
class MakeDupliFace(bpy.types.Operator):
|
|
226
|
+
"""Convert objects into instanced faces"""
|
|
2752
227
|
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
228
|
+
bl_idname: typing.Any
|
|
229
|
+
bl_label: typing.Any
|
|
230
|
+
bl_options: typing.Any
|
|
231
|
+
bl_rna: typing.Any
|
|
232
|
+
id_data: typing.Any
|
|
2756
233
|
|
|
234
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2757
235
|
"""
|
|
2758
|
-
...
|
|
2759
236
|
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2764
|
-
:rtype: bool
|
|
237
|
+
:return: The RNA type or default when not found.
|
|
238
|
+
:rtype: bpy.types.Struct
|
|
2765
239
|
"""
|
|
2766
240
|
...
|
|
2767
241
|
|
|
2768
|
-
def
|
|
2769
|
-
"""
|
|
2770
|
-
...
|
|
2771
|
-
|
|
2772
|
-
def type_recast(self):
|
|
2773
|
-
"""Return a new instance, this is needed because types
|
|
2774
|
-
such as textures can be changed at runtime.
|
|
242
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
243
|
+
"""
|
|
2775
244
|
|
|
2776
|
-
|
|
245
|
+
:return: The class or default when not found.
|
|
246
|
+
:rtype: typing.Any
|
|
2777
247
|
"""
|
|
2778
248
|
...
|
|
2779
249
|
|
|
2780
|
-
def
|
|
2781
|
-
"""
|
|
2782
|
-
dictionary function of the same name).
|
|
250
|
+
def execute(self, context):
|
|
251
|
+
"""
|
|
2783
252
|
|
|
2784
|
-
|
|
253
|
+
:param context:
|
|
2785
254
|
"""
|
|
2786
255
|
...
|
|
2787
256
|
|
|
2788
|
-
class
|
|
2789
|
-
"""
|
|
257
|
+
class OBJECT_OT_assign_property_defaults(bpy.types.Operator):
|
|
258
|
+
"""Assign the current values of custom properties as their defaults, for use as part of the rest pose state in NLA track mixing"""
|
|
2790
259
|
|
|
2791
260
|
bl_idname: typing.Any
|
|
2792
261
|
bl_label: typing.Any
|
|
@@ -2794,18 +263,11 @@ class TransformsToDeltas:
|
|
|
2794
263
|
bl_rna: typing.Any
|
|
2795
264
|
id_data: typing.Any
|
|
2796
265
|
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
:param ignore:
|
|
266
|
+
@staticmethod
|
|
267
|
+
def assign_defaults(obj):
|
|
2801
268
|
"""
|
|
2802
|
-
...
|
|
2803
269
|
|
|
2804
|
-
|
|
2805
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2806
|
-
|
|
2807
|
-
:return: int (memory address).
|
|
2808
|
-
:rtype: int
|
|
270
|
+
:param obj:
|
|
2809
271
|
"""
|
|
2810
272
|
...
|
|
2811
273
|
|
|
@@ -2825,22 +287,6 @@ class TransformsToDeltas:
|
|
|
2825
287
|
"""
|
|
2826
288
|
...
|
|
2827
289
|
|
|
2828
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2829
|
-
"""Adds driver(s) to the given property
|
|
2830
|
-
|
|
2831
|
-
:return: The driver(s) added.
|
|
2832
|
-
:rtype: bpy.types.FCurve
|
|
2833
|
-
"""
|
|
2834
|
-
...
|
|
2835
|
-
|
|
2836
|
-
def driver_remove(self) -> bool:
|
|
2837
|
-
"""Remove driver(s) from the given property
|
|
2838
|
-
|
|
2839
|
-
:return: Success of driver removal.
|
|
2840
|
-
:rtype: bool
|
|
2841
|
-
"""
|
|
2842
|
-
...
|
|
2843
|
-
|
|
2844
290
|
def execute(self, context):
|
|
2845
291
|
"""
|
|
2846
292
|
|
|
@@ -2848,111 +294,78 @@ class TransformsToDeltas:
|
|
|
2848
294
|
"""
|
|
2849
295
|
...
|
|
2850
296
|
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
297
|
+
@classmethod
|
|
298
|
+
def poll(cls, context):
|
|
299
|
+
"""
|
|
2854
300
|
|
|
301
|
+
:param context:
|
|
2855
302
|
"""
|
|
2856
303
|
...
|
|
2857
304
|
|
|
2858
|
-
|
|
2859
|
-
|
|
305
|
+
class SelectCamera(bpy.types.Operator):
|
|
306
|
+
"""Select the active camera"""
|
|
2860
307
|
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
308
|
+
bl_idname: typing.Any
|
|
309
|
+
bl_label: typing.Any
|
|
310
|
+
bl_options: typing.Any
|
|
311
|
+
bl_rna: typing.Any
|
|
312
|
+
id_data: typing.Any
|
|
2864
313
|
|
|
2865
|
-
def
|
|
314
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2866
315
|
"""
|
|
2867
316
|
|
|
2868
|
-
:return:
|
|
317
|
+
:return: The RNA type or default when not found.
|
|
318
|
+
:rtype: bpy.types.Struct
|
|
2869
319
|
"""
|
|
2870
320
|
...
|
|
2871
321
|
|
|
2872
|
-
def
|
|
322
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2873
323
|
"""
|
|
2874
324
|
|
|
2875
|
-
:return:
|
|
325
|
+
:return: The class or default when not found.
|
|
326
|
+
:rtype: typing.Any
|
|
2876
327
|
"""
|
|
2877
328
|
...
|
|
2878
329
|
|
|
2879
|
-
def
|
|
2880
|
-
"""Check if a property is hidden.
|
|
2881
|
-
|
|
2882
|
-
:return: True when the property is hidden.
|
|
2883
|
-
:rtype: bool
|
|
330
|
+
def execute(self, context):
|
|
2884
331
|
"""
|
|
2885
|
-
...
|
|
2886
332
|
|
|
2887
|
-
|
|
2888
|
-
"""Check if a property is overridable.
|
|
2889
|
-
|
|
2890
|
-
:return: True when the property is overridable.
|
|
2891
|
-
:rtype: bool
|
|
333
|
+
:param context:
|
|
2892
334
|
"""
|
|
2893
335
|
...
|
|
2894
336
|
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
:return: True when the property is readonly (not writable).
|
|
2899
|
-
:rtype: bool
|
|
2900
|
-
"""
|
|
2901
|
-
...
|
|
337
|
+
class SelectHierarchy(bpy.types.Operator):
|
|
338
|
+
"""Select object relative to the active object's position in the hierarchy"""
|
|
2902
339
|
|
|
2903
|
-
|
|
2904
|
-
|
|
340
|
+
bl_idname: typing.Any
|
|
341
|
+
bl_label: typing.Any
|
|
342
|
+
bl_options: typing.Any
|
|
343
|
+
bl_rna: typing.Any
|
|
344
|
+
id_data: typing.Any
|
|
2905
345
|
|
|
2906
|
-
|
|
2907
|
-
:rtype: bool
|
|
346
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2908
347
|
"""
|
|
2909
|
-
...
|
|
2910
|
-
|
|
2911
|
-
def items(self):
|
|
2912
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2913
|
-
dictionary function of the same name).
|
|
2914
348
|
|
|
2915
|
-
|
|
349
|
+
:return: The RNA type or default when not found.
|
|
350
|
+
:rtype: bpy.types.Struct
|
|
2916
351
|
"""
|
|
2917
352
|
...
|
|
2918
353
|
|
|
2919
|
-
def
|
|
2920
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2921
|
-
|
|
2922
|
-
:return: Success of keyframe deletion.
|
|
2923
|
-
:rtype: bool
|
|
354
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2924
355
|
"""
|
|
2925
|
-
...
|
|
2926
|
-
|
|
2927
|
-
def keyframe_insert(self) -> bool:
|
|
2928
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2929
356
|
|
|
2930
|
-
:return:
|
|
2931
|
-
:rtype:
|
|
357
|
+
:return: The class or default when not found.
|
|
358
|
+
:rtype: typing.Any
|
|
2932
359
|
"""
|
|
2933
360
|
...
|
|
2934
361
|
|
|
2935
|
-
def
|
|
2936
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2937
|
-
dictionary function of the same name).
|
|
2938
|
-
|
|
2939
|
-
:return: custom property keys.
|
|
362
|
+
def execute(self, context):
|
|
2940
363
|
"""
|
|
2941
|
-
...
|
|
2942
|
-
|
|
2943
|
-
def path_from_id(self) -> str:
|
|
2944
|
-
"""Returns the data path from the ID to this object (string).
|
|
2945
364
|
|
|
2946
|
-
|
|
2947
|
-
to this struct and property (when given).
|
|
2948
|
-
:rtype: str
|
|
365
|
+
:param context:
|
|
2949
366
|
"""
|
|
2950
367
|
...
|
|
2951
368
|
|
|
2952
|
-
def path_resolve(self):
|
|
2953
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2954
|
-
...
|
|
2955
|
-
|
|
2956
369
|
@classmethod
|
|
2957
370
|
def poll(cls, context):
|
|
2958
371
|
"""
|
|
@@ -2961,68 +374,64 @@ class TransformsToDeltas:
|
|
|
2961
374
|
"""
|
|
2962
375
|
...
|
|
2963
376
|
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
...
|
|
377
|
+
class SelectPattern(bpy.types.Operator):
|
|
378
|
+
"""Select objects matching a naming pattern"""
|
|
2967
379
|
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
380
|
+
bl_idname: typing.Any
|
|
381
|
+
bl_label: typing.Any
|
|
382
|
+
bl_options: typing.Any
|
|
383
|
+
bl_property: typing.Any
|
|
384
|
+
bl_rna: typing.Any
|
|
385
|
+
id_data: typing.Any
|
|
2971
386
|
|
|
387
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2972
388
|
"""
|
|
2973
|
-
...
|
|
2974
|
-
|
|
2975
|
-
def property_overridable_library_set(self) -> bool:
|
|
2976
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2977
389
|
|
|
2978
|
-
:return:
|
|
2979
|
-
:rtype:
|
|
390
|
+
:return: The RNA type or default when not found.
|
|
391
|
+
:rtype: bpy.types.Struct
|
|
2980
392
|
"""
|
|
2981
393
|
...
|
|
2982
394
|
|
|
2983
|
-
def
|
|
2984
|
-
"""Unset a property, will use default value afterward."""
|
|
2985
|
-
...
|
|
2986
|
-
|
|
2987
|
-
def transfer_location(self, obj):
|
|
395
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2988
396
|
"""
|
|
2989
397
|
|
|
2990
|
-
:
|
|
398
|
+
:return: The class or default when not found.
|
|
399
|
+
:rtype: typing.Any
|
|
2991
400
|
"""
|
|
2992
401
|
...
|
|
2993
402
|
|
|
2994
|
-
def
|
|
403
|
+
def draw(self, _context):
|
|
2995
404
|
"""
|
|
2996
405
|
|
|
2997
|
-
:param
|
|
406
|
+
:param _context:
|
|
2998
407
|
"""
|
|
2999
408
|
...
|
|
3000
409
|
|
|
3001
|
-
def
|
|
410
|
+
def execute(self, context):
|
|
3002
411
|
"""
|
|
3003
412
|
|
|
3004
|
-
:param
|
|
413
|
+
:param context:
|
|
3005
414
|
"""
|
|
3006
415
|
...
|
|
3007
416
|
|
|
3008
|
-
def
|
|
3009
|
-
"""
|
|
3010
|
-
such as textures can be changed at runtime.
|
|
417
|
+
def invoke(self, context, event):
|
|
418
|
+
"""
|
|
3011
419
|
|
|
3012
|
-
|
|
420
|
+
:param context:
|
|
421
|
+
:param event:
|
|
3013
422
|
"""
|
|
3014
423
|
...
|
|
3015
424
|
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
425
|
+
@classmethod
|
|
426
|
+
def poll(cls, context):
|
|
427
|
+
"""
|
|
3019
428
|
|
|
3020
|
-
|
|
429
|
+
:param context:
|
|
3021
430
|
"""
|
|
3022
431
|
...
|
|
3023
432
|
|
|
3024
|
-
class
|
|
3025
|
-
"""
|
|
433
|
+
class ShapeTransfer(bpy.types.Operator):
|
|
434
|
+
"""Copy the active shape key of another selected object to this one"""
|
|
3026
435
|
|
|
3027
436
|
bl_idname: typing.Any
|
|
3028
437
|
bl_label: typing.Any
|
|
@@ -3030,21 +439,6 @@ class TransformsToDeltasAnim:
|
|
|
3030
439
|
bl_rna: typing.Any
|
|
3031
440
|
id_data: typing.Any
|
|
3032
441
|
|
|
3033
|
-
def as_keywords(self, *, ignore=()):
|
|
3034
|
-
"""Return a copy of the properties as a dictionary
|
|
3035
|
-
|
|
3036
|
-
:param ignore:
|
|
3037
|
-
"""
|
|
3038
|
-
...
|
|
3039
|
-
|
|
3040
|
-
def as_pointer(self) -> int:
|
|
3041
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3042
|
-
|
|
3043
|
-
:return: int (memory address).
|
|
3044
|
-
:rtype: int
|
|
3045
|
-
"""
|
|
3046
|
-
...
|
|
3047
|
-
|
|
3048
442
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3049
443
|
"""
|
|
3050
444
|
|
|
@@ -3061,177 +455,158 @@ class TransformsToDeltasAnim:
|
|
|
3061
455
|
"""
|
|
3062
456
|
...
|
|
3063
457
|
|
|
3064
|
-
def
|
|
3065
|
-
"""Adds driver(s) to the given property
|
|
3066
|
-
|
|
3067
|
-
:return: The driver(s) added.
|
|
3068
|
-
:rtype: bpy.types.FCurve
|
|
458
|
+
def execute(self, context):
|
|
3069
459
|
"""
|
|
3070
|
-
...
|
|
3071
460
|
|
|
3072
|
-
|
|
3073
|
-
"""Remove driver(s) from the given property
|
|
3074
|
-
|
|
3075
|
-
:return: Success of driver removal.
|
|
3076
|
-
:rtype: bool
|
|
461
|
+
:param context:
|
|
3077
462
|
"""
|
|
3078
463
|
...
|
|
3079
464
|
|
|
3080
|
-
|
|
465
|
+
@classmethod
|
|
466
|
+
def poll(cls, context):
|
|
3081
467
|
"""
|
|
3082
468
|
|
|
3083
469
|
:param context:
|
|
3084
470
|
"""
|
|
3085
471
|
...
|
|
3086
472
|
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
when not found (matches Python's dictionary function of the same name).
|
|
473
|
+
class SubdivisionSet(bpy.types.Operator):
|
|
474
|
+
"""Sets a Subdivision Surface level (1 to 5)"""
|
|
3090
475
|
|
|
3091
|
-
|
|
3092
|
-
|
|
476
|
+
bl_idname: typing.Any
|
|
477
|
+
bl_label: typing.Any
|
|
478
|
+
bl_options: typing.Any
|
|
479
|
+
bl_rna: typing.Any
|
|
480
|
+
id_data: typing.Any
|
|
3093
481
|
|
|
3094
|
-
def
|
|
482
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3095
483
|
"""
|
|
3096
484
|
|
|
3097
|
-
:return:
|
|
485
|
+
:return: The RNA type or default when not found.
|
|
486
|
+
:rtype: bpy.types.Struct
|
|
3098
487
|
"""
|
|
3099
488
|
...
|
|
3100
489
|
|
|
3101
|
-
def
|
|
490
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3102
491
|
"""
|
|
3103
492
|
|
|
3104
|
-
:return:
|
|
493
|
+
:return: The class or default when not found.
|
|
494
|
+
:rtype: typing.Any
|
|
3105
495
|
"""
|
|
3106
496
|
...
|
|
3107
497
|
|
|
3108
|
-
def
|
|
498
|
+
def execute(self, context):
|
|
3109
499
|
"""
|
|
3110
500
|
|
|
3111
|
-
:
|
|
501
|
+
:param context:
|
|
3112
502
|
"""
|
|
3113
503
|
...
|
|
3114
504
|
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
:return: True when the property is hidden.
|
|
3119
|
-
:rtype: bool
|
|
505
|
+
@classmethod
|
|
506
|
+
def poll(cls, context):
|
|
3120
507
|
"""
|
|
3121
|
-
...
|
|
3122
|
-
|
|
3123
|
-
def is_property_overridable_library(self) -> bool:
|
|
3124
|
-
"""Check if a property is overridable.
|
|
3125
508
|
|
|
3126
|
-
:
|
|
3127
|
-
:rtype: bool
|
|
509
|
+
:param context:
|
|
3128
510
|
"""
|
|
3129
511
|
...
|
|
3130
512
|
|
|
3131
|
-
|
|
3132
|
-
|
|
513
|
+
class TransformsToDeltas(bpy.types.Operator):
|
|
514
|
+
"""Convert normal object transforms to delta transforms, any existing delta transforms will be included as well"""
|
|
3133
515
|
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
516
|
+
bl_idname: typing.Any
|
|
517
|
+
bl_label: typing.Any
|
|
518
|
+
bl_options: typing.Any
|
|
519
|
+
bl_rna: typing.Any
|
|
520
|
+
id_data: typing.Any
|
|
3138
521
|
|
|
3139
|
-
def
|
|
3140
|
-
"""
|
|
522
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
523
|
+
"""
|
|
3141
524
|
|
|
3142
|
-
:return:
|
|
3143
|
-
:rtype:
|
|
525
|
+
:return: The RNA type or default when not found.
|
|
526
|
+
:rtype: bpy.types.Struct
|
|
3144
527
|
"""
|
|
3145
528
|
...
|
|
3146
529
|
|
|
3147
|
-
def
|
|
3148
|
-
"""
|
|
3149
|
-
dictionary function of the same name).
|
|
530
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
531
|
+
"""
|
|
3150
532
|
|
|
3151
|
-
|
|
533
|
+
:return: The class or default when not found.
|
|
534
|
+
:rtype: typing.Any
|
|
3152
535
|
"""
|
|
3153
536
|
...
|
|
3154
537
|
|
|
3155
|
-
def
|
|
3156
|
-
"""
|
|
538
|
+
def execute(self, context):
|
|
539
|
+
"""
|
|
3157
540
|
|
|
3158
|
-
:
|
|
3159
|
-
:rtype: bool
|
|
541
|
+
:param context:
|
|
3160
542
|
"""
|
|
3161
543
|
...
|
|
3162
544
|
|
|
3163
|
-
|
|
3164
|
-
|
|
545
|
+
@classmethod
|
|
546
|
+
def poll(cls, context):
|
|
547
|
+
"""
|
|
3165
548
|
|
|
3166
|
-
:
|
|
3167
|
-
:rtype: bool
|
|
549
|
+
:param context:
|
|
3168
550
|
"""
|
|
3169
551
|
...
|
|
3170
552
|
|
|
3171
|
-
def
|
|
3172
|
-
"""
|
|
3173
|
-
dictionary function of the same name).
|
|
553
|
+
def transfer_location(self, obj):
|
|
554
|
+
"""
|
|
3174
555
|
|
|
3175
|
-
|
|
556
|
+
:param obj:
|
|
3176
557
|
"""
|
|
3177
558
|
...
|
|
3178
559
|
|
|
3179
|
-
def
|
|
3180
|
-
"""Returns the data path from the ID to this object (string).
|
|
3181
|
-
|
|
3182
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3183
|
-
to this struct and property (when given).
|
|
3184
|
-
:rtype: str
|
|
560
|
+
def transfer_rotation(self, obj):
|
|
3185
561
|
"""
|
|
3186
|
-
...
|
|
3187
562
|
|
|
3188
|
-
|
|
3189
|
-
"""
|
|
563
|
+
:param obj:
|
|
564
|
+
"""
|
|
3190
565
|
...
|
|
3191
566
|
|
|
3192
|
-
|
|
3193
|
-
def poll(cls, context):
|
|
567
|
+
def transfer_scale(self, obj):
|
|
3194
568
|
"""
|
|
3195
569
|
|
|
3196
|
-
:param
|
|
570
|
+
:param obj:
|
|
3197
571
|
"""
|
|
3198
572
|
...
|
|
3199
573
|
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
...
|
|
574
|
+
class TransformsToDeltasAnim(bpy.types.Operator):
|
|
575
|
+
"""Convert object animation for normal transforms to delta transforms"""
|
|
3203
576
|
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
577
|
+
bl_idname: typing.Any
|
|
578
|
+
bl_label: typing.Any
|
|
579
|
+
bl_options: typing.Any
|
|
580
|
+
bl_rna: typing.Any
|
|
581
|
+
id_data: typing.Any
|
|
3207
582
|
|
|
583
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3208
584
|
"""
|
|
3209
|
-
...
|
|
3210
585
|
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3215
|
-
:rtype: bool
|
|
586
|
+
:return: The RNA type or default when not found.
|
|
587
|
+
:rtype: bpy.types.Struct
|
|
3216
588
|
"""
|
|
3217
589
|
...
|
|
3218
590
|
|
|
3219
|
-
def
|
|
3220
|
-
"""
|
|
591
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
592
|
+
"""
|
|
593
|
+
|
|
594
|
+
:return: The class or default when not found.
|
|
595
|
+
:rtype: typing.Any
|
|
596
|
+
"""
|
|
3221
597
|
...
|
|
3222
598
|
|
|
3223
|
-
def
|
|
3224
|
-
"""
|
|
3225
|
-
such as textures can be changed at runtime.
|
|
599
|
+
def execute(self, context):
|
|
600
|
+
"""
|
|
3226
601
|
|
|
3227
|
-
|
|
602
|
+
:param context:
|
|
3228
603
|
"""
|
|
3229
604
|
...
|
|
3230
605
|
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
606
|
+
@classmethod
|
|
607
|
+
def poll(cls, context):
|
|
608
|
+
"""
|
|
3234
609
|
|
|
3235
|
-
|
|
610
|
+
:param context:
|
|
3236
611
|
"""
|
|
3237
612
|
...
|