fake-bpy-module 20240718__py3-none-any.whl → 20240720__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_operators/add_mesh_torus/__init__.pyi +1 -190
- bl_operators/anim/__init__.pyi +104 -1504
- bl_operators/assets/__init__.pyi +3 -535
- bl_operators/bone_selection_sets/__init__.pyi +187 -2680
- bl_operators/clip/__init__.pyi +144 -1894
- bl_operators/connect_to_output/__init__.pyi +3 -176
- bl_operators/console/__init__.pyi +5 -880
- bl_operators/constraint/__init__.pyi +4 -704
- bl_operators/file/__init__.pyi +3 -528
- bl_operators/freestyle/__init__.pyi +4 -704
- bl_operators/geometry_nodes/__init__.pyi +4 -704
- bl_operators/image/__init__.pyi +5 -869
- bl_operators/image_as_planes/__init__.pyi +4 -424
- bl_operators/mesh/__init__.pyi +3 -528
- bl_operators/node/__init__.pyi +159 -2065
- bl_operators/object/__init__.pyi +217 -2842
- bl_operators/object_align/__init__.pyi +1 -176
- bl_operators/object_quick_effects/__init__.pyi +4 -725
- bl_operators/object_randomize_transform/__init__.pyi +1 -176
- bl_operators/presets/__init__.pyi +405 -5487
- bl_operators/rigidbody/__init__.pyi +3 -528
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
- bl_operators/sequencer/__init__.pyi +119 -1507
- bl_operators/spreadsheet/__init__.pyi +1 -176
- bl_operators/userpref/__init__.pyi +383 -4757
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
- bl_operators/uvcalc_transform/__init__.pyi +2 -352
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
- bl_operators/view3d/__init__.pyi +101 -1468
- bl_operators/wm/__init__.pyi +723 -8894
- bl_operators/world/__init__.pyi +1 -176
- bl_ui/__init__.pyi +3 -534
- bl_ui/anim/__init__.pyi +1 -244
- bl_ui/asset_shelf/__init__.pyi +1 -189
- bl_ui/generic_ui_list/__init__.pyi +3 -594
- bl_ui/node_add_menu/__init__.pyi +1 -244
- bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
- bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
- bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
- bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
- bl_ui/properties_collection/__init__.pyi +58 -1272
- bl_ui/properties_constraint/__init__.pyi +1508 -32656
- bl_ui/properties_data_armature/__init__.pyi +278 -3804
- bl_ui/properties_data_bone/__init__.pyi +151 -2062
- bl_ui/properties_data_camera/__init__.pyi +216 -3034
- bl_ui/properties_data_curve/__init__.pyi +214 -3117
- bl_ui/properties_data_curves/__init__.pyi +57 -1273
- bl_ui/properties_data_empty/__init__.pyi +2 -385
- bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
- bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
- bl_ui/properties_data_lattice/__init__.pyi +3 -595
- bl_ui/properties_data_light/__init__.pyi +200 -2502
- bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
- bl_ui/properties_data_mesh/__init__.pyi +323 -4380
- bl_ui/properties_data_metaball/__init__.pyi +38 -1011
- bl_ui/properties_data_modifier/__init__.pyi +157 -2451
- bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
- bl_ui/properties_data_speaker/__init__.pyi +36 -1018
- bl_ui/properties_data_volume/__init__.pyi +104 -1660
- bl_ui/properties_freestyle/__init__.pyi +438 -5136
- bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
- bl_ui/properties_mask_common/__init__.pyi +59 -1705
- bl_ui/properties_material/__init__.pyi +227 -3334
- bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
- bl_ui/properties_object/__init__.pyi +197 -2908
- bl_ui/properties_output/__init__.pyi +286 -3895
- bl_ui/properties_paint_common/__init__.pyi +40 -923
- bl_ui/properties_particle/__init__.pyi +954 -10839
- bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
- bl_ui/properties_physics_common/__init__.pyi +1 -196
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
- bl_ui/properties_physics_field/__init__.pyi +160 -2166
- bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
- bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
- bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
- bl_ui/properties_render/__init__.pyi +1065 -11565
- bl_ui/properties_scene/__init__.pyi +209 -3090
- bl_ui/properties_texture/__init__.pyi +426 -5475
- bl_ui/properties_view_layer/__init__.pyi +264 -3827
- bl_ui/properties_workspace/__init__.pyi +7 -770
- bl_ui/properties_world/__init__.pyi +147 -2056
- bl_ui/space_clip/__init__.pyi +1013 -16279
- bl_ui/space_console/__init__.pyi +39 -1442
- bl_ui/space_dopesheet/__init__.pyi +450 -7213
- bl_ui/space_filebrowser/__init__.pyi +406 -6708
- bl_ui/space_graph/__init__.pyi +223 -4886
- bl_ui/space_image/__init__.pyi +1091 -16394
- bl_ui/space_info/__init__.pyi +39 -1442
- bl_ui/space_nla/__init__.pyi +216 -4157
- bl_ui/space_node/__init__.pyi +394 -6344
- bl_ui/space_outliner/__init__.pyi +156 -3448
- bl_ui/space_properties/__init__.pyi +3 -567
- bl_ui/space_sequencer/__init__.pyi +1224 -18036
- bl_ui/space_spreadsheet/__init__.pyi +1 -189
- bl_ui/space_statusbar/__init__.pyi +1 -189
- bl_ui/space_text/__init__.pyi +183 -3851
- bl_ui/space_time/__init__.pyi +69 -1622
- bl_ui/space_toolsystem_common/__init__.pyi +2 -118
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
- bl_ui/space_topbar/__init__.pyi +322 -6269
- bl_ui/space_userpref/__init__.pyi +1758 -19735
- bl_ui/space_view3d/__init__.pyi +3853 -67593
- bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
- bl_ui/temp_anim_layers/__init__.pyi +1 -189
- bl_ui/utils/__init__.pyi +0 -35
- bpy/ops/outliner/__init__.pyi +0 -1
- bpy/ops/sound/__init__.pyi +37 -7
- bpy/types/__init__.pyi +65 -8
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/RECORD +120 -120
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/top_level.txt +0 -0
bl_operators/node/__init__.pyi
CHANGED
|
@@ -6,7 +6,7 @@ import bpy.types
|
|
|
6
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
|
-
class NODE_FH_image_node:
|
|
9
|
+
class NODE_FH_image_node(bpy.types.FileHandler):
|
|
10
10
|
bl_file_extensions: typing.Any
|
|
11
11
|
bl_idname: typing.Any
|
|
12
12
|
bl_import_operator: typing.Any
|
|
@@ -14,14 +14,6 @@ class NODE_FH_image_node:
|
|
|
14
14
|
bl_rna: typing.Any
|
|
15
15
|
id_data: typing.Any
|
|
16
16
|
|
|
17
|
-
def as_pointer(self) -> int:
|
|
18
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
19
|
-
|
|
20
|
-
:return: int (memory address).
|
|
21
|
-
:rtype: int
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
|
|
25
17
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
26
18
|
"""
|
|
27
19
|
|
|
@@ -38,172 +30,153 @@ class NODE_FH_image_node:
|
|
|
38
30
|
"""
|
|
39
31
|
...
|
|
40
32
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
:return: The driver(s) added.
|
|
45
|
-
:rtype: bpy.types.FCurve
|
|
33
|
+
@classmethod
|
|
34
|
+
def poll_drop(cls, context):
|
|
46
35
|
"""
|
|
47
|
-
...
|
|
48
36
|
|
|
49
|
-
|
|
50
|
-
"""Remove driver(s) from the given property
|
|
51
|
-
|
|
52
|
-
:return: Success of driver removal.
|
|
53
|
-
:rtype: bool
|
|
37
|
+
:param context:
|
|
54
38
|
"""
|
|
55
39
|
...
|
|
56
40
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
when not found (matches Python's dictionary function of the same name).
|
|
41
|
+
class NODE_OT_add_node(NodeAddOperator, bpy.types.Operator):
|
|
42
|
+
"""Add a node to the active tree"""
|
|
60
43
|
|
|
61
|
-
|
|
62
|
-
|
|
44
|
+
bl_idname: typing.Any
|
|
45
|
+
bl_label: typing.Any
|
|
46
|
+
bl_options: typing.Any
|
|
47
|
+
bl_rna: typing.Any
|
|
48
|
+
id_data: typing.Any
|
|
63
49
|
|
|
64
|
-
def
|
|
50
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
65
51
|
"""
|
|
66
52
|
|
|
67
|
-
:return:
|
|
53
|
+
:return: The RNA type or default when not found.
|
|
54
|
+
:rtype: bpy.types.Struct
|
|
68
55
|
"""
|
|
69
56
|
...
|
|
70
57
|
|
|
71
|
-
def
|
|
58
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
72
59
|
"""
|
|
73
60
|
|
|
74
|
-
:return:
|
|
61
|
+
:return: The class or default when not found.
|
|
62
|
+
:rtype: typing.Any
|
|
75
63
|
"""
|
|
76
64
|
...
|
|
77
65
|
|
|
78
|
-
|
|
66
|
+
@classmethod
|
|
67
|
+
def description(cls, _context, properties):
|
|
79
68
|
"""
|
|
80
69
|
|
|
81
|
-
:
|
|
70
|
+
:param _context:
|
|
71
|
+
:param properties:
|
|
82
72
|
"""
|
|
83
73
|
...
|
|
84
74
|
|
|
85
|
-
def
|
|
86
|
-
"""Check if a property is hidden.
|
|
87
|
-
|
|
88
|
-
:return: True when the property is hidden.
|
|
89
|
-
:rtype: bool
|
|
75
|
+
def execute(self, context):
|
|
90
76
|
"""
|
|
91
|
-
...
|
|
92
|
-
|
|
93
|
-
def is_property_overridable_library(self) -> bool:
|
|
94
|
-
"""Check if a property is overridable.
|
|
95
77
|
|
|
96
|
-
:
|
|
97
|
-
:rtype: bool
|
|
78
|
+
:param context:
|
|
98
79
|
"""
|
|
99
80
|
...
|
|
100
81
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
:return: True when the property is readonly (not writable).
|
|
105
|
-
:rtype: bool
|
|
106
|
-
"""
|
|
107
|
-
...
|
|
82
|
+
class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator, bpy.types.Operator):
|
|
83
|
+
"""Add a repeat zone that allows executing nodes a dynamic number of times"""
|
|
108
84
|
|
|
109
|
-
|
|
110
|
-
|
|
85
|
+
bl_idname: typing.Any
|
|
86
|
+
bl_label: typing.Any
|
|
87
|
+
bl_options: typing.Any
|
|
88
|
+
bl_rna: typing.Any
|
|
89
|
+
id_data: typing.Any
|
|
90
|
+
input_node_type: typing.Any
|
|
91
|
+
output_node_type: typing.Any
|
|
111
92
|
|
|
112
|
-
|
|
113
|
-
:rtype: bool
|
|
93
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
114
94
|
"""
|
|
115
|
-
...
|
|
116
95
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
dictionary function of the same name).
|
|
120
|
-
|
|
121
|
-
:return: custom property key, value pairs.
|
|
96
|
+
:return: The RNA type or default when not found.
|
|
97
|
+
:rtype: bpy.types.Struct
|
|
122
98
|
"""
|
|
123
99
|
...
|
|
124
100
|
|
|
125
|
-
def
|
|
126
|
-
"""
|
|
101
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
102
|
+
"""
|
|
127
103
|
|
|
128
|
-
:return:
|
|
129
|
-
:rtype:
|
|
104
|
+
:return: The class or default when not found.
|
|
105
|
+
:rtype: typing.Any
|
|
130
106
|
"""
|
|
131
107
|
...
|
|
132
108
|
|
|
133
|
-
|
|
134
|
-
|
|
109
|
+
class NODE_OT_add_simulation_zone(
|
|
110
|
+
NodeAddOperator, NodeAddZoneOperator, bpy.types.Operator
|
|
111
|
+
):
|
|
112
|
+
"""Add simulation zone input and output nodes to the active tree"""
|
|
135
113
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
114
|
+
bl_idname: typing.Any
|
|
115
|
+
bl_label: typing.Any
|
|
116
|
+
bl_options: typing.Any
|
|
117
|
+
bl_rna: typing.Any
|
|
118
|
+
id_data: typing.Any
|
|
119
|
+
input_node_type: typing.Any
|
|
120
|
+
output_node_type: typing.Any
|
|
140
121
|
|
|
141
|
-
def
|
|
142
|
-
"""
|
|
143
|
-
dictionary function of the same name).
|
|
122
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
123
|
+
"""
|
|
144
124
|
|
|
145
|
-
|
|
125
|
+
:return: The RNA type or default when not found.
|
|
126
|
+
:rtype: bpy.types.Struct
|
|
146
127
|
"""
|
|
147
128
|
...
|
|
148
129
|
|
|
149
|
-
def
|
|
150
|
-
"""
|
|
130
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
131
|
+
"""
|
|
151
132
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
:rtype: str
|
|
133
|
+
:return: The class or default when not found.
|
|
134
|
+
:rtype: typing.Any
|
|
155
135
|
"""
|
|
156
136
|
...
|
|
157
137
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
...
|
|
138
|
+
class NODE_OT_collapse_hide_unused_toggle(bpy.types.Operator):
|
|
139
|
+
"""Toggle collapsed nodes and hide unused sockets"""
|
|
161
140
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
141
|
+
bl_idname: typing.Any
|
|
142
|
+
bl_label: typing.Any
|
|
143
|
+
bl_options: typing.Any
|
|
144
|
+
bl_rna: typing.Any
|
|
145
|
+
id_data: typing.Any
|
|
165
146
|
|
|
166
|
-
|
|
147
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
167
148
|
"""
|
|
168
|
-
...
|
|
169
|
-
|
|
170
|
-
def pop(self):
|
|
171
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
172
|
-
when not found (matches Python's dictionary function of the same name).
|
|
173
149
|
|
|
150
|
+
:return: The RNA type or default when not found.
|
|
151
|
+
:rtype: bpy.types.Struct
|
|
174
152
|
"""
|
|
175
153
|
...
|
|
176
154
|
|
|
177
|
-
def
|
|
178
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
179
|
-
|
|
180
|
-
:return: True when the overridable status of the property was successfully set.
|
|
181
|
-
:rtype: bool
|
|
155
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
182
156
|
"""
|
|
183
|
-
...
|
|
184
157
|
|
|
185
|
-
|
|
186
|
-
|
|
158
|
+
:return: The class or default when not found.
|
|
159
|
+
:rtype: typing.Any
|
|
160
|
+
"""
|
|
187
161
|
...
|
|
188
162
|
|
|
189
|
-
def
|
|
190
|
-
"""
|
|
191
|
-
such as textures can be changed at runtime.
|
|
163
|
+
def execute(self, context):
|
|
164
|
+
"""
|
|
192
165
|
|
|
193
|
-
|
|
166
|
+
:param context:
|
|
194
167
|
"""
|
|
195
168
|
...
|
|
196
169
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
170
|
+
@classmethod
|
|
171
|
+
def poll(cls, context):
|
|
172
|
+
"""
|
|
200
173
|
|
|
201
|
-
|
|
174
|
+
:param context:
|
|
202
175
|
"""
|
|
203
176
|
...
|
|
204
177
|
|
|
205
|
-
class
|
|
206
|
-
"""Add a
|
|
178
|
+
class NODE_OT_interface_item_duplicate(NodeInterfaceOperator, bpy.types.Operator):
|
|
179
|
+
"""Add a copy of the active item to the interface"""
|
|
207
180
|
|
|
208
181
|
bl_idname: typing.Any
|
|
209
182
|
bl_label: typing.Any
|
|
@@ -211,21 +184,6 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
211
184
|
bl_rna: typing.Any
|
|
212
185
|
id_data: typing.Any
|
|
213
186
|
|
|
214
|
-
def as_keywords(self, *, ignore=()):
|
|
215
|
-
"""Return a copy of the properties as a dictionary
|
|
216
|
-
|
|
217
|
-
:param ignore:
|
|
218
|
-
"""
|
|
219
|
-
...
|
|
220
|
-
|
|
221
|
-
def as_pointer(self) -> int:
|
|
222
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
223
|
-
|
|
224
|
-
:return: int (memory address).
|
|
225
|
-
:rtype: int
|
|
226
|
-
"""
|
|
227
|
-
...
|
|
228
|
-
|
|
229
187
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
230
188
|
"""
|
|
231
189
|
|
|
@@ -242,43 +200,43 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
242
200
|
"""
|
|
243
201
|
...
|
|
244
202
|
|
|
245
|
-
def
|
|
203
|
+
def execute(self, context):
|
|
246
204
|
"""
|
|
247
205
|
|
|
248
206
|
:param context:
|
|
249
|
-
:param node_type:
|
|
250
207
|
"""
|
|
251
208
|
...
|
|
252
209
|
|
|
253
210
|
@classmethod
|
|
254
|
-
def
|
|
211
|
+
def poll(cls, context):
|
|
255
212
|
"""
|
|
256
213
|
|
|
257
|
-
:param
|
|
258
|
-
:param properties:
|
|
214
|
+
:param context:
|
|
259
215
|
"""
|
|
260
216
|
...
|
|
261
217
|
|
|
262
|
-
|
|
263
|
-
|
|
218
|
+
class NODE_OT_interface_item_new(NodeInterfaceOperator, bpy.types.Operator):
|
|
219
|
+
"""Add a new item to the interface"""
|
|
264
220
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
221
|
+
bl_idname: typing.Any
|
|
222
|
+
bl_label: typing.Any
|
|
223
|
+
bl_options: typing.Any
|
|
224
|
+
bl_rna: typing.Any
|
|
225
|
+
id_data: typing.Any
|
|
268
226
|
|
|
269
|
-
def
|
|
270
|
-
"""
|
|
227
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
228
|
+
"""
|
|
271
229
|
|
|
272
|
-
:return: The
|
|
273
|
-
:rtype: bpy.types.
|
|
230
|
+
:return: The RNA type or default when not found.
|
|
231
|
+
:rtype: bpy.types.Struct
|
|
274
232
|
"""
|
|
275
233
|
...
|
|
276
234
|
|
|
277
|
-
def
|
|
278
|
-
"""
|
|
235
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
236
|
+
"""
|
|
279
237
|
|
|
280
|
-
:return:
|
|
281
|
-
:rtype:
|
|
238
|
+
:return: The class or default when not found.
|
|
239
|
+
:rtype: typing.Any
|
|
282
240
|
"""
|
|
283
241
|
...
|
|
284
242
|
|
|
@@ -289,150 +247,121 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
289
247
|
"""
|
|
290
248
|
...
|
|
291
249
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
250
|
+
@staticmethod
|
|
251
|
+
def find_valid_socket_type(tree):
|
|
252
|
+
"""
|
|
295
253
|
|
|
254
|
+
:param tree:
|
|
296
255
|
"""
|
|
297
256
|
...
|
|
298
257
|
|
|
299
|
-
|
|
300
|
-
|
|
258
|
+
class NODE_OT_interface_item_remove(NodeInterfaceOperator, bpy.types.Operator):
|
|
259
|
+
"""Remove active item from the interface"""
|
|
301
260
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
261
|
+
bl_idname: typing.Any
|
|
262
|
+
bl_label: typing.Any
|
|
263
|
+
bl_options: typing.Any
|
|
264
|
+
bl_rna: typing.Any
|
|
265
|
+
id_data: typing.Any
|
|
305
266
|
|
|
306
|
-
def
|
|
267
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
307
268
|
"""
|
|
308
269
|
|
|
309
|
-
:return:
|
|
270
|
+
:return: The RNA type or default when not found.
|
|
271
|
+
:rtype: bpy.types.Struct
|
|
310
272
|
"""
|
|
311
273
|
...
|
|
312
274
|
|
|
313
|
-
def
|
|
275
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
314
276
|
"""
|
|
315
277
|
|
|
316
|
-
:return:
|
|
278
|
+
:return: The class or default when not found.
|
|
279
|
+
:rtype: typing.Any
|
|
317
280
|
"""
|
|
318
281
|
...
|
|
319
282
|
|
|
320
|
-
def
|
|
283
|
+
def execute(self, context):
|
|
321
284
|
"""
|
|
322
285
|
|
|
323
286
|
:param context:
|
|
324
|
-
:param event:
|
|
325
287
|
"""
|
|
326
288
|
...
|
|
327
289
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
:return: True when the property is hidden.
|
|
332
|
-
:rtype: bool
|
|
333
|
-
"""
|
|
334
|
-
...
|
|
290
|
+
class NODE_OT_tree_path_parent(bpy.types.Operator):
|
|
291
|
+
"""Go to parent node tree"""
|
|
335
292
|
|
|
336
|
-
|
|
337
|
-
|
|
293
|
+
bl_idname: typing.Any
|
|
294
|
+
bl_label: typing.Any
|
|
295
|
+
bl_options: typing.Any
|
|
296
|
+
bl_rna: typing.Any
|
|
297
|
+
id_data: typing.Any
|
|
338
298
|
|
|
339
|
-
|
|
340
|
-
:rtype: bool
|
|
299
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
341
300
|
"""
|
|
342
|
-
...
|
|
343
|
-
|
|
344
|
-
def is_property_readonly(self) -> bool:
|
|
345
|
-
"""Check if a property is readonly.
|
|
346
301
|
|
|
347
|
-
:return:
|
|
348
|
-
:rtype:
|
|
302
|
+
:return: The RNA type or default when not found.
|
|
303
|
+
:rtype: bpy.types.Struct
|
|
349
304
|
"""
|
|
350
305
|
...
|
|
351
306
|
|
|
352
|
-
def
|
|
353
|
-
"""Check if a property is set, use for testing operator properties.
|
|
354
|
-
|
|
355
|
-
:return: True when the property has been set.
|
|
356
|
-
:rtype: bool
|
|
307
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
357
308
|
"""
|
|
358
|
-
...
|
|
359
|
-
|
|
360
|
-
def items(self):
|
|
361
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
362
|
-
dictionary function of the same name).
|
|
363
309
|
|
|
364
|
-
|
|
310
|
+
:return: The class or default when not found.
|
|
311
|
+
:rtype: typing.Any
|
|
365
312
|
"""
|
|
366
313
|
...
|
|
367
314
|
|
|
368
|
-
def
|
|
369
|
-
"""Remove a keyframe from this properties fcurve.
|
|
370
|
-
|
|
371
|
-
:return: Success of keyframe deletion.
|
|
372
|
-
:rtype: bool
|
|
315
|
+
def execute(self, context):
|
|
373
316
|
"""
|
|
374
|
-
...
|
|
375
|
-
|
|
376
|
-
def keyframe_insert(self) -> bool:
|
|
377
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
378
317
|
|
|
379
|
-
:
|
|
380
|
-
:rtype: bool
|
|
318
|
+
:param context:
|
|
381
319
|
"""
|
|
382
320
|
...
|
|
383
321
|
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
322
|
+
@classmethod
|
|
323
|
+
def poll(cls, context):
|
|
324
|
+
"""
|
|
387
325
|
|
|
388
|
-
|
|
326
|
+
:param context:
|
|
389
327
|
"""
|
|
390
328
|
...
|
|
391
329
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
396
|
-
to this struct and property (when given).
|
|
397
|
-
:rtype: str
|
|
330
|
+
class NodeAddOperator:
|
|
331
|
+
def create_node(self, context, node_type):
|
|
398
332
|
"""
|
|
399
|
-
...
|
|
400
333
|
|
|
401
|
-
|
|
402
|
-
|
|
334
|
+
:param context:
|
|
335
|
+
:param node_type:
|
|
336
|
+
"""
|
|
403
337
|
...
|
|
404
338
|
|
|
405
|
-
|
|
339
|
+
@staticmethod
|
|
340
|
+
def deselect_nodes(context):
|
|
406
341
|
"""
|
|
407
342
|
|
|
408
343
|
:param context:
|
|
409
344
|
"""
|
|
410
345
|
...
|
|
411
346
|
|
|
412
|
-
def
|
|
413
|
-
"""
|
|
414
|
-
...
|
|
415
|
-
|
|
416
|
-
def pop(self):
|
|
417
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
418
|
-
when not found (matches Python's dictionary function of the same name).
|
|
347
|
+
def invoke(self, context, event):
|
|
348
|
+
"""
|
|
419
349
|
|
|
350
|
+
:param context:
|
|
351
|
+
:param event:
|
|
420
352
|
"""
|
|
421
353
|
...
|
|
422
354
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
:return: True when the overridable status of the property was successfully set.
|
|
427
|
-
:rtype: bool
|
|
355
|
+
@classmethod
|
|
356
|
+
def poll(cls, context):
|
|
428
357
|
"""
|
|
429
|
-
...
|
|
430
358
|
|
|
431
|
-
|
|
432
|
-
"""
|
|
359
|
+
:param context:
|
|
360
|
+
"""
|
|
433
361
|
...
|
|
434
362
|
|
|
435
|
-
|
|
363
|
+
@staticmethod
|
|
364
|
+
def store_mouse_cursor(context, event):
|
|
436
365
|
"""
|
|
437
366
|
|
|
438
367
|
:param context:
|
|
@@ -440,47 +369,18 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
440
369
|
"""
|
|
441
370
|
...
|
|
442
371
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
:return: a new instance of this object with the type initialized again.
|
|
372
|
+
class NodeInterfaceOperator:
|
|
373
|
+
@classmethod
|
|
374
|
+
def poll(cls, context):
|
|
448
375
|
"""
|
|
449
|
-
...
|
|
450
|
-
|
|
451
|
-
def values(self):
|
|
452
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
453
|
-
dictionary function of the same name).
|
|
454
376
|
|
|
455
|
-
|
|
377
|
+
:param context:
|
|
456
378
|
"""
|
|
457
379
|
...
|
|
458
380
|
|
|
459
|
-
class
|
|
460
|
-
"""Add a repeat zone that allows executing nodes a dynamic number of times"""
|
|
461
|
-
|
|
462
|
-
bl_idname: typing.Any
|
|
463
|
-
bl_label: typing.Any
|
|
464
|
-
bl_options: typing.Any
|
|
381
|
+
class NodeSetting(bpy.types.PropertyGroup):
|
|
465
382
|
bl_rna: typing.Any
|
|
466
383
|
id_data: typing.Any
|
|
467
|
-
input_node_type: typing.Any
|
|
468
|
-
output_node_type: typing.Any
|
|
469
|
-
|
|
470
|
-
def as_keywords(self, *, ignore=()):
|
|
471
|
-
"""Return a copy of the properties as a dictionary
|
|
472
|
-
|
|
473
|
-
:param ignore:
|
|
474
|
-
"""
|
|
475
|
-
...
|
|
476
|
-
|
|
477
|
-
def as_pointer(self) -> int:
|
|
478
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
479
|
-
|
|
480
|
-
:return: int (memory address).
|
|
481
|
-
:rtype: int
|
|
482
|
-
"""
|
|
483
|
-
...
|
|
484
384
|
|
|
485
385
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
486
386
|
"""
|
|
@@ -498,1816 +398,10 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
498
398
|
"""
|
|
499
399
|
...
|
|
500
400
|
|
|
501
|
-
|
|
502
|
-
"""
|
|
503
|
-
|
|
504
|
-
:param context:
|
|
505
|
-
:param node_type:
|
|
506
|
-
"""
|
|
507
|
-
...
|
|
508
|
-
|
|
509
|
-
def deselect_nodes(self, context):
|
|
510
|
-
"""
|
|
511
|
-
|
|
512
|
-
:param context:
|
|
513
|
-
"""
|
|
514
|
-
...
|
|
515
|
-
|
|
516
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
517
|
-
"""Adds driver(s) to the given property
|
|
518
|
-
|
|
519
|
-
:return: The driver(s) added.
|
|
520
|
-
:rtype: bpy.types.FCurve
|
|
521
|
-
"""
|
|
522
|
-
...
|
|
523
|
-
|
|
524
|
-
def driver_remove(self) -> bool:
|
|
525
|
-
"""Remove driver(s) from the given property
|
|
526
|
-
|
|
527
|
-
:return: Success of driver removal.
|
|
528
|
-
:rtype: bool
|
|
529
|
-
"""
|
|
530
|
-
...
|
|
531
|
-
|
|
401
|
+
class NodeAddZoneOperator(NodeAddOperator):
|
|
532
402
|
def execute(self, context):
|
|
533
403
|
"""
|
|
534
404
|
|
|
535
405
|
:param context:
|
|
536
406
|
"""
|
|
537
407
|
...
|
|
538
|
-
|
|
539
|
-
def get(self):
|
|
540
|
-
"""Returns the value of the custom property assigned to key or default
|
|
541
|
-
when not found (matches Python's dictionary function of the same name).
|
|
542
|
-
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
545
|
-
|
|
546
|
-
def id_properties_clear(self):
|
|
547
|
-
"""
|
|
548
|
-
|
|
549
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
550
|
-
"""
|
|
551
|
-
...
|
|
552
|
-
|
|
553
|
-
def id_properties_ensure(self):
|
|
554
|
-
"""
|
|
555
|
-
|
|
556
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
557
|
-
"""
|
|
558
|
-
...
|
|
559
|
-
|
|
560
|
-
def id_properties_ui(self):
|
|
561
|
-
"""
|
|
562
|
-
|
|
563
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
564
|
-
"""
|
|
565
|
-
...
|
|
566
|
-
|
|
567
|
-
def invoke(self, context, event):
|
|
568
|
-
"""
|
|
569
|
-
|
|
570
|
-
:param context:
|
|
571
|
-
:param event:
|
|
572
|
-
"""
|
|
573
|
-
...
|
|
574
|
-
|
|
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 poll_message_set(self):
|
|
660
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
661
|
-
...
|
|
662
|
-
|
|
663
|
-
def pop(self):
|
|
664
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
665
|
-
when not found (matches Python's dictionary function of the same name).
|
|
666
|
-
|
|
667
|
-
"""
|
|
668
|
-
...
|
|
669
|
-
|
|
670
|
-
def property_overridable_library_set(self) -> bool:
|
|
671
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
672
|
-
|
|
673
|
-
:return: True when the overridable status of the property was successfully set.
|
|
674
|
-
:rtype: bool
|
|
675
|
-
"""
|
|
676
|
-
...
|
|
677
|
-
|
|
678
|
-
def property_unset(self):
|
|
679
|
-
"""Unset a property, will use default value afterward."""
|
|
680
|
-
...
|
|
681
|
-
|
|
682
|
-
def store_mouse_cursor(self, context, event):
|
|
683
|
-
"""
|
|
684
|
-
|
|
685
|
-
:param context:
|
|
686
|
-
:param event:
|
|
687
|
-
"""
|
|
688
|
-
...
|
|
689
|
-
|
|
690
|
-
def type_recast(self):
|
|
691
|
-
"""Return a new instance, this is needed because types
|
|
692
|
-
such as textures can be changed at runtime.
|
|
693
|
-
|
|
694
|
-
:return: a new instance of this object with the type initialized again.
|
|
695
|
-
"""
|
|
696
|
-
...
|
|
697
|
-
|
|
698
|
-
def values(self):
|
|
699
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
700
|
-
dictionary function of the same name).
|
|
701
|
-
|
|
702
|
-
:return: custom property values.
|
|
703
|
-
"""
|
|
704
|
-
...
|
|
705
|
-
|
|
706
|
-
class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
707
|
-
"""Add simulation zone input and output nodes to the active tree"""
|
|
708
|
-
|
|
709
|
-
bl_idname: typing.Any
|
|
710
|
-
bl_label: typing.Any
|
|
711
|
-
bl_options: typing.Any
|
|
712
|
-
bl_rna: typing.Any
|
|
713
|
-
id_data: typing.Any
|
|
714
|
-
input_node_type: typing.Any
|
|
715
|
-
output_node_type: typing.Any
|
|
716
|
-
|
|
717
|
-
def as_keywords(self, *, ignore=()):
|
|
718
|
-
"""Return a copy of the properties as a dictionary
|
|
719
|
-
|
|
720
|
-
:param ignore:
|
|
721
|
-
"""
|
|
722
|
-
...
|
|
723
|
-
|
|
724
|
-
def as_pointer(self) -> int:
|
|
725
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
726
|
-
|
|
727
|
-
:return: int (memory address).
|
|
728
|
-
:rtype: int
|
|
729
|
-
"""
|
|
730
|
-
...
|
|
731
|
-
|
|
732
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
733
|
-
"""
|
|
734
|
-
|
|
735
|
-
:return: The RNA type or default when not found.
|
|
736
|
-
:rtype: bpy.types.Struct
|
|
737
|
-
"""
|
|
738
|
-
...
|
|
739
|
-
|
|
740
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
741
|
-
"""
|
|
742
|
-
|
|
743
|
-
:return: The class or default when not found.
|
|
744
|
-
:rtype: typing.Any
|
|
745
|
-
"""
|
|
746
|
-
...
|
|
747
|
-
|
|
748
|
-
def create_node(self, context, node_type):
|
|
749
|
-
"""
|
|
750
|
-
|
|
751
|
-
:param context:
|
|
752
|
-
:param node_type:
|
|
753
|
-
"""
|
|
754
|
-
...
|
|
755
|
-
|
|
756
|
-
def deselect_nodes(self, context):
|
|
757
|
-
"""
|
|
758
|
-
|
|
759
|
-
:param context:
|
|
760
|
-
"""
|
|
761
|
-
...
|
|
762
|
-
|
|
763
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
764
|
-
"""Adds driver(s) to the given property
|
|
765
|
-
|
|
766
|
-
:return: The driver(s) added.
|
|
767
|
-
:rtype: bpy.types.FCurve
|
|
768
|
-
"""
|
|
769
|
-
...
|
|
770
|
-
|
|
771
|
-
def driver_remove(self) -> bool:
|
|
772
|
-
"""Remove driver(s) from the given property
|
|
773
|
-
|
|
774
|
-
:return: Success of driver removal.
|
|
775
|
-
:rtype: bool
|
|
776
|
-
"""
|
|
777
|
-
...
|
|
778
|
-
|
|
779
|
-
def execute(self, context):
|
|
780
|
-
"""
|
|
781
|
-
|
|
782
|
-
:param context:
|
|
783
|
-
"""
|
|
784
|
-
...
|
|
785
|
-
|
|
786
|
-
def get(self):
|
|
787
|
-
"""Returns the value of the custom property assigned to key or default
|
|
788
|
-
when not found (matches Python's dictionary function of the same name).
|
|
789
|
-
|
|
790
|
-
"""
|
|
791
|
-
...
|
|
792
|
-
|
|
793
|
-
def id_properties_clear(self):
|
|
794
|
-
"""
|
|
795
|
-
|
|
796
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
797
|
-
"""
|
|
798
|
-
...
|
|
799
|
-
|
|
800
|
-
def id_properties_ensure(self):
|
|
801
|
-
"""
|
|
802
|
-
|
|
803
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
804
|
-
"""
|
|
805
|
-
...
|
|
806
|
-
|
|
807
|
-
def id_properties_ui(self):
|
|
808
|
-
"""
|
|
809
|
-
|
|
810
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
811
|
-
"""
|
|
812
|
-
...
|
|
813
|
-
|
|
814
|
-
def invoke(self, context, event):
|
|
815
|
-
"""
|
|
816
|
-
|
|
817
|
-
:param context:
|
|
818
|
-
:param event:
|
|
819
|
-
"""
|
|
820
|
-
...
|
|
821
|
-
|
|
822
|
-
def is_property_hidden(self) -> bool:
|
|
823
|
-
"""Check if a property is hidden.
|
|
824
|
-
|
|
825
|
-
:return: True when the property is hidden.
|
|
826
|
-
:rtype: bool
|
|
827
|
-
"""
|
|
828
|
-
...
|
|
829
|
-
|
|
830
|
-
def is_property_overridable_library(self) -> bool:
|
|
831
|
-
"""Check if a property is overridable.
|
|
832
|
-
|
|
833
|
-
:return: True when the property is overridable.
|
|
834
|
-
:rtype: bool
|
|
835
|
-
"""
|
|
836
|
-
...
|
|
837
|
-
|
|
838
|
-
def is_property_readonly(self) -> bool:
|
|
839
|
-
"""Check if a property is readonly.
|
|
840
|
-
|
|
841
|
-
:return: True when the property is readonly (not writable).
|
|
842
|
-
:rtype: bool
|
|
843
|
-
"""
|
|
844
|
-
...
|
|
845
|
-
|
|
846
|
-
def is_property_set(self) -> bool:
|
|
847
|
-
"""Check if a property is set, use for testing operator properties.
|
|
848
|
-
|
|
849
|
-
:return: True when the property has been set.
|
|
850
|
-
:rtype: bool
|
|
851
|
-
"""
|
|
852
|
-
...
|
|
853
|
-
|
|
854
|
-
def items(self):
|
|
855
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
856
|
-
dictionary function of the same name).
|
|
857
|
-
|
|
858
|
-
:return: custom property key, value pairs.
|
|
859
|
-
"""
|
|
860
|
-
...
|
|
861
|
-
|
|
862
|
-
def keyframe_delete(self) -> bool:
|
|
863
|
-
"""Remove a keyframe from this properties fcurve.
|
|
864
|
-
|
|
865
|
-
:return: Success of keyframe deletion.
|
|
866
|
-
:rtype: bool
|
|
867
|
-
"""
|
|
868
|
-
...
|
|
869
|
-
|
|
870
|
-
def keyframe_insert(self) -> bool:
|
|
871
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
872
|
-
|
|
873
|
-
:return: Success of keyframe insertion.
|
|
874
|
-
:rtype: bool
|
|
875
|
-
"""
|
|
876
|
-
...
|
|
877
|
-
|
|
878
|
-
def keys(self):
|
|
879
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
880
|
-
dictionary function of the same name).
|
|
881
|
-
|
|
882
|
-
:return: custom property keys.
|
|
883
|
-
"""
|
|
884
|
-
...
|
|
885
|
-
|
|
886
|
-
def path_from_id(self) -> str:
|
|
887
|
-
"""Returns the data path from the ID to this object (string).
|
|
888
|
-
|
|
889
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
890
|
-
to this struct and property (when given).
|
|
891
|
-
:rtype: str
|
|
892
|
-
"""
|
|
893
|
-
...
|
|
894
|
-
|
|
895
|
-
def path_resolve(self):
|
|
896
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
897
|
-
...
|
|
898
|
-
|
|
899
|
-
def poll(self, context):
|
|
900
|
-
"""
|
|
901
|
-
|
|
902
|
-
:param context:
|
|
903
|
-
"""
|
|
904
|
-
...
|
|
905
|
-
|
|
906
|
-
def poll_message_set(self):
|
|
907
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
908
|
-
...
|
|
909
|
-
|
|
910
|
-
def pop(self):
|
|
911
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
912
|
-
when not found (matches Python's dictionary function of the same name).
|
|
913
|
-
|
|
914
|
-
"""
|
|
915
|
-
...
|
|
916
|
-
|
|
917
|
-
def property_overridable_library_set(self) -> bool:
|
|
918
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
919
|
-
|
|
920
|
-
:return: True when the overridable status of the property was successfully set.
|
|
921
|
-
:rtype: bool
|
|
922
|
-
"""
|
|
923
|
-
...
|
|
924
|
-
|
|
925
|
-
def property_unset(self):
|
|
926
|
-
"""Unset a property, will use default value afterward."""
|
|
927
|
-
...
|
|
928
|
-
|
|
929
|
-
def store_mouse_cursor(self, context, event):
|
|
930
|
-
"""
|
|
931
|
-
|
|
932
|
-
:param context:
|
|
933
|
-
:param event:
|
|
934
|
-
"""
|
|
935
|
-
...
|
|
936
|
-
|
|
937
|
-
def type_recast(self):
|
|
938
|
-
"""Return a new instance, this is needed because types
|
|
939
|
-
such as textures can be changed at runtime.
|
|
940
|
-
|
|
941
|
-
:return: a new instance of this object with the type initialized again.
|
|
942
|
-
"""
|
|
943
|
-
...
|
|
944
|
-
|
|
945
|
-
def values(self):
|
|
946
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
947
|
-
dictionary function of the same name).
|
|
948
|
-
|
|
949
|
-
:return: custom property values.
|
|
950
|
-
"""
|
|
951
|
-
...
|
|
952
|
-
|
|
953
|
-
class NODE_OT_collapse_hide_unused_toggle:
|
|
954
|
-
"""Toggle collapsed nodes and hide unused sockets"""
|
|
955
|
-
|
|
956
|
-
bl_idname: typing.Any
|
|
957
|
-
bl_label: typing.Any
|
|
958
|
-
bl_options: typing.Any
|
|
959
|
-
bl_rna: typing.Any
|
|
960
|
-
id_data: typing.Any
|
|
961
|
-
|
|
962
|
-
def as_keywords(self, *, ignore=()):
|
|
963
|
-
"""Return a copy of the properties as a dictionary
|
|
964
|
-
|
|
965
|
-
:param ignore:
|
|
966
|
-
"""
|
|
967
|
-
...
|
|
968
|
-
|
|
969
|
-
def as_pointer(self) -> int:
|
|
970
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
971
|
-
|
|
972
|
-
:return: int (memory address).
|
|
973
|
-
:rtype: int
|
|
974
|
-
"""
|
|
975
|
-
...
|
|
976
|
-
|
|
977
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
978
|
-
"""
|
|
979
|
-
|
|
980
|
-
:return: The RNA type or default when not found.
|
|
981
|
-
:rtype: bpy.types.Struct
|
|
982
|
-
"""
|
|
983
|
-
...
|
|
984
|
-
|
|
985
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
986
|
-
"""
|
|
987
|
-
|
|
988
|
-
:return: The class or default when not found.
|
|
989
|
-
:rtype: typing.Any
|
|
990
|
-
"""
|
|
991
|
-
...
|
|
992
|
-
|
|
993
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
994
|
-
"""Adds driver(s) to the given property
|
|
995
|
-
|
|
996
|
-
:return: The driver(s) added.
|
|
997
|
-
:rtype: bpy.types.FCurve
|
|
998
|
-
"""
|
|
999
|
-
...
|
|
1000
|
-
|
|
1001
|
-
def driver_remove(self) -> bool:
|
|
1002
|
-
"""Remove driver(s) from the given property
|
|
1003
|
-
|
|
1004
|
-
:return: Success of driver removal.
|
|
1005
|
-
:rtype: bool
|
|
1006
|
-
"""
|
|
1007
|
-
...
|
|
1008
|
-
|
|
1009
|
-
def execute(self, context):
|
|
1010
|
-
"""
|
|
1011
|
-
|
|
1012
|
-
:param context:
|
|
1013
|
-
"""
|
|
1014
|
-
...
|
|
1015
|
-
|
|
1016
|
-
def get(self):
|
|
1017
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1018
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1019
|
-
|
|
1020
|
-
"""
|
|
1021
|
-
...
|
|
1022
|
-
|
|
1023
|
-
def id_properties_clear(self):
|
|
1024
|
-
"""
|
|
1025
|
-
|
|
1026
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1027
|
-
"""
|
|
1028
|
-
...
|
|
1029
|
-
|
|
1030
|
-
def id_properties_ensure(self):
|
|
1031
|
-
"""
|
|
1032
|
-
|
|
1033
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1034
|
-
"""
|
|
1035
|
-
...
|
|
1036
|
-
|
|
1037
|
-
def id_properties_ui(self):
|
|
1038
|
-
"""
|
|
1039
|
-
|
|
1040
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1041
|
-
"""
|
|
1042
|
-
...
|
|
1043
|
-
|
|
1044
|
-
def is_property_hidden(self) -> bool:
|
|
1045
|
-
"""Check if a property is hidden.
|
|
1046
|
-
|
|
1047
|
-
:return: True when the property is hidden.
|
|
1048
|
-
:rtype: bool
|
|
1049
|
-
"""
|
|
1050
|
-
...
|
|
1051
|
-
|
|
1052
|
-
def is_property_overridable_library(self) -> bool:
|
|
1053
|
-
"""Check if a property is overridable.
|
|
1054
|
-
|
|
1055
|
-
:return: True when the property is overridable.
|
|
1056
|
-
:rtype: bool
|
|
1057
|
-
"""
|
|
1058
|
-
...
|
|
1059
|
-
|
|
1060
|
-
def is_property_readonly(self) -> bool:
|
|
1061
|
-
"""Check if a property is readonly.
|
|
1062
|
-
|
|
1063
|
-
:return: True when the property is readonly (not writable).
|
|
1064
|
-
:rtype: bool
|
|
1065
|
-
"""
|
|
1066
|
-
...
|
|
1067
|
-
|
|
1068
|
-
def is_property_set(self) -> bool:
|
|
1069
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1070
|
-
|
|
1071
|
-
:return: True when the property has been set.
|
|
1072
|
-
:rtype: bool
|
|
1073
|
-
"""
|
|
1074
|
-
...
|
|
1075
|
-
|
|
1076
|
-
def items(self):
|
|
1077
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1078
|
-
dictionary function of the same name).
|
|
1079
|
-
|
|
1080
|
-
:return: custom property key, value pairs.
|
|
1081
|
-
"""
|
|
1082
|
-
...
|
|
1083
|
-
|
|
1084
|
-
def keyframe_delete(self) -> bool:
|
|
1085
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1086
|
-
|
|
1087
|
-
:return: Success of keyframe deletion.
|
|
1088
|
-
:rtype: bool
|
|
1089
|
-
"""
|
|
1090
|
-
...
|
|
1091
|
-
|
|
1092
|
-
def keyframe_insert(self) -> bool:
|
|
1093
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1094
|
-
|
|
1095
|
-
:return: Success of keyframe insertion.
|
|
1096
|
-
:rtype: bool
|
|
1097
|
-
"""
|
|
1098
|
-
...
|
|
1099
|
-
|
|
1100
|
-
def keys(self):
|
|
1101
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1102
|
-
dictionary function of the same name).
|
|
1103
|
-
|
|
1104
|
-
:return: custom property keys.
|
|
1105
|
-
"""
|
|
1106
|
-
...
|
|
1107
|
-
|
|
1108
|
-
def path_from_id(self) -> str:
|
|
1109
|
-
"""Returns the data path from the ID to this object (string).
|
|
1110
|
-
|
|
1111
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1112
|
-
to this struct and property (when given).
|
|
1113
|
-
:rtype: str
|
|
1114
|
-
"""
|
|
1115
|
-
...
|
|
1116
|
-
|
|
1117
|
-
def path_resolve(self):
|
|
1118
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1119
|
-
...
|
|
1120
|
-
|
|
1121
|
-
@classmethod
|
|
1122
|
-
def poll(cls, context):
|
|
1123
|
-
"""
|
|
1124
|
-
|
|
1125
|
-
:param context:
|
|
1126
|
-
"""
|
|
1127
|
-
...
|
|
1128
|
-
|
|
1129
|
-
def poll_message_set(self):
|
|
1130
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1131
|
-
...
|
|
1132
|
-
|
|
1133
|
-
def pop(self):
|
|
1134
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1135
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1136
|
-
|
|
1137
|
-
"""
|
|
1138
|
-
...
|
|
1139
|
-
|
|
1140
|
-
def property_overridable_library_set(self) -> bool:
|
|
1141
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1142
|
-
|
|
1143
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1144
|
-
:rtype: bool
|
|
1145
|
-
"""
|
|
1146
|
-
...
|
|
1147
|
-
|
|
1148
|
-
def property_unset(self):
|
|
1149
|
-
"""Unset a property, will use default value afterward."""
|
|
1150
|
-
...
|
|
1151
|
-
|
|
1152
|
-
def type_recast(self):
|
|
1153
|
-
"""Return a new instance, this is needed because types
|
|
1154
|
-
such as textures can be changed at runtime.
|
|
1155
|
-
|
|
1156
|
-
:return: a new instance of this object with the type initialized again.
|
|
1157
|
-
"""
|
|
1158
|
-
...
|
|
1159
|
-
|
|
1160
|
-
def values(self):
|
|
1161
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1162
|
-
dictionary function of the same name).
|
|
1163
|
-
|
|
1164
|
-
:return: custom property values.
|
|
1165
|
-
"""
|
|
1166
|
-
...
|
|
1167
|
-
|
|
1168
|
-
class NODE_OT_interface_item_duplicate(NodeInterfaceOperator):
|
|
1169
|
-
"""Add a copy of the active item to the interface"""
|
|
1170
|
-
|
|
1171
|
-
bl_idname: typing.Any
|
|
1172
|
-
bl_label: typing.Any
|
|
1173
|
-
bl_options: typing.Any
|
|
1174
|
-
bl_rna: typing.Any
|
|
1175
|
-
id_data: typing.Any
|
|
1176
|
-
|
|
1177
|
-
def as_keywords(self, *, ignore=()):
|
|
1178
|
-
"""Return a copy of the properties as a dictionary
|
|
1179
|
-
|
|
1180
|
-
:param ignore:
|
|
1181
|
-
"""
|
|
1182
|
-
...
|
|
1183
|
-
|
|
1184
|
-
def as_pointer(self) -> int:
|
|
1185
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1186
|
-
|
|
1187
|
-
:return: int (memory address).
|
|
1188
|
-
:rtype: int
|
|
1189
|
-
"""
|
|
1190
|
-
...
|
|
1191
|
-
|
|
1192
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1193
|
-
"""
|
|
1194
|
-
|
|
1195
|
-
:return: The RNA type or default when not found.
|
|
1196
|
-
:rtype: bpy.types.Struct
|
|
1197
|
-
"""
|
|
1198
|
-
...
|
|
1199
|
-
|
|
1200
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1201
|
-
"""
|
|
1202
|
-
|
|
1203
|
-
:return: The class or default when not found.
|
|
1204
|
-
:rtype: typing.Any
|
|
1205
|
-
"""
|
|
1206
|
-
...
|
|
1207
|
-
|
|
1208
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1209
|
-
"""Adds driver(s) to the given property
|
|
1210
|
-
|
|
1211
|
-
:return: The driver(s) added.
|
|
1212
|
-
:rtype: bpy.types.FCurve
|
|
1213
|
-
"""
|
|
1214
|
-
...
|
|
1215
|
-
|
|
1216
|
-
def driver_remove(self) -> bool:
|
|
1217
|
-
"""Remove driver(s) from the given property
|
|
1218
|
-
|
|
1219
|
-
:return: Success of driver removal.
|
|
1220
|
-
:rtype: bool
|
|
1221
|
-
"""
|
|
1222
|
-
...
|
|
1223
|
-
|
|
1224
|
-
def execute(self, context):
|
|
1225
|
-
"""
|
|
1226
|
-
|
|
1227
|
-
:param context:
|
|
1228
|
-
"""
|
|
1229
|
-
...
|
|
1230
|
-
|
|
1231
|
-
def get(self):
|
|
1232
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1233
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1234
|
-
|
|
1235
|
-
"""
|
|
1236
|
-
...
|
|
1237
|
-
|
|
1238
|
-
def id_properties_clear(self):
|
|
1239
|
-
"""
|
|
1240
|
-
|
|
1241
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1242
|
-
"""
|
|
1243
|
-
...
|
|
1244
|
-
|
|
1245
|
-
def id_properties_ensure(self):
|
|
1246
|
-
"""
|
|
1247
|
-
|
|
1248
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1249
|
-
"""
|
|
1250
|
-
...
|
|
1251
|
-
|
|
1252
|
-
def id_properties_ui(self):
|
|
1253
|
-
"""
|
|
1254
|
-
|
|
1255
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1256
|
-
"""
|
|
1257
|
-
...
|
|
1258
|
-
|
|
1259
|
-
def is_property_hidden(self) -> bool:
|
|
1260
|
-
"""Check if a property is hidden.
|
|
1261
|
-
|
|
1262
|
-
:return: True when the property is hidden.
|
|
1263
|
-
:rtype: bool
|
|
1264
|
-
"""
|
|
1265
|
-
...
|
|
1266
|
-
|
|
1267
|
-
def is_property_overridable_library(self) -> bool:
|
|
1268
|
-
"""Check if a property is overridable.
|
|
1269
|
-
|
|
1270
|
-
:return: True when the property is overridable.
|
|
1271
|
-
:rtype: bool
|
|
1272
|
-
"""
|
|
1273
|
-
...
|
|
1274
|
-
|
|
1275
|
-
def is_property_readonly(self) -> bool:
|
|
1276
|
-
"""Check if a property is readonly.
|
|
1277
|
-
|
|
1278
|
-
:return: True when the property is readonly (not writable).
|
|
1279
|
-
:rtype: bool
|
|
1280
|
-
"""
|
|
1281
|
-
...
|
|
1282
|
-
|
|
1283
|
-
def is_property_set(self) -> bool:
|
|
1284
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1285
|
-
|
|
1286
|
-
:return: True when the property has been set.
|
|
1287
|
-
:rtype: bool
|
|
1288
|
-
"""
|
|
1289
|
-
...
|
|
1290
|
-
|
|
1291
|
-
def items(self):
|
|
1292
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1293
|
-
dictionary function of the same name).
|
|
1294
|
-
|
|
1295
|
-
:return: custom property key, value pairs.
|
|
1296
|
-
"""
|
|
1297
|
-
...
|
|
1298
|
-
|
|
1299
|
-
def keyframe_delete(self) -> bool:
|
|
1300
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1301
|
-
|
|
1302
|
-
:return: Success of keyframe deletion.
|
|
1303
|
-
:rtype: bool
|
|
1304
|
-
"""
|
|
1305
|
-
...
|
|
1306
|
-
|
|
1307
|
-
def keyframe_insert(self) -> bool:
|
|
1308
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1309
|
-
|
|
1310
|
-
:return: Success of keyframe insertion.
|
|
1311
|
-
:rtype: bool
|
|
1312
|
-
"""
|
|
1313
|
-
...
|
|
1314
|
-
|
|
1315
|
-
def keys(self):
|
|
1316
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1317
|
-
dictionary function of the same name).
|
|
1318
|
-
|
|
1319
|
-
:return: custom property keys.
|
|
1320
|
-
"""
|
|
1321
|
-
...
|
|
1322
|
-
|
|
1323
|
-
def path_from_id(self) -> str:
|
|
1324
|
-
"""Returns the data path from the ID to this object (string).
|
|
1325
|
-
|
|
1326
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1327
|
-
to this struct and property (when given).
|
|
1328
|
-
:rtype: str
|
|
1329
|
-
"""
|
|
1330
|
-
...
|
|
1331
|
-
|
|
1332
|
-
def path_resolve(self):
|
|
1333
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1334
|
-
...
|
|
1335
|
-
|
|
1336
|
-
@classmethod
|
|
1337
|
-
def poll(cls, context):
|
|
1338
|
-
"""
|
|
1339
|
-
|
|
1340
|
-
:param context:
|
|
1341
|
-
"""
|
|
1342
|
-
...
|
|
1343
|
-
|
|
1344
|
-
def poll_message_set(self):
|
|
1345
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1346
|
-
...
|
|
1347
|
-
|
|
1348
|
-
def pop(self):
|
|
1349
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1350
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1351
|
-
|
|
1352
|
-
"""
|
|
1353
|
-
...
|
|
1354
|
-
|
|
1355
|
-
def property_overridable_library_set(self) -> bool:
|
|
1356
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1357
|
-
|
|
1358
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1359
|
-
:rtype: bool
|
|
1360
|
-
"""
|
|
1361
|
-
...
|
|
1362
|
-
|
|
1363
|
-
def property_unset(self):
|
|
1364
|
-
"""Unset a property, will use default value afterward."""
|
|
1365
|
-
...
|
|
1366
|
-
|
|
1367
|
-
def type_recast(self):
|
|
1368
|
-
"""Return a new instance, this is needed because types
|
|
1369
|
-
such as textures can be changed at runtime.
|
|
1370
|
-
|
|
1371
|
-
:return: a new instance of this object with the type initialized again.
|
|
1372
|
-
"""
|
|
1373
|
-
...
|
|
1374
|
-
|
|
1375
|
-
def values(self):
|
|
1376
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1377
|
-
dictionary function of the same name).
|
|
1378
|
-
|
|
1379
|
-
:return: custom property values.
|
|
1380
|
-
"""
|
|
1381
|
-
...
|
|
1382
|
-
|
|
1383
|
-
class NODE_OT_interface_item_new(NodeInterfaceOperator):
|
|
1384
|
-
"""Add a new item to the interface"""
|
|
1385
|
-
|
|
1386
|
-
bl_idname: typing.Any
|
|
1387
|
-
bl_label: typing.Any
|
|
1388
|
-
bl_options: typing.Any
|
|
1389
|
-
bl_rna: typing.Any
|
|
1390
|
-
id_data: typing.Any
|
|
1391
|
-
|
|
1392
|
-
def as_keywords(self, *, ignore=()):
|
|
1393
|
-
"""Return a copy of the properties as a dictionary
|
|
1394
|
-
|
|
1395
|
-
:param ignore:
|
|
1396
|
-
"""
|
|
1397
|
-
...
|
|
1398
|
-
|
|
1399
|
-
def as_pointer(self) -> int:
|
|
1400
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1401
|
-
|
|
1402
|
-
:return: int (memory address).
|
|
1403
|
-
:rtype: int
|
|
1404
|
-
"""
|
|
1405
|
-
...
|
|
1406
|
-
|
|
1407
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1408
|
-
"""
|
|
1409
|
-
|
|
1410
|
-
:return: The RNA type or default when not found.
|
|
1411
|
-
:rtype: bpy.types.Struct
|
|
1412
|
-
"""
|
|
1413
|
-
...
|
|
1414
|
-
|
|
1415
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1416
|
-
"""
|
|
1417
|
-
|
|
1418
|
-
:return: The class or default when not found.
|
|
1419
|
-
:rtype: typing.Any
|
|
1420
|
-
"""
|
|
1421
|
-
...
|
|
1422
|
-
|
|
1423
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1424
|
-
"""Adds driver(s) to the given property
|
|
1425
|
-
|
|
1426
|
-
:return: The driver(s) added.
|
|
1427
|
-
:rtype: bpy.types.FCurve
|
|
1428
|
-
"""
|
|
1429
|
-
...
|
|
1430
|
-
|
|
1431
|
-
def driver_remove(self) -> bool:
|
|
1432
|
-
"""Remove driver(s) from the given property
|
|
1433
|
-
|
|
1434
|
-
:return: Success of driver removal.
|
|
1435
|
-
:rtype: bool
|
|
1436
|
-
"""
|
|
1437
|
-
...
|
|
1438
|
-
|
|
1439
|
-
def execute(self, context):
|
|
1440
|
-
"""
|
|
1441
|
-
|
|
1442
|
-
:param context:
|
|
1443
|
-
"""
|
|
1444
|
-
...
|
|
1445
|
-
|
|
1446
|
-
@staticmethod
|
|
1447
|
-
def find_valid_socket_type(tree):
|
|
1448
|
-
"""
|
|
1449
|
-
|
|
1450
|
-
:param tree:
|
|
1451
|
-
"""
|
|
1452
|
-
...
|
|
1453
|
-
|
|
1454
|
-
def get(self):
|
|
1455
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1456
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1457
|
-
|
|
1458
|
-
"""
|
|
1459
|
-
...
|
|
1460
|
-
|
|
1461
|
-
def id_properties_clear(self):
|
|
1462
|
-
"""
|
|
1463
|
-
|
|
1464
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1465
|
-
"""
|
|
1466
|
-
...
|
|
1467
|
-
|
|
1468
|
-
def id_properties_ensure(self):
|
|
1469
|
-
"""
|
|
1470
|
-
|
|
1471
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1472
|
-
"""
|
|
1473
|
-
...
|
|
1474
|
-
|
|
1475
|
-
def id_properties_ui(self):
|
|
1476
|
-
"""
|
|
1477
|
-
|
|
1478
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1479
|
-
"""
|
|
1480
|
-
...
|
|
1481
|
-
|
|
1482
|
-
def is_property_hidden(self) -> bool:
|
|
1483
|
-
"""Check if a property is hidden.
|
|
1484
|
-
|
|
1485
|
-
:return: True when the property is hidden.
|
|
1486
|
-
:rtype: bool
|
|
1487
|
-
"""
|
|
1488
|
-
...
|
|
1489
|
-
|
|
1490
|
-
def is_property_overridable_library(self) -> bool:
|
|
1491
|
-
"""Check if a property is overridable.
|
|
1492
|
-
|
|
1493
|
-
:return: True when the property is overridable.
|
|
1494
|
-
:rtype: bool
|
|
1495
|
-
"""
|
|
1496
|
-
...
|
|
1497
|
-
|
|
1498
|
-
def is_property_readonly(self) -> bool:
|
|
1499
|
-
"""Check if a property is readonly.
|
|
1500
|
-
|
|
1501
|
-
:return: True when the property is readonly (not writable).
|
|
1502
|
-
:rtype: bool
|
|
1503
|
-
"""
|
|
1504
|
-
...
|
|
1505
|
-
|
|
1506
|
-
def is_property_set(self) -> bool:
|
|
1507
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1508
|
-
|
|
1509
|
-
:return: True when the property has been set.
|
|
1510
|
-
:rtype: bool
|
|
1511
|
-
"""
|
|
1512
|
-
...
|
|
1513
|
-
|
|
1514
|
-
def items(self):
|
|
1515
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1516
|
-
dictionary function of the same name).
|
|
1517
|
-
|
|
1518
|
-
:return: custom property key, value pairs.
|
|
1519
|
-
"""
|
|
1520
|
-
...
|
|
1521
|
-
|
|
1522
|
-
def keyframe_delete(self) -> bool:
|
|
1523
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1524
|
-
|
|
1525
|
-
:return: Success of keyframe deletion.
|
|
1526
|
-
:rtype: bool
|
|
1527
|
-
"""
|
|
1528
|
-
...
|
|
1529
|
-
|
|
1530
|
-
def keyframe_insert(self) -> bool:
|
|
1531
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1532
|
-
|
|
1533
|
-
:return: Success of keyframe insertion.
|
|
1534
|
-
:rtype: bool
|
|
1535
|
-
"""
|
|
1536
|
-
...
|
|
1537
|
-
|
|
1538
|
-
def keys(self):
|
|
1539
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1540
|
-
dictionary function of the same name).
|
|
1541
|
-
|
|
1542
|
-
:return: custom property keys.
|
|
1543
|
-
"""
|
|
1544
|
-
...
|
|
1545
|
-
|
|
1546
|
-
def path_from_id(self) -> str:
|
|
1547
|
-
"""Returns the data path from the ID to this object (string).
|
|
1548
|
-
|
|
1549
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1550
|
-
to this struct and property (when given).
|
|
1551
|
-
:rtype: str
|
|
1552
|
-
"""
|
|
1553
|
-
...
|
|
1554
|
-
|
|
1555
|
-
def path_resolve(self):
|
|
1556
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1557
|
-
...
|
|
1558
|
-
|
|
1559
|
-
def poll(self, context):
|
|
1560
|
-
"""
|
|
1561
|
-
|
|
1562
|
-
:param context:
|
|
1563
|
-
"""
|
|
1564
|
-
...
|
|
1565
|
-
|
|
1566
|
-
def poll_message_set(self):
|
|
1567
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1568
|
-
...
|
|
1569
|
-
|
|
1570
|
-
def pop(self):
|
|
1571
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1572
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1573
|
-
|
|
1574
|
-
"""
|
|
1575
|
-
...
|
|
1576
|
-
|
|
1577
|
-
def property_overridable_library_set(self) -> bool:
|
|
1578
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1579
|
-
|
|
1580
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1581
|
-
:rtype: bool
|
|
1582
|
-
"""
|
|
1583
|
-
...
|
|
1584
|
-
|
|
1585
|
-
def property_unset(self):
|
|
1586
|
-
"""Unset a property, will use default value afterward."""
|
|
1587
|
-
...
|
|
1588
|
-
|
|
1589
|
-
def type_recast(self):
|
|
1590
|
-
"""Return a new instance, this is needed because types
|
|
1591
|
-
such as textures can be changed at runtime.
|
|
1592
|
-
|
|
1593
|
-
:return: a new instance of this object with the type initialized again.
|
|
1594
|
-
"""
|
|
1595
|
-
...
|
|
1596
|
-
|
|
1597
|
-
def values(self):
|
|
1598
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1599
|
-
dictionary function of the same name).
|
|
1600
|
-
|
|
1601
|
-
:return: custom property values.
|
|
1602
|
-
"""
|
|
1603
|
-
...
|
|
1604
|
-
|
|
1605
|
-
class NODE_OT_interface_item_remove(NodeInterfaceOperator):
|
|
1606
|
-
"""Remove active item from the interface"""
|
|
1607
|
-
|
|
1608
|
-
bl_idname: typing.Any
|
|
1609
|
-
bl_label: typing.Any
|
|
1610
|
-
bl_options: typing.Any
|
|
1611
|
-
bl_rna: typing.Any
|
|
1612
|
-
id_data: typing.Any
|
|
1613
|
-
|
|
1614
|
-
def as_keywords(self, *, ignore=()):
|
|
1615
|
-
"""Return a copy of the properties as a dictionary
|
|
1616
|
-
|
|
1617
|
-
:param ignore:
|
|
1618
|
-
"""
|
|
1619
|
-
...
|
|
1620
|
-
|
|
1621
|
-
def as_pointer(self) -> int:
|
|
1622
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1623
|
-
|
|
1624
|
-
:return: int (memory address).
|
|
1625
|
-
:rtype: int
|
|
1626
|
-
"""
|
|
1627
|
-
...
|
|
1628
|
-
|
|
1629
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1630
|
-
"""
|
|
1631
|
-
|
|
1632
|
-
:return: The RNA type or default when not found.
|
|
1633
|
-
:rtype: bpy.types.Struct
|
|
1634
|
-
"""
|
|
1635
|
-
...
|
|
1636
|
-
|
|
1637
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1638
|
-
"""
|
|
1639
|
-
|
|
1640
|
-
:return: The class or default when not found.
|
|
1641
|
-
:rtype: typing.Any
|
|
1642
|
-
"""
|
|
1643
|
-
...
|
|
1644
|
-
|
|
1645
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1646
|
-
"""Adds driver(s) to the given property
|
|
1647
|
-
|
|
1648
|
-
:return: The driver(s) added.
|
|
1649
|
-
:rtype: bpy.types.FCurve
|
|
1650
|
-
"""
|
|
1651
|
-
...
|
|
1652
|
-
|
|
1653
|
-
def driver_remove(self) -> bool:
|
|
1654
|
-
"""Remove driver(s) from the given property
|
|
1655
|
-
|
|
1656
|
-
:return: Success of driver removal.
|
|
1657
|
-
:rtype: bool
|
|
1658
|
-
"""
|
|
1659
|
-
...
|
|
1660
|
-
|
|
1661
|
-
def execute(self, context):
|
|
1662
|
-
"""
|
|
1663
|
-
|
|
1664
|
-
:param context:
|
|
1665
|
-
"""
|
|
1666
|
-
...
|
|
1667
|
-
|
|
1668
|
-
def get(self):
|
|
1669
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1670
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1671
|
-
|
|
1672
|
-
"""
|
|
1673
|
-
...
|
|
1674
|
-
|
|
1675
|
-
def id_properties_clear(self):
|
|
1676
|
-
"""
|
|
1677
|
-
|
|
1678
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1679
|
-
"""
|
|
1680
|
-
...
|
|
1681
|
-
|
|
1682
|
-
def id_properties_ensure(self):
|
|
1683
|
-
"""
|
|
1684
|
-
|
|
1685
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1686
|
-
"""
|
|
1687
|
-
...
|
|
1688
|
-
|
|
1689
|
-
def id_properties_ui(self):
|
|
1690
|
-
"""
|
|
1691
|
-
|
|
1692
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1693
|
-
"""
|
|
1694
|
-
...
|
|
1695
|
-
|
|
1696
|
-
def is_property_hidden(self) -> bool:
|
|
1697
|
-
"""Check if a property is hidden.
|
|
1698
|
-
|
|
1699
|
-
:return: True when the property is hidden.
|
|
1700
|
-
:rtype: bool
|
|
1701
|
-
"""
|
|
1702
|
-
...
|
|
1703
|
-
|
|
1704
|
-
def is_property_overridable_library(self) -> bool:
|
|
1705
|
-
"""Check if a property is overridable.
|
|
1706
|
-
|
|
1707
|
-
:return: True when the property is overridable.
|
|
1708
|
-
:rtype: bool
|
|
1709
|
-
"""
|
|
1710
|
-
...
|
|
1711
|
-
|
|
1712
|
-
def is_property_readonly(self) -> bool:
|
|
1713
|
-
"""Check if a property is readonly.
|
|
1714
|
-
|
|
1715
|
-
:return: True when the property is readonly (not writable).
|
|
1716
|
-
:rtype: bool
|
|
1717
|
-
"""
|
|
1718
|
-
...
|
|
1719
|
-
|
|
1720
|
-
def is_property_set(self) -> bool:
|
|
1721
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1722
|
-
|
|
1723
|
-
:return: True when the property has been set.
|
|
1724
|
-
:rtype: bool
|
|
1725
|
-
"""
|
|
1726
|
-
...
|
|
1727
|
-
|
|
1728
|
-
def items(self):
|
|
1729
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1730
|
-
dictionary function of the same name).
|
|
1731
|
-
|
|
1732
|
-
:return: custom property key, value pairs.
|
|
1733
|
-
"""
|
|
1734
|
-
...
|
|
1735
|
-
|
|
1736
|
-
def keyframe_delete(self) -> bool:
|
|
1737
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1738
|
-
|
|
1739
|
-
:return: Success of keyframe deletion.
|
|
1740
|
-
:rtype: bool
|
|
1741
|
-
"""
|
|
1742
|
-
...
|
|
1743
|
-
|
|
1744
|
-
def keyframe_insert(self) -> bool:
|
|
1745
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1746
|
-
|
|
1747
|
-
:return: Success of keyframe insertion.
|
|
1748
|
-
:rtype: bool
|
|
1749
|
-
"""
|
|
1750
|
-
...
|
|
1751
|
-
|
|
1752
|
-
def keys(self):
|
|
1753
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1754
|
-
dictionary function of the same name).
|
|
1755
|
-
|
|
1756
|
-
:return: custom property keys.
|
|
1757
|
-
"""
|
|
1758
|
-
...
|
|
1759
|
-
|
|
1760
|
-
def path_from_id(self) -> str:
|
|
1761
|
-
"""Returns the data path from the ID to this object (string).
|
|
1762
|
-
|
|
1763
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1764
|
-
to this struct and property (when given).
|
|
1765
|
-
:rtype: str
|
|
1766
|
-
"""
|
|
1767
|
-
...
|
|
1768
|
-
|
|
1769
|
-
def path_resolve(self):
|
|
1770
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1771
|
-
...
|
|
1772
|
-
|
|
1773
|
-
def poll(self, context):
|
|
1774
|
-
"""
|
|
1775
|
-
|
|
1776
|
-
:param context:
|
|
1777
|
-
"""
|
|
1778
|
-
...
|
|
1779
|
-
|
|
1780
|
-
def poll_message_set(self):
|
|
1781
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1782
|
-
...
|
|
1783
|
-
|
|
1784
|
-
def pop(self):
|
|
1785
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1786
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1787
|
-
|
|
1788
|
-
"""
|
|
1789
|
-
...
|
|
1790
|
-
|
|
1791
|
-
def property_overridable_library_set(self) -> bool:
|
|
1792
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1793
|
-
|
|
1794
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1795
|
-
:rtype: bool
|
|
1796
|
-
"""
|
|
1797
|
-
...
|
|
1798
|
-
|
|
1799
|
-
def property_unset(self):
|
|
1800
|
-
"""Unset a property, will use default value afterward."""
|
|
1801
|
-
...
|
|
1802
|
-
|
|
1803
|
-
def type_recast(self):
|
|
1804
|
-
"""Return a new instance, this is needed because types
|
|
1805
|
-
such as textures can be changed at runtime.
|
|
1806
|
-
|
|
1807
|
-
:return: a new instance of this object with the type initialized again.
|
|
1808
|
-
"""
|
|
1809
|
-
...
|
|
1810
|
-
|
|
1811
|
-
def values(self):
|
|
1812
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1813
|
-
dictionary function of the same name).
|
|
1814
|
-
|
|
1815
|
-
:return: custom property values.
|
|
1816
|
-
"""
|
|
1817
|
-
...
|
|
1818
|
-
|
|
1819
|
-
class NODE_OT_tree_path_parent:
|
|
1820
|
-
"""Go to parent node tree"""
|
|
1821
|
-
|
|
1822
|
-
bl_idname: typing.Any
|
|
1823
|
-
bl_label: typing.Any
|
|
1824
|
-
bl_options: typing.Any
|
|
1825
|
-
bl_rna: typing.Any
|
|
1826
|
-
id_data: typing.Any
|
|
1827
|
-
|
|
1828
|
-
def as_keywords(self, *, ignore=()):
|
|
1829
|
-
"""Return a copy of the properties as a dictionary
|
|
1830
|
-
|
|
1831
|
-
:param ignore:
|
|
1832
|
-
"""
|
|
1833
|
-
...
|
|
1834
|
-
|
|
1835
|
-
def as_pointer(self) -> int:
|
|
1836
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1837
|
-
|
|
1838
|
-
:return: int (memory address).
|
|
1839
|
-
:rtype: int
|
|
1840
|
-
"""
|
|
1841
|
-
...
|
|
1842
|
-
|
|
1843
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1844
|
-
"""
|
|
1845
|
-
|
|
1846
|
-
:return: The RNA type or default when not found.
|
|
1847
|
-
:rtype: bpy.types.Struct
|
|
1848
|
-
"""
|
|
1849
|
-
...
|
|
1850
|
-
|
|
1851
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1852
|
-
"""
|
|
1853
|
-
|
|
1854
|
-
:return: The class or default when not found.
|
|
1855
|
-
:rtype: typing.Any
|
|
1856
|
-
"""
|
|
1857
|
-
...
|
|
1858
|
-
|
|
1859
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1860
|
-
"""Adds driver(s) to the given property
|
|
1861
|
-
|
|
1862
|
-
:return: The driver(s) added.
|
|
1863
|
-
:rtype: bpy.types.FCurve
|
|
1864
|
-
"""
|
|
1865
|
-
...
|
|
1866
|
-
|
|
1867
|
-
def driver_remove(self) -> bool:
|
|
1868
|
-
"""Remove driver(s) from the given property
|
|
1869
|
-
|
|
1870
|
-
:return: Success of driver removal.
|
|
1871
|
-
:rtype: bool
|
|
1872
|
-
"""
|
|
1873
|
-
...
|
|
1874
|
-
|
|
1875
|
-
def execute(self, context):
|
|
1876
|
-
"""
|
|
1877
|
-
|
|
1878
|
-
:param context:
|
|
1879
|
-
"""
|
|
1880
|
-
...
|
|
1881
|
-
|
|
1882
|
-
def get(self):
|
|
1883
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1884
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1885
|
-
|
|
1886
|
-
"""
|
|
1887
|
-
...
|
|
1888
|
-
|
|
1889
|
-
def id_properties_clear(self):
|
|
1890
|
-
"""
|
|
1891
|
-
|
|
1892
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1893
|
-
"""
|
|
1894
|
-
...
|
|
1895
|
-
|
|
1896
|
-
def id_properties_ensure(self):
|
|
1897
|
-
"""
|
|
1898
|
-
|
|
1899
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1900
|
-
"""
|
|
1901
|
-
...
|
|
1902
|
-
|
|
1903
|
-
def id_properties_ui(self):
|
|
1904
|
-
"""
|
|
1905
|
-
|
|
1906
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1907
|
-
"""
|
|
1908
|
-
...
|
|
1909
|
-
|
|
1910
|
-
def is_property_hidden(self) -> bool:
|
|
1911
|
-
"""Check if a property is hidden.
|
|
1912
|
-
|
|
1913
|
-
:return: True when the property is hidden.
|
|
1914
|
-
:rtype: bool
|
|
1915
|
-
"""
|
|
1916
|
-
...
|
|
1917
|
-
|
|
1918
|
-
def is_property_overridable_library(self) -> bool:
|
|
1919
|
-
"""Check if a property is overridable.
|
|
1920
|
-
|
|
1921
|
-
:return: True when the property is overridable.
|
|
1922
|
-
:rtype: bool
|
|
1923
|
-
"""
|
|
1924
|
-
...
|
|
1925
|
-
|
|
1926
|
-
def is_property_readonly(self) -> bool:
|
|
1927
|
-
"""Check if a property is readonly.
|
|
1928
|
-
|
|
1929
|
-
:return: True when the property is readonly (not writable).
|
|
1930
|
-
:rtype: bool
|
|
1931
|
-
"""
|
|
1932
|
-
...
|
|
1933
|
-
|
|
1934
|
-
def is_property_set(self) -> bool:
|
|
1935
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1936
|
-
|
|
1937
|
-
:return: True when the property has been set.
|
|
1938
|
-
:rtype: bool
|
|
1939
|
-
"""
|
|
1940
|
-
...
|
|
1941
|
-
|
|
1942
|
-
def items(self):
|
|
1943
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1944
|
-
dictionary function of the same name).
|
|
1945
|
-
|
|
1946
|
-
:return: custom property key, value pairs.
|
|
1947
|
-
"""
|
|
1948
|
-
...
|
|
1949
|
-
|
|
1950
|
-
def keyframe_delete(self) -> bool:
|
|
1951
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1952
|
-
|
|
1953
|
-
:return: Success of keyframe deletion.
|
|
1954
|
-
:rtype: bool
|
|
1955
|
-
"""
|
|
1956
|
-
...
|
|
1957
|
-
|
|
1958
|
-
def keyframe_insert(self) -> bool:
|
|
1959
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1960
|
-
|
|
1961
|
-
:return: Success of keyframe insertion.
|
|
1962
|
-
:rtype: bool
|
|
1963
|
-
"""
|
|
1964
|
-
...
|
|
1965
|
-
|
|
1966
|
-
def keys(self):
|
|
1967
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1968
|
-
dictionary function of the same name).
|
|
1969
|
-
|
|
1970
|
-
:return: custom property keys.
|
|
1971
|
-
"""
|
|
1972
|
-
...
|
|
1973
|
-
|
|
1974
|
-
def path_from_id(self) -> str:
|
|
1975
|
-
"""Returns the data path from the ID to this object (string).
|
|
1976
|
-
|
|
1977
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1978
|
-
to this struct and property (when given).
|
|
1979
|
-
:rtype: str
|
|
1980
|
-
"""
|
|
1981
|
-
...
|
|
1982
|
-
|
|
1983
|
-
def path_resolve(self):
|
|
1984
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1985
|
-
...
|
|
1986
|
-
|
|
1987
|
-
@classmethod
|
|
1988
|
-
def poll(cls, context):
|
|
1989
|
-
"""
|
|
1990
|
-
|
|
1991
|
-
:param context:
|
|
1992
|
-
"""
|
|
1993
|
-
...
|
|
1994
|
-
|
|
1995
|
-
def poll_message_set(self):
|
|
1996
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
1997
|
-
...
|
|
1998
|
-
|
|
1999
|
-
def pop(self):
|
|
2000
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2001
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2002
|
-
|
|
2003
|
-
"""
|
|
2004
|
-
...
|
|
2005
|
-
|
|
2006
|
-
def property_overridable_library_set(self) -> bool:
|
|
2007
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2008
|
-
|
|
2009
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2010
|
-
:rtype: bool
|
|
2011
|
-
"""
|
|
2012
|
-
...
|
|
2013
|
-
|
|
2014
|
-
def property_unset(self):
|
|
2015
|
-
"""Unset a property, will use default value afterward."""
|
|
2016
|
-
...
|
|
2017
|
-
|
|
2018
|
-
def type_recast(self):
|
|
2019
|
-
"""Return a new instance, this is needed because types
|
|
2020
|
-
such as textures can be changed at runtime.
|
|
2021
|
-
|
|
2022
|
-
:return: a new instance of this object with the type initialized again.
|
|
2023
|
-
"""
|
|
2024
|
-
...
|
|
2025
|
-
|
|
2026
|
-
def values(self):
|
|
2027
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2028
|
-
dictionary function of the same name).
|
|
2029
|
-
|
|
2030
|
-
:return: custom property values.
|
|
2031
|
-
"""
|
|
2032
|
-
...
|
|
2033
|
-
|
|
2034
|
-
class NodeAddOperator:
|
|
2035
|
-
def create_node(self, context, node_type):
|
|
2036
|
-
"""
|
|
2037
|
-
|
|
2038
|
-
:param context:
|
|
2039
|
-
:param node_type:
|
|
2040
|
-
"""
|
|
2041
|
-
...
|
|
2042
|
-
|
|
2043
|
-
@staticmethod
|
|
2044
|
-
def deselect_nodes(context):
|
|
2045
|
-
"""
|
|
2046
|
-
|
|
2047
|
-
:param context:
|
|
2048
|
-
"""
|
|
2049
|
-
...
|
|
2050
|
-
|
|
2051
|
-
def invoke(self, context, event):
|
|
2052
|
-
"""
|
|
2053
|
-
|
|
2054
|
-
:param context:
|
|
2055
|
-
:param event:
|
|
2056
|
-
"""
|
|
2057
|
-
...
|
|
2058
|
-
|
|
2059
|
-
@classmethod
|
|
2060
|
-
def poll(cls, context):
|
|
2061
|
-
"""
|
|
2062
|
-
|
|
2063
|
-
:param context:
|
|
2064
|
-
"""
|
|
2065
|
-
...
|
|
2066
|
-
|
|
2067
|
-
@staticmethod
|
|
2068
|
-
def store_mouse_cursor(context, event):
|
|
2069
|
-
"""
|
|
2070
|
-
|
|
2071
|
-
:param context:
|
|
2072
|
-
:param event:
|
|
2073
|
-
"""
|
|
2074
|
-
...
|
|
2075
|
-
|
|
2076
|
-
class NodeInterfaceOperator:
|
|
2077
|
-
@classmethod
|
|
2078
|
-
def poll(cls, context):
|
|
2079
|
-
"""
|
|
2080
|
-
|
|
2081
|
-
:param context:
|
|
2082
|
-
"""
|
|
2083
|
-
...
|
|
2084
|
-
|
|
2085
|
-
class NodeSetting:
|
|
2086
|
-
bl_rna: typing.Any
|
|
2087
|
-
id_data: typing.Any
|
|
2088
|
-
|
|
2089
|
-
def as_pointer(self) -> int:
|
|
2090
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2091
|
-
|
|
2092
|
-
:return: int (memory address).
|
|
2093
|
-
:rtype: int
|
|
2094
|
-
"""
|
|
2095
|
-
...
|
|
2096
|
-
|
|
2097
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2098
|
-
"""
|
|
2099
|
-
|
|
2100
|
-
:return: The RNA type or default when not found.
|
|
2101
|
-
:rtype: bpy.types.Struct
|
|
2102
|
-
"""
|
|
2103
|
-
...
|
|
2104
|
-
|
|
2105
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2106
|
-
"""
|
|
2107
|
-
|
|
2108
|
-
:return: The class or default when not found.
|
|
2109
|
-
:rtype: typing.Any
|
|
2110
|
-
"""
|
|
2111
|
-
...
|
|
2112
|
-
|
|
2113
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2114
|
-
"""Adds driver(s) to the given property
|
|
2115
|
-
|
|
2116
|
-
:return: The driver(s) added.
|
|
2117
|
-
:rtype: bpy.types.FCurve
|
|
2118
|
-
"""
|
|
2119
|
-
...
|
|
2120
|
-
|
|
2121
|
-
def driver_remove(self) -> bool:
|
|
2122
|
-
"""Remove driver(s) from the given property
|
|
2123
|
-
|
|
2124
|
-
:return: Success of driver removal.
|
|
2125
|
-
:rtype: bool
|
|
2126
|
-
"""
|
|
2127
|
-
...
|
|
2128
|
-
|
|
2129
|
-
def get(self):
|
|
2130
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2131
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2132
|
-
|
|
2133
|
-
"""
|
|
2134
|
-
...
|
|
2135
|
-
|
|
2136
|
-
def id_properties_clear(self):
|
|
2137
|
-
"""
|
|
2138
|
-
|
|
2139
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2140
|
-
"""
|
|
2141
|
-
...
|
|
2142
|
-
|
|
2143
|
-
def id_properties_ensure(self):
|
|
2144
|
-
"""
|
|
2145
|
-
|
|
2146
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2147
|
-
"""
|
|
2148
|
-
...
|
|
2149
|
-
|
|
2150
|
-
def id_properties_ui(self):
|
|
2151
|
-
"""
|
|
2152
|
-
|
|
2153
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2154
|
-
"""
|
|
2155
|
-
...
|
|
2156
|
-
|
|
2157
|
-
def is_property_hidden(self) -> bool:
|
|
2158
|
-
"""Check if a property is hidden.
|
|
2159
|
-
|
|
2160
|
-
:return: True when the property is hidden.
|
|
2161
|
-
:rtype: bool
|
|
2162
|
-
"""
|
|
2163
|
-
...
|
|
2164
|
-
|
|
2165
|
-
def is_property_overridable_library(self) -> bool:
|
|
2166
|
-
"""Check if a property is overridable.
|
|
2167
|
-
|
|
2168
|
-
:return: True when the property is overridable.
|
|
2169
|
-
:rtype: bool
|
|
2170
|
-
"""
|
|
2171
|
-
...
|
|
2172
|
-
|
|
2173
|
-
def is_property_readonly(self) -> bool:
|
|
2174
|
-
"""Check if a property is readonly.
|
|
2175
|
-
|
|
2176
|
-
:return: True when the property is readonly (not writable).
|
|
2177
|
-
:rtype: bool
|
|
2178
|
-
"""
|
|
2179
|
-
...
|
|
2180
|
-
|
|
2181
|
-
def is_property_set(self) -> bool:
|
|
2182
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2183
|
-
|
|
2184
|
-
:return: True when the property has been set.
|
|
2185
|
-
:rtype: bool
|
|
2186
|
-
"""
|
|
2187
|
-
...
|
|
2188
|
-
|
|
2189
|
-
def items(self):
|
|
2190
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2191
|
-
dictionary function of the same name).
|
|
2192
|
-
|
|
2193
|
-
:return: custom property key, value pairs.
|
|
2194
|
-
"""
|
|
2195
|
-
...
|
|
2196
|
-
|
|
2197
|
-
def keyframe_delete(self) -> bool:
|
|
2198
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2199
|
-
|
|
2200
|
-
:return: Success of keyframe deletion.
|
|
2201
|
-
:rtype: bool
|
|
2202
|
-
"""
|
|
2203
|
-
...
|
|
2204
|
-
|
|
2205
|
-
def keyframe_insert(self) -> bool:
|
|
2206
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2207
|
-
|
|
2208
|
-
:return: Success of keyframe insertion.
|
|
2209
|
-
:rtype: bool
|
|
2210
|
-
"""
|
|
2211
|
-
...
|
|
2212
|
-
|
|
2213
|
-
def keys(self):
|
|
2214
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2215
|
-
dictionary function of the same name).
|
|
2216
|
-
|
|
2217
|
-
:return: custom property keys.
|
|
2218
|
-
"""
|
|
2219
|
-
...
|
|
2220
|
-
|
|
2221
|
-
def path_from_id(self) -> str:
|
|
2222
|
-
"""Returns the data path from the ID to this object (string).
|
|
2223
|
-
|
|
2224
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2225
|
-
to this struct and property (when given).
|
|
2226
|
-
:rtype: str
|
|
2227
|
-
"""
|
|
2228
|
-
...
|
|
2229
|
-
|
|
2230
|
-
def path_resolve(self):
|
|
2231
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2232
|
-
...
|
|
2233
|
-
|
|
2234
|
-
def pop(self):
|
|
2235
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2236
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2237
|
-
|
|
2238
|
-
"""
|
|
2239
|
-
...
|
|
2240
|
-
|
|
2241
|
-
def property_overridable_library_set(self) -> bool:
|
|
2242
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2243
|
-
|
|
2244
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2245
|
-
:rtype: bool
|
|
2246
|
-
"""
|
|
2247
|
-
...
|
|
2248
|
-
|
|
2249
|
-
def property_unset(self):
|
|
2250
|
-
"""Unset a property, will use default value afterward."""
|
|
2251
|
-
...
|
|
2252
|
-
|
|
2253
|
-
def type_recast(self):
|
|
2254
|
-
"""Return a new instance, this is needed because types
|
|
2255
|
-
such as textures can be changed at runtime.
|
|
2256
|
-
|
|
2257
|
-
:return: a new instance of this object with the type initialized again.
|
|
2258
|
-
"""
|
|
2259
|
-
...
|
|
2260
|
-
|
|
2261
|
-
def values(self):
|
|
2262
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2263
|
-
dictionary function of the same name).
|
|
2264
|
-
|
|
2265
|
-
:return: custom property values.
|
|
2266
|
-
"""
|
|
2267
|
-
...
|
|
2268
|
-
|
|
2269
|
-
class NodeAddZoneOperator(NodeAddOperator):
|
|
2270
|
-
def create_node(self, context, node_type):
|
|
2271
|
-
"""
|
|
2272
|
-
|
|
2273
|
-
:param context:
|
|
2274
|
-
:param node_type:
|
|
2275
|
-
"""
|
|
2276
|
-
...
|
|
2277
|
-
|
|
2278
|
-
def deselect_nodes(self, context):
|
|
2279
|
-
"""
|
|
2280
|
-
|
|
2281
|
-
:param context:
|
|
2282
|
-
"""
|
|
2283
|
-
...
|
|
2284
|
-
|
|
2285
|
-
def execute(self, context):
|
|
2286
|
-
"""
|
|
2287
|
-
|
|
2288
|
-
:param context:
|
|
2289
|
-
"""
|
|
2290
|
-
...
|
|
2291
|
-
|
|
2292
|
-
def invoke(self, context, event):
|
|
2293
|
-
"""
|
|
2294
|
-
|
|
2295
|
-
:param context:
|
|
2296
|
-
:param event:
|
|
2297
|
-
"""
|
|
2298
|
-
...
|
|
2299
|
-
|
|
2300
|
-
def poll(self, context):
|
|
2301
|
-
"""
|
|
2302
|
-
|
|
2303
|
-
:param context:
|
|
2304
|
-
"""
|
|
2305
|
-
...
|
|
2306
|
-
|
|
2307
|
-
def store_mouse_cursor(self, context, event):
|
|
2308
|
-
"""
|
|
2309
|
-
|
|
2310
|
-
:param context:
|
|
2311
|
-
:param event:
|
|
2312
|
-
"""
|
|
2313
|
-
...
|