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.

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