fake-bpy-module 20240321__py3-none-any.whl → 20240324__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +253 -247
- bmesh/utils/__init__.pyi +54 -54
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +646 -823
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +331 -429
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86446 -87424
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -1
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/METADATA +1 -1
- fake_bpy_module-20240324.dist-info/RECORD +343 -0
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/top_level.txt +0 -0
bpy/ops/ui/__init__.pyi
CHANGED
|
@@ -4,186 +4,160 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def assign_default_button(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
12
10
|
):
|
|
13
11
|
"""Set this property's current value as the new default
|
|
14
12
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
18
16
|
"""
|
|
19
17
|
|
|
20
18
|
...
|
|
21
19
|
|
|
22
20
|
def button_execute(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
undo: typing.Optional[bool] = None,
|
|
28
|
-
*,
|
|
29
|
-
skip_depressed: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
24
|
+
skip_depressed: typing.Union[bool, typing.Any] = False,
|
|
30
25
|
):
|
|
31
26
|
"""Presses active button
|
|
32
27
|
|
|
33
|
-
:type override_context: typing.
|
|
34
|
-
:type execution_context: typing.
|
|
35
|
-
:type undo:
|
|
28
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
+
:type execution_context: typing.Union[str, int]
|
|
30
|
+
:type undo: bool
|
|
36
31
|
:param skip_depressed: Skip Depressed
|
|
37
|
-
:type skip_depressed: typing.
|
|
32
|
+
:type skip_depressed: typing.Union[bool, typing.Any]
|
|
38
33
|
"""
|
|
39
34
|
|
|
40
35
|
...
|
|
41
36
|
|
|
42
37
|
def button_string_clear(
|
|
43
|
-
override_context: typing.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
47
|
-
undo: typing.Optional[bool] = None,
|
|
38
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
+
execution_context: typing.Union[str, int] = None,
|
|
40
|
+
undo: bool = None,
|
|
48
41
|
):
|
|
49
42
|
"""Unsets the text of the active button
|
|
50
43
|
|
|
51
|
-
:type override_context: typing.
|
|
52
|
-
:type execution_context: typing.
|
|
53
|
-
:type undo:
|
|
44
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
45
|
+
:type execution_context: typing.Union[str, int]
|
|
46
|
+
:type undo: bool
|
|
54
47
|
"""
|
|
55
48
|
|
|
56
49
|
...
|
|
57
50
|
|
|
58
51
|
def copy_as_driver_button(
|
|
59
|
-
override_context: typing.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
63
|
-
undo: typing.Optional[bool] = None,
|
|
52
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
53
|
+
execution_context: typing.Union[str, int] = None,
|
|
54
|
+
undo: bool = None,
|
|
64
55
|
):
|
|
65
56
|
"""Create a new driver with this property as input, and copy it to the internal clipboard. Use Paste Driver to add it to the target property, or Paste Driver Variables to extend an existing driver
|
|
66
57
|
|
|
67
|
-
:type override_context: typing.
|
|
68
|
-
:type execution_context: typing.
|
|
69
|
-
:type undo:
|
|
58
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
59
|
+
:type execution_context: typing.Union[str, int]
|
|
60
|
+
:type undo: bool
|
|
70
61
|
"""
|
|
71
62
|
|
|
72
63
|
...
|
|
73
64
|
|
|
74
65
|
def copy_data_path_button(
|
|
75
|
-
override_context: typing.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
undo: typing.Optional[bool] = None,
|
|
80
|
-
*,
|
|
81
|
-
full_path: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
66
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
+
execution_context: typing.Union[str, int] = None,
|
|
68
|
+
undo: bool = None,
|
|
69
|
+
full_path: typing.Union[bool, typing.Any] = False,
|
|
82
70
|
):
|
|
83
71
|
"""Copy the RNA data path for this property to the clipboard
|
|
84
72
|
|
|
85
|
-
:type override_context: typing.
|
|
86
|
-
:type execution_context: typing.
|
|
87
|
-
:type undo:
|
|
73
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
+
:type execution_context: typing.Union[str, int]
|
|
75
|
+
:type undo: bool
|
|
88
76
|
:param full_path: full_path, Copy full data path
|
|
89
|
-
:type full_path: typing.
|
|
77
|
+
:type full_path: typing.Union[bool, typing.Any]
|
|
90
78
|
"""
|
|
91
79
|
|
|
92
80
|
...
|
|
93
81
|
|
|
94
82
|
def copy_python_command_button(
|
|
95
|
-
override_context: typing.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
99
|
-
undo: typing.Optional[bool] = None,
|
|
83
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
+
execution_context: typing.Union[str, int] = None,
|
|
85
|
+
undo: bool = None,
|
|
100
86
|
):
|
|
101
87
|
"""Copy the Python command matching this button
|
|
102
88
|
|
|
103
|
-
:type override_context: typing.
|
|
104
|
-
:type execution_context: typing.
|
|
105
|
-
:type undo:
|
|
89
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
90
|
+
:type execution_context: typing.Union[str, int]
|
|
91
|
+
:type undo: bool
|
|
106
92
|
"""
|
|
107
93
|
|
|
108
94
|
...
|
|
109
95
|
|
|
110
96
|
def copy_to_selected_button(
|
|
111
|
-
override_context: typing.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
undo: typing.Optional[bool] = None,
|
|
116
|
-
*,
|
|
117
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
97
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
98
|
+
execution_context: typing.Union[str, int] = None,
|
|
99
|
+
undo: bool = None,
|
|
100
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
118
101
|
):
|
|
119
102
|
"""Copy the property's value from the active item to the same property of all selected items if the same property exists
|
|
120
103
|
|
|
121
|
-
:type override_context: typing.
|
|
122
|
-
:type execution_context: typing.
|
|
123
|
-
:type undo:
|
|
104
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
105
|
+
:type execution_context: typing.Union[str, int]
|
|
106
|
+
:type undo: bool
|
|
124
107
|
:param all: All, Copy to selected all elements of the array
|
|
125
|
-
:type all: typing.
|
|
108
|
+
:type all: typing.Union[bool, typing.Any]
|
|
126
109
|
"""
|
|
127
110
|
|
|
128
111
|
...
|
|
129
112
|
|
|
130
113
|
def drop_color(
|
|
131
|
-
override_context: typing.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
*,
|
|
137
|
-
color: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
138
|
-
gamma: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
114
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
115
|
+
execution_context: typing.Union[str, int] = None,
|
|
116
|
+
undo: bool = None,
|
|
117
|
+
color: typing.Any = (0.0, 0.0, 0.0),
|
|
118
|
+
gamma: typing.Union[bool, typing.Any] = False,
|
|
139
119
|
):
|
|
140
120
|
"""Drop colors to buttons
|
|
141
121
|
|
|
142
|
-
:type override_context: typing.
|
|
143
|
-
:type execution_context: typing.
|
|
144
|
-
:type undo:
|
|
122
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
123
|
+
:type execution_context: typing.Union[str, int]
|
|
124
|
+
:type undo: bool
|
|
145
125
|
:param color: Color, Source color
|
|
146
|
-
:type color: typing.
|
|
126
|
+
:type color: typing.Any
|
|
147
127
|
:param gamma: Gamma Corrected, The source color is gamma corrected
|
|
148
|
-
:type gamma: typing.
|
|
128
|
+
:type gamma: typing.Union[bool, typing.Any]
|
|
149
129
|
"""
|
|
150
130
|
|
|
151
131
|
...
|
|
152
132
|
|
|
153
133
|
def drop_material(
|
|
154
|
-
override_context: typing.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
undo: typing.Optional[bool] = None,
|
|
159
|
-
*,
|
|
160
|
-
session_uid: typing.Optional[typing.Any] = 0,
|
|
134
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
+
execution_context: typing.Union[str, int] = None,
|
|
136
|
+
undo: bool = None,
|
|
137
|
+
session_uid: typing.Any = 0,
|
|
161
138
|
):
|
|
162
139
|
"""Drag material to Material slots in Properties
|
|
163
140
|
|
|
164
|
-
:type override_context: typing.
|
|
165
|
-
:type execution_context: typing.
|
|
166
|
-
:type undo:
|
|
141
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
142
|
+
:type execution_context: typing.Union[str, int]
|
|
143
|
+
:type undo: bool
|
|
167
144
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
168
|
-
:type session_uid: typing.
|
|
145
|
+
:type session_uid: typing.Any
|
|
169
146
|
"""
|
|
170
147
|
|
|
171
148
|
...
|
|
172
149
|
|
|
173
150
|
def drop_name(
|
|
174
|
-
override_context: typing.
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
178
|
-
undo: typing.Optional[bool] = None,
|
|
179
|
-
*,
|
|
151
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
152
|
+
execution_context: typing.Union[str, int] = None,
|
|
153
|
+
undo: bool = None,
|
|
180
154
|
string: typing.Union[str, typing.Any] = "",
|
|
181
155
|
):
|
|
182
156
|
"""Drop name to button
|
|
183
157
|
|
|
184
|
-
:type override_context: typing.
|
|
185
|
-
:type execution_context: typing.
|
|
186
|
-
:type undo:
|
|
158
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
159
|
+
:type execution_context: typing.Union[str, int]
|
|
160
|
+
:type undo: bool
|
|
187
161
|
:param string: String, The string value to drop into the button
|
|
188
162
|
:type string: typing.Union[str, typing.Any]
|
|
189
163
|
"""
|
|
@@ -191,115 +165,100 @@ def drop_name(
|
|
|
191
165
|
...
|
|
192
166
|
|
|
193
167
|
def editsource(
|
|
194
|
-
override_context: typing.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
198
|
-
undo: typing.Optional[bool] = None,
|
|
168
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
169
|
+
execution_context: typing.Union[str, int] = None,
|
|
170
|
+
undo: bool = None,
|
|
199
171
|
):
|
|
200
172
|
"""Edit UI source code of the active button
|
|
201
173
|
|
|
202
|
-
:type override_context: typing.
|
|
203
|
-
:type execution_context: typing.
|
|
204
|
-
:type undo:
|
|
174
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
175
|
+
:type execution_context: typing.Union[str, int]
|
|
176
|
+
:type undo: bool
|
|
205
177
|
"""
|
|
206
178
|
|
|
207
179
|
...
|
|
208
180
|
|
|
209
181
|
def edittranslation_init(
|
|
210
|
-
override_context: typing.
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
214
|
-
undo: typing.Optional[bool] = None,
|
|
182
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
183
|
+
execution_context: typing.Union[str, int] = None,
|
|
184
|
+
undo: bool = None,
|
|
215
185
|
):
|
|
216
186
|
"""Edit i18n in current language for the active button
|
|
217
187
|
|
|
218
|
-
:type override_context: typing.
|
|
219
|
-
:type execution_context: typing.
|
|
220
|
-
:type undo:
|
|
188
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
189
|
+
:type execution_context: typing.Union[str, int]
|
|
190
|
+
:type undo: bool
|
|
221
191
|
"""
|
|
222
192
|
|
|
223
193
|
...
|
|
224
194
|
|
|
225
195
|
def eyedropper_color(
|
|
226
|
-
override_context: typing.
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
230
|
-
undo: typing.Optional[bool] = None,
|
|
196
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
197
|
+
execution_context: typing.Union[str, int] = None,
|
|
198
|
+
undo: bool = None,
|
|
231
199
|
):
|
|
232
200
|
"""Sample a color from the Blender window to store in a property
|
|
233
201
|
|
|
234
|
-
:type override_context: typing.
|
|
235
|
-
:type execution_context: typing.
|
|
236
|
-
:type undo:
|
|
202
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
203
|
+
:type execution_context: typing.Union[str, int]
|
|
204
|
+
:type undo: bool
|
|
237
205
|
"""
|
|
238
206
|
|
|
239
207
|
...
|
|
240
208
|
|
|
241
209
|
def eyedropper_colorramp(
|
|
242
|
-
override_context: typing.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
246
|
-
undo: typing.Optional[bool] = None,
|
|
210
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
211
|
+
execution_context: typing.Union[str, int] = None,
|
|
212
|
+
undo: bool = None,
|
|
247
213
|
):
|
|
248
214
|
"""Sample a color band
|
|
249
215
|
|
|
250
|
-
:type override_context: typing.
|
|
251
|
-
:type execution_context: typing.
|
|
252
|
-
:type undo:
|
|
216
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
217
|
+
:type execution_context: typing.Union[str, int]
|
|
218
|
+
:type undo: bool
|
|
253
219
|
"""
|
|
254
220
|
|
|
255
221
|
...
|
|
256
222
|
|
|
257
223
|
def eyedropper_colorramp_point(
|
|
258
|
-
override_context: typing.
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
262
|
-
undo: typing.Optional[bool] = None,
|
|
224
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
225
|
+
execution_context: typing.Union[str, int] = None,
|
|
226
|
+
undo: bool = None,
|
|
263
227
|
):
|
|
264
228
|
"""Point-sample a color band
|
|
265
229
|
|
|
266
|
-
:type override_context: typing.
|
|
267
|
-
:type execution_context: typing.
|
|
268
|
-
:type undo:
|
|
230
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
231
|
+
:type execution_context: typing.Union[str, int]
|
|
232
|
+
:type undo: bool
|
|
269
233
|
"""
|
|
270
234
|
|
|
271
235
|
...
|
|
272
236
|
|
|
273
237
|
def eyedropper_depth(
|
|
274
|
-
override_context: typing.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
278
|
-
undo: typing.Optional[bool] = None,
|
|
238
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
239
|
+
execution_context: typing.Union[str, int] = None,
|
|
240
|
+
undo: bool = None,
|
|
279
241
|
):
|
|
280
242
|
"""Sample depth from the 3D view
|
|
281
243
|
|
|
282
|
-
:type override_context: typing.
|
|
283
|
-
:type execution_context: typing.
|
|
284
|
-
:type undo:
|
|
244
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
+
:type execution_context: typing.Union[str, int]
|
|
246
|
+
:type undo: bool
|
|
285
247
|
"""
|
|
286
248
|
|
|
287
249
|
...
|
|
288
250
|
|
|
289
251
|
def eyedropper_driver(
|
|
290
|
-
override_context: typing.
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
undo: typing.Optional[bool] = None,
|
|
295
|
-
*,
|
|
296
|
-
mapping_type: typing.Optional[typing.Any] = "SINGLE_MANY",
|
|
252
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
253
|
+
execution_context: typing.Union[str, int] = None,
|
|
254
|
+
undo: bool = None,
|
|
255
|
+
mapping_type: typing.Any = "SINGLE_MANY",
|
|
297
256
|
):
|
|
298
257
|
"""Pick a property to use as a driver target
|
|
299
258
|
|
|
300
|
-
:type override_context: typing.
|
|
301
|
-
:type execution_context: typing.
|
|
302
|
-
:type undo:
|
|
259
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
260
|
+
:type execution_context: typing.Union[str, int]
|
|
261
|
+
:type undo: bool
|
|
303
262
|
:param mapping_type: Mapping Type, Method used to match target and driven properties
|
|
304
263
|
|
|
305
264
|
SINGLE_MANY
|
|
@@ -316,164 +275,143 @@ def eyedropper_driver(
|
|
|
316
275
|
|
|
317
276
|
NONE_SINGLE
|
|
318
277
|
Manually Create Later (Single) -- Create driver for this property only and without assigning any targets yet.
|
|
319
|
-
:type mapping_type: typing.
|
|
278
|
+
:type mapping_type: typing.Any
|
|
320
279
|
"""
|
|
321
280
|
|
|
322
281
|
...
|
|
323
282
|
|
|
324
283
|
def eyedropper_gpencil_color(
|
|
325
|
-
override_context: typing.
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
undo: typing.Optional[bool] = None,
|
|
330
|
-
*,
|
|
331
|
-
mode: typing.Optional[typing.Any] = "MATERIAL",
|
|
284
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
285
|
+
execution_context: typing.Union[str, int] = None,
|
|
286
|
+
undo: bool = None,
|
|
287
|
+
mode: typing.Any = "MATERIAL",
|
|
332
288
|
):
|
|
333
289
|
"""Sample a color from the Blender Window and create Grease Pencil material
|
|
334
290
|
|
|
335
|
-
:type override_context: typing.
|
|
336
|
-
:type execution_context: typing.
|
|
337
|
-
:type undo:
|
|
291
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
292
|
+
:type execution_context: typing.Union[str, int]
|
|
293
|
+
:type undo: bool
|
|
338
294
|
:param mode: Mode
|
|
339
|
-
:type mode: typing.
|
|
295
|
+
:type mode: typing.Any
|
|
340
296
|
"""
|
|
341
297
|
|
|
342
298
|
...
|
|
343
299
|
|
|
344
300
|
def eyedropper_id(
|
|
345
|
-
override_context: typing.
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
349
|
-
undo: typing.Optional[bool] = None,
|
|
301
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
302
|
+
execution_context: typing.Union[str, int] = None,
|
|
303
|
+
undo: bool = None,
|
|
350
304
|
):
|
|
351
305
|
"""Sample a data-block from the 3D View to store in a property
|
|
352
306
|
|
|
353
|
-
:type override_context: typing.
|
|
354
|
-
:type execution_context: typing.
|
|
355
|
-
:type undo:
|
|
307
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
308
|
+
:type execution_context: typing.Union[str, int]
|
|
309
|
+
:type undo: bool
|
|
356
310
|
"""
|
|
357
311
|
|
|
358
312
|
...
|
|
359
313
|
|
|
360
314
|
def jump_to_target_button(
|
|
361
|
-
override_context: typing.
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
365
|
-
undo: typing.Optional[bool] = None,
|
|
315
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
316
|
+
execution_context: typing.Union[str, int] = None,
|
|
317
|
+
undo: bool = None,
|
|
366
318
|
):
|
|
367
319
|
"""Switch to the target object or bone
|
|
368
320
|
|
|
369
|
-
:type override_context: typing.
|
|
370
|
-
:type execution_context: typing.
|
|
371
|
-
:type undo:
|
|
321
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
322
|
+
:type execution_context: typing.Union[str, int]
|
|
323
|
+
:type undo: bool
|
|
372
324
|
"""
|
|
373
325
|
|
|
374
326
|
...
|
|
375
327
|
|
|
376
328
|
def list_start_filter(
|
|
377
|
-
override_context: typing.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
381
|
-
undo: typing.Optional[bool] = None,
|
|
329
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
330
|
+
execution_context: typing.Union[str, int] = None,
|
|
331
|
+
undo: bool = None,
|
|
382
332
|
):
|
|
383
333
|
"""Start entering filter text for the list in focus
|
|
384
334
|
|
|
385
|
-
:type override_context: typing.
|
|
386
|
-
:type execution_context: typing.
|
|
387
|
-
:type undo:
|
|
335
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
336
|
+
:type execution_context: typing.Union[str, int]
|
|
337
|
+
:type undo: bool
|
|
388
338
|
"""
|
|
389
339
|
|
|
390
340
|
...
|
|
391
341
|
|
|
392
342
|
def override_idtemplate_clear(
|
|
393
|
-
override_context: typing.
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
397
|
-
undo: typing.Optional[bool] = None,
|
|
343
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
344
|
+
execution_context: typing.Union[str, int] = None,
|
|
345
|
+
undo: bool = None,
|
|
398
346
|
):
|
|
399
347
|
"""Delete the selected local override and relink its usages to the linked data-block if possible, else reset it and mark it as non editable
|
|
400
348
|
|
|
401
|
-
:type override_context: typing.
|
|
402
|
-
:type execution_context: typing.
|
|
403
|
-
:type undo:
|
|
349
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
350
|
+
:type execution_context: typing.Union[str, int]
|
|
351
|
+
:type undo: bool
|
|
404
352
|
"""
|
|
405
353
|
|
|
406
354
|
...
|
|
407
355
|
|
|
408
356
|
def override_idtemplate_make(
|
|
409
|
-
override_context: typing.
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
413
|
-
undo: typing.Optional[bool] = None,
|
|
357
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
358
|
+
execution_context: typing.Union[str, int] = None,
|
|
359
|
+
undo: bool = None,
|
|
414
360
|
):
|
|
415
361
|
"""Create a local override of the selected linked data-block, and its hierarchy of dependencies
|
|
416
362
|
|
|
417
|
-
:type override_context: typing.
|
|
418
|
-
:type execution_context: typing.
|
|
419
|
-
:type undo:
|
|
363
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
364
|
+
:type execution_context: typing.Union[str, int]
|
|
365
|
+
:type undo: bool
|
|
420
366
|
"""
|
|
421
367
|
|
|
422
368
|
...
|
|
423
369
|
|
|
424
370
|
def override_idtemplate_reset(
|
|
425
|
-
override_context: typing.
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
429
|
-
undo: typing.Optional[bool] = None,
|
|
371
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
372
|
+
execution_context: typing.Union[str, int] = None,
|
|
373
|
+
undo: bool = None,
|
|
430
374
|
):
|
|
431
375
|
"""Reset the selected local override to its linked reference values
|
|
432
376
|
|
|
433
|
-
:type override_context: typing.
|
|
434
|
-
:type execution_context: typing.
|
|
435
|
-
:type undo:
|
|
377
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
378
|
+
:type execution_context: typing.Union[str, int]
|
|
379
|
+
:type undo: bool
|
|
436
380
|
"""
|
|
437
381
|
|
|
438
382
|
...
|
|
439
383
|
|
|
440
384
|
def override_remove_button(
|
|
441
|
-
override_context: typing.
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
undo: typing.Optional[bool] = None,
|
|
446
|
-
*,
|
|
447
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
385
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
386
|
+
execution_context: typing.Union[str, int] = None,
|
|
387
|
+
undo: bool = None,
|
|
388
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
448
389
|
):
|
|
449
390
|
"""Remove an override operation
|
|
450
391
|
|
|
451
|
-
:type override_context: typing.
|
|
452
|
-
:type execution_context: typing.
|
|
453
|
-
:type undo:
|
|
392
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
393
|
+
:type execution_context: typing.Union[str, int]
|
|
394
|
+
:type undo: bool
|
|
454
395
|
:param all: All, Reset to default values all elements of the array
|
|
455
|
-
:type all: typing.
|
|
396
|
+
:type all: typing.Union[bool, typing.Any]
|
|
456
397
|
"""
|
|
457
398
|
|
|
458
399
|
...
|
|
459
400
|
|
|
460
401
|
def override_type_set_button(
|
|
461
|
-
override_context: typing.
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
*,
|
|
467
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
468
|
-
type: typing.Optional[typing.Any] = "REPLACE",
|
|
402
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
403
|
+
execution_context: typing.Union[str, int] = None,
|
|
404
|
+
undo: bool = None,
|
|
405
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
406
|
+
type: typing.Any = "REPLACE",
|
|
469
407
|
):
|
|
470
408
|
"""Create an override operation, or set the type of an existing one
|
|
471
409
|
|
|
472
|
-
:type override_context: typing.
|
|
473
|
-
:type execution_context: typing.
|
|
474
|
-
:type undo:
|
|
410
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
411
|
+
:type execution_context: typing.Union[str, int]
|
|
412
|
+
:type undo: bool
|
|
475
413
|
:param all: All, Reset to default values all elements of the array
|
|
476
|
-
:type all: typing.
|
|
414
|
+
:type all: typing.Union[bool, typing.Any]
|
|
477
415
|
:param type: Type, Type of override operation
|
|
478
416
|
|
|
479
417
|
NOOP
|
|
@@ -487,107 +425,94 @@ def override_type_set_button(
|
|
|
487
425
|
|
|
488
426
|
FACTOR
|
|
489
427
|
Factor -- Store factor to linked data value (useful e.g. for scale).
|
|
490
|
-
:type type: typing.
|
|
428
|
+
:type type: typing.Any
|
|
491
429
|
"""
|
|
492
430
|
|
|
493
431
|
...
|
|
494
432
|
|
|
495
433
|
def reloadtranslation(
|
|
496
|
-
override_context: typing.
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
500
|
-
undo: typing.Optional[bool] = None,
|
|
434
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
435
|
+
execution_context: typing.Union[str, int] = None,
|
|
436
|
+
undo: bool = None,
|
|
501
437
|
):
|
|
502
438
|
"""Force a full reload of UI translation
|
|
503
439
|
|
|
504
|
-
:type override_context: typing.
|
|
505
|
-
:type execution_context: typing.
|
|
506
|
-
:type undo:
|
|
440
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
441
|
+
:type execution_context: typing.Union[str, int]
|
|
442
|
+
:type undo: bool
|
|
507
443
|
"""
|
|
508
444
|
|
|
509
445
|
...
|
|
510
446
|
|
|
511
447
|
def reset_default_button(
|
|
512
|
-
override_context: typing.
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
undo: typing.Optional[bool] = None,
|
|
517
|
-
*,
|
|
518
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
448
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
449
|
+
execution_context: typing.Union[str, int] = None,
|
|
450
|
+
undo: bool = None,
|
|
451
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
519
452
|
):
|
|
520
453
|
"""Reset this property's value to its default value
|
|
521
454
|
|
|
522
|
-
:type override_context: typing.
|
|
523
|
-
:type execution_context: typing.
|
|
524
|
-
:type undo:
|
|
455
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
456
|
+
:type execution_context: typing.Union[str, int]
|
|
457
|
+
:type undo: bool
|
|
525
458
|
:param all: All, Reset to default values all elements of the array
|
|
526
|
-
:type all: typing.
|
|
459
|
+
:type all: typing.Union[bool, typing.Any]
|
|
527
460
|
"""
|
|
528
461
|
|
|
529
462
|
...
|
|
530
463
|
|
|
531
464
|
def unset_property_button(
|
|
532
|
-
override_context: typing.
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
536
|
-
undo: typing.Optional[bool] = None,
|
|
465
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
466
|
+
execution_context: typing.Union[str, int] = None,
|
|
467
|
+
undo: bool = None,
|
|
537
468
|
):
|
|
538
469
|
"""Clear the property and use default or generated value in operators
|
|
539
470
|
|
|
540
|
-
:type override_context: typing.
|
|
541
|
-
:type execution_context: typing.
|
|
542
|
-
:type undo:
|
|
471
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
472
|
+
:type execution_context: typing.Union[str, int]
|
|
473
|
+
:type undo: bool
|
|
543
474
|
"""
|
|
544
475
|
|
|
545
476
|
...
|
|
546
477
|
|
|
547
478
|
def view_drop(
|
|
548
|
-
override_context: typing.
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
552
|
-
undo: typing.Optional[bool] = None,
|
|
479
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
480
|
+
execution_context: typing.Union[str, int] = None,
|
|
481
|
+
undo: bool = None,
|
|
553
482
|
):
|
|
554
483
|
"""Drag and drop onto a data-set or item within the data-set
|
|
555
484
|
|
|
556
|
-
:type override_context: typing.
|
|
557
|
-
:type execution_context: typing.
|
|
558
|
-
:type undo:
|
|
485
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
486
|
+
:type execution_context: typing.Union[str, int]
|
|
487
|
+
:type undo: bool
|
|
559
488
|
"""
|
|
560
489
|
|
|
561
490
|
...
|
|
562
491
|
|
|
563
492
|
def view_item_rename(
|
|
564
|
-
override_context: typing.
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
568
|
-
undo: typing.Optional[bool] = None,
|
|
493
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
494
|
+
execution_context: typing.Union[str, int] = None,
|
|
495
|
+
undo: bool = None,
|
|
569
496
|
):
|
|
570
497
|
"""Rename the active item in the data-set view
|
|
571
498
|
|
|
572
|
-
:type override_context: typing.
|
|
573
|
-
:type execution_context: typing.
|
|
574
|
-
:type undo:
|
|
499
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
500
|
+
:type execution_context: typing.Union[str, int]
|
|
501
|
+
:type undo: bool
|
|
575
502
|
"""
|
|
576
503
|
|
|
577
504
|
...
|
|
578
505
|
|
|
579
506
|
def view_start_filter(
|
|
580
|
-
override_context: typing.
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
584
|
-
undo: typing.Optional[bool] = None,
|
|
507
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
508
|
+
execution_context: typing.Union[str, int] = None,
|
|
509
|
+
undo: bool = None,
|
|
585
510
|
):
|
|
586
511
|
"""Start entering filter text for the data-set in focus
|
|
587
512
|
|
|
588
|
-
:type override_context: typing.
|
|
589
|
-
:type execution_context: typing.
|
|
590
|
-
:type undo:
|
|
513
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
514
|
+
:type execution_context: typing.Union[str, int]
|
|
515
|
+
:type undo: bool
|
|
591
516
|
"""
|
|
592
517
|
|
|
593
518
|
...
|