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