fake-bpy-module 20240320__py3-none-any.whl → 20240322__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 +642 -822
- 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 +86358 -87091
- 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-20240320.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.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-20240320.dist-info/RECORD +0 -343
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -4,230 +4,199 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def autocomplete(
|
|
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
|
"""Show a list of used text in the open document
|
|
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 comment_toggle(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
undo: typing.Optional[bool] = None,
|
|
28
|
-
*,
|
|
29
|
-
type: typing.Optional[typing.Any] = "TOGGLE",
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
24
|
+
type: typing.Any = "TOGGLE",
|
|
30
25
|
):
|
|
31
26
|
"""Undocumented, consider contributing.
|
|
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 type: Type, Add or remove comments
|
|
37
|
-
:type type: typing.
|
|
32
|
+
:type type: typing.Any
|
|
38
33
|
"""
|
|
39
34
|
|
|
40
35
|
...
|
|
41
36
|
|
|
42
37
|
def convert_whitespace(
|
|
43
|
-
override_context: typing.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
undo: typing.Optional[bool] = None,
|
|
48
|
-
*,
|
|
49
|
-
type: typing.Optional[typing.Any] = "SPACES",
|
|
38
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
+
execution_context: typing.Union[str, int] = None,
|
|
40
|
+
undo: bool = None,
|
|
41
|
+
type: typing.Any = "SPACES",
|
|
50
42
|
):
|
|
51
43
|
"""Convert whitespaces by type
|
|
52
44
|
|
|
53
|
-
:type override_context: typing.
|
|
54
|
-
:type execution_context: typing.
|
|
55
|
-
:type undo:
|
|
45
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
+
:type execution_context: typing.Union[str, int]
|
|
47
|
+
:type undo: bool
|
|
56
48
|
:param type: Type, Type of whitespace to convert to
|
|
57
|
-
:type type: typing.
|
|
49
|
+
:type type: typing.Any
|
|
58
50
|
"""
|
|
59
51
|
|
|
60
52
|
...
|
|
61
53
|
|
|
62
54
|
def copy(
|
|
63
|
-
override_context: typing.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
67
|
-
undo: typing.Optional[bool] = None,
|
|
55
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
+
execution_context: typing.Union[str, int] = None,
|
|
57
|
+
undo: bool = None,
|
|
68
58
|
):
|
|
69
59
|
"""Copy selected text to clipboard
|
|
70
60
|
|
|
71
|
-
:type override_context: typing.
|
|
72
|
-
:type execution_context: typing.
|
|
73
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
74
64
|
"""
|
|
75
65
|
|
|
76
66
|
...
|
|
77
67
|
|
|
78
68
|
def cursor_set(
|
|
79
|
-
override_context: typing.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*,
|
|
85
|
-
x: typing.Optional[typing.Any] = 0,
|
|
86
|
-
y: typing.Optional[typing.Any] = 0,
|
|
69
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
70
|
+
execution_context: typing.Union[str, int] = None,
|
|
71
|
+
undo: bool = None,
|
|
72
|
+
x: typing.Any = 0,
|
|
73
|
+
y: typing.Any = 0,
|
|
87
74
|
):
|
|
88
75
|
"""Set cursor position
|
|
89
76
|
|
|
90
|
-
:type override_context: typing.
|
|
91
|
-
:type execution_context: typing.
|
|
92
|
-
:type undo:
|
|
77
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
+
:type execution_context: typing.Union[str, int]
|
|
79
|
+
:type undo: bool
|
|
93
80
|
:param x: X
|
|
94
|
-
:type x: typing.
|
|
81
|
+
:type x: typing.Any
|
|
95
82
|
:param y: Y
|
|
96
|
-
:type y: typing.
|
|
83
|
+
:type y: typing.Any
|
|
97
84
|
"""
|
|
98
85
|
|
|
99
86
|
...
|
|
100
87
|
|
|
101
88
|
def cut(
|
|
102
|
-
override_context: typing.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
106
|
-
undo: typing.Optional[bool] = None,
|
|
89
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
90
|
+
execution_context: typing.Union[str, int] = None,
|
|
91
|
+
undo: bool = None,
|
|
107
92
|
):
|
|
108
93
|
"""Cut selected text to clipboard
|
|
109
94
|
|
|
110
|
-
:type override_context: typing.
|
|
111
|
-
:type execution_context: typing.
|
|
112
|
-
:type undo:
|
|
95
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
96
|
+
:type execution_context: typing.Union[str, int]
|
|
97
|
+
:type undo: bool
|
|
113
98
|
"""
|
|
114
99
|
|
|
115
100
|
...
|
|
116
101
|
|
|
117
102
|
def delete(
|
|
118
|
-
override_context: typing.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
undo: typing.Optional[bool] = None,
|
|
123
|
-
*,
|
|
124
|
-
type: typing.Optional[typing.Any] = "NEXT_CHARACTER",
|
|
103
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
104
|
+
execution_context: typing.Union[str, int] = None,
|
|
105
|
+
undo: bool = None,
|
|
106
|
+
type: typing.Any = "NEXT_CHARACTER",
|
|
125
107
|
):
|
|
126
108
|
"""Delete text by cursor position
|
|
127
109
|
|
|
128
|
-
:type override_context: typing.
|
|
129
|
-
:type execution_context: typing.
|
|
130
|
-
:type undo:
|
|
110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
+
:type execution_context: typing.Union[str, int]
|
|
112
|
+
:type undo: bool
|
|
131
113
|
:param type: Type, Which part of the text to delete
|
|
132
|
-
:type type: typing.
|
|
114
|
+
:type type: typing.Any
|
|
133
115
|
"""
|
|
134
116
|
|
|
135
117
|
...
|
|
136
118
|
|
|
137
119
|
def duplicate_line(
|
|
138
|
-
override_context: typing.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
142
|
-
undo: typing.Optional[bool] = None,
|
|
120
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
121
|
+
execution_context: typing.Union[str, int] = None,
|
|
122
|
+
undo: bool = None,
|
|
143
123
|
):
|
|
144
124
|
"""Duplicate the current line
|
|
145
125
|
|
|
146
|
-
:type override_context: typing.
|
|
147
|
-
:type execution_context: typing.
|
|
148
|
-
:type undo:
|
|
126
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
127
|
+
:type execution_context: typing.Union[str, int]
|
|
128
|
+
:type undo: bool
|
|
149
129
|
"""
|
|
150
130
|
|
|
151
131
|
...
|
|
152
132
|
|
|
153
133
|
def find(
|
|
154
|
-
override_context: typing.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
158
|
-
undo: typing.Optional[bool] = None,
|
|
134
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
+
execution_context: typing.Union[str, int] = None,
|
|
136
|
+
undo: bool = None,
|
|
159
137
|
):
|
|
160
138
|
"""Find specified text
|
|
161
139
|
|
|
162
|
-
:type override_context: typing.
|
|
163
|
-
:type execution_context: typing.
|
|
164
|
-
:type undo:
|
|
140
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
141
|
+
:type execution_context: typing.Union[str, int]
|
|
142
|
+
:type undo: bool
|
|
165
143
|
"""
|
|
166
144
|
|
|
167
145
|
...
|
|
168
146
|
|
|
169
147
|
def find_set_selected(
|
|
170
|
-
override_context: typing.
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
174
|
-
undo: typing.Optional[bool] = None,
|
|
148
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
149
|
+
execution_context: typing.Union[str, int] = None,
|
|
150
|
+
undo: bool = None,
|
|
175
151
|
):
|
|
176
152
|
"""Find specified text and set as selected
|
|
177
153
|
|
|
178
|
-
:type override_context: typing.
|
|
179
|
-
:type execution_context: typing.
|
|
180
|
-
:type undo:
|
|
154
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
155
|
+
:type execution_context: typing.Union[str, int]
|
|
156
|
+
:type undo: bool
|
|
181
157
|
"""
|
|
182
158
|
|
|
183
159
|
...
|
|
184
160
|
|
|
185
161
|
def indent(
|
|
186
|
-
override_context: typing.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
190
|
-
undo: typing.Optional[bool] = None,
|
|
162
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
163
|
+
execution_context: typing.Union[str, int] = None,
|
|
164
|
+
undo: bool = None,
|
|
191
165
|
):
|
|
192
166
|
"""Indent selected text
|
|
193
167
|
|
|
194
|
-
:type override_context: typing.
|
|
195
|
-
:type execution_context: typing.
|
|
196
|
-
:type undo:
|
|
168
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
169
|
+
:type execution_context: typing.Union[str, int]
|
|
170
|
+
:type undo: bool
|
|
197
171
|
"""
|
|
198
172
|
|
|
199
173
|
...
|
|
200
174
|
|
|
201
175
|
def indent_or_autocomplete(
|
|
202
|
-
override_context: typing.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
206
|
-
undo: typing.Optional[bool] = None,
|
|
176
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
177
|
+
execution_context: typing.Union[str, int] = None,
|
|
178
|
+
undo: bool = None,
|
|
207
179
|
):
|
|
208
180
|
"""Indent selected text or autocomplete
|
|
209
181
|
|
|
210
|
-
:type override_context: typing.
|
|
211
|
-
:type execution_context: typing.
|
|
212
|
-
:type undo:
|
|
182
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
+
:type execution_context: typing.Union[str, int]
|
|
184
|
+
:type undo: bool
|
|
213
185
|
"""
|
|
214
186
|
|
|
215
187
|
...
|
|
216
188
|
|
|
217
189
|
def insert(
|
|
218
|
-
override_context: typing.
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
222
|
-
undo: typing.Optional[bool] = None,
|
|
223
|
-
*,
|
|
190
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
191
|
+
execution_context: typing.Union[str, int] = None,
|
|
192
|
+
undo: bool = None,
|
|
224
193
|
text: typing.Union[str, typing.Any] = "",
|
|
225
194
|
):
|
|
226
195
|
"""Insert text at cursor position
|
|
227
196
|
|
|
228
|
-
:type override_context: typing.
|
|
229
|
-
:type execution_context: typing.
|
|
230
|
-
:type undo:
|
|
197
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
198
|
+
:type execution_context: typing.Union[str, int]
|
|
199
|
+
:type undo: bool
|
|
231
200
|
:param text: Text, Text to insert at the cursor position
|
|
232
201
|
:type text: typing.Union[str, typing.Any]
|
|
233
202
|
"""
|
|
@@ -235,254 +204,228 @@ def insert(
|
|
|
235
204
|
...
|
|
236
205
|
|
|
237
206
|
def jump(
|
|
238
|
-
override_context: typing.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
undo: typing.Optional[bool] = None,
|
|
243
|
-
*,
|
|
244
|
-
line: typing.Optional[typing.Any] = 1,
|
|
207
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
208
|
+
execution_context: typing.Union[str, int] = None,
|
|
209
|
+
undo: bool = None,
|
|
210
|
+
line: typing.Any = 1,
|
|
245
211
|
):
|
|
246
212
|
"""Jump cursor to line
|
|
247
213
|
|
|
248
|
-
:type override_context: typing.
|
|
249
|
-
:type execution_context: typing.
|
|
250
|
-
:type undo:
|
|
214
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
215
|
+
:type execution_context: typing.Union[str, int]
|
|
216
|
+
:type undo: bool
|
|
251
217
|
:param line: Line, Line number to jump to
|
|
252
|
-
:type line: typing.
|
|
218
|
+
:type line: typing.Any
|
|
253
219
|
"""
|
|
254
220
|
|
|
255
221
|
...
|
|
256
222
|
|
|
257
223
|
def jump_to_file_at_point(
|
|
258
|
-
override_context: typing.
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
262
|
-
undo: typing.Optional[bool] = None,
|
|
263
|
-
*,
|
|
224
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
225
|
+
execution_context: typing.Union[str, int] = None,
|
|
226
|
+
undo: bool = None,
|
|
264
227
|
filepath: typing.Union[str, typing.Any] = "",
|
|
265
|
-
line: typing.
|
|
266
|
-
column: typing.
|
|
228
|
+
line: typing.Any = 0,
|
|
229
|
+
column: typing.Any = 0,
|
|
267
230
|
):
|
|
268
231
|
"""Jump to a file for the text editor
|
|
269
232
|
|
|
270
|
-
:type override_context: typing.
|
|
271
|
-
:type execution_context: typing.
|
|
272
|
-
:type undo:
|
|
233
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
234
|
+
:type execution_context: typing.Union[str, int]
|
|
235
|
+
:type undo: bool
|
|
273
236
|
:param filepath: Filepath
|
|
274
237
|
:type filepath: typing.Union[str, typing.Any]
|
|
275
238
|
:param line: Line, Line to jump to
|
|
276
|
-
:type line: typing.
|
|
239
|
+
:type line: typing.Any
|
|
277
240
|
:param column: Column, Column to jump to
|
|
278
|
-
:type column: typing.
|
|
241
|
+
:type column: typing.Any
|
|
279
242
|
"""
|
|
280
243
|
|
|
281
244
|
...
|
|
282
245
|
|
|
283
246
|
def line_break(
|
|
284
|
-
override_context: typing.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
288
|
-
undo: typing.Optional[bool] = None,
|
|
247
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
248
|
+
execution_context: typing.Union[str, int] = None,
|
|
249
|
+
undo: bool = None,
|
|
289
250
|
):
|
|
290
251
|
"""Insert line break at cursor position
|
|
291
252
|
|
|
292
|
-
:type override_context: typing.
|
|
293
|
-
:type execution_context: typing.
|
|
294
|
-
:type undo:
|
|
253
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
254
|
+
:type execution_context: typing.Union[str, int]
|
|
255
|
+
:type undo: bool
|
|
295
256
|
"""
|
|
296
257
|
|
|
297
258
|
...
|
|
298
259
|
|
|
299
260
|
def line_number(
|
|
300
|
-
override_context: typing.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
304
|
-
undo: typing.Optional[bool] = None,
|
|
261
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
262
|
+
execution_context: typing.Union[str, int] = None,
|
|
263
|
+
undo: bool = None,
|
|
305
264
|
):
|
|
306
265
|
"""The current line number
|
|
307
266
|
|
|
308
|
-
:type override_context: typing.
|
|
309
|
-
:type execution_context: typing.
|
|
310
|
-
:type undo:
|
|
267
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
|
+
:type undo: bool
|
|
311
270
|
"""
|
|
312
271
|
|
|
313
272
|
...
|
|
314
273
|
|
|
315
274
|
def make_internal(
|
|
316
|
-
override_context: typing.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
320
|
-
undo: typing.Optional[bool] = None,
|
|
275
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
+
execution_context: typing.Union[str, int] = None,
|
|
277
|
+
undo: bool = None,
|
|
321
278
|
):
|
|
322
279
|
"""Make active text file internal
|
|
323
280
|
|
|
324
|
-
:type override_context: typing.
|
|
325
|
-
:type execution_context: typing.
|
|
326
|
-
:type undo:
|
|
281
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
+
:type execution_context: typing.Union[str, int]
|
|
283
|
+
:type undo: bool
|
|
327
284
|
"""
|
|
328
285
|
|
|
329
286
|
...
|
|
330
287
|
|
|
331
288
|
def move(
|
|
332
|
-
override_context: typing.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
undo: typing.Optional[bool] = None,
|
|
337
|
-
*,
|
|
338
|
-
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
289
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
290
|
+
execution_context: typing.Union[str, int] = None,
|
|
291
|
+
undo: bool = None,
|
|
292
|
+
type: typing.Any = "LINE_BEGIN",
|
|
339
293
|
):
|
|
340
294
|
"""Move cursor to position type
|
|
341
295
|
|
|
342
|
-
:type override_context: typing.
|
|
343
|
-
:type execution_context: typing.
|
|
344
|
-
:type undo:
|
|
296
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
297
|
+
:type execution_context: typing.Union[str, int]
|
|
298
|
+
:type undo: bool
|
|
345
299
|
:param type: Type, Where to move cursor to
|
|
346
|
-
:type type: typing.
|
|
300
|
+
:type type: typing.Any
|
|
347
301
|
"""
|
|
348
302
|
|
|
349
303
|
...
|
|
350
304
|
|
|
351
305
|
def move_lines(
|
|
352
|
-
override_context: typing.
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
undo: typing.Optional[bool] = None,
|
|
357
|
-
*,
|
|
358
|
-
direction: typing.Optional[typing.Any] = "DOWN",
|
|
306
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
307
|
+
execution_context: typing.Union[str, int] = None,
|
|
308
|
+
undo: bool = None,
|
|
309
|
+
direction: typing.Any = "DOWN",
|
|
359
310
|
):
|
|
360
311
|
"""Move the currently selected line(s) up/down
|
|
361
312
|
|
|
362
|
-
:type override_context: typing.
|
|
363
|
-
:type execution_context: typing.
|
|
364
|
-
:type undo:
|
|
313
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
314
|
+
:type execution_context: typing.Union[str, int]
|
|
315
|
+
:type undo: bool
|
|
365
316
|
:param direction: Direction
|
|
366
|
-
:type direction: typing.
|
|
317
|
+
:type direction: typing.Any
|
|
367
318
|
"""
|
|
368
319
|
|
|
369
320
|
...
|
|
370
321
|
|
|
371
322
|
def move_select(
|
|
372
|
-
override_context: typing.
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
undo: typing.Optional[bool] = None,
|
|
377
|
-
*,
|
|
378
|
-
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
323
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
324
|
+
execution_context: typing.Union[str, int] = None,
|
|
325
|
+
undo: bool = None,
|
|
326
|
+
type: typing.Any = "LINE_BEGIN",
|
|
379
327
|
):
|
|
380
328
|
"""Move the cursor while selecting
|
|
381
329
|
|
|
382
|
-
:type override_context: typing.
|
|
383
|
-
:type execution_context: typing.
|
|
384
|
-
:type undo:
|
|
330
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
331
|
+
:type execution_context: typing.Union[str, int]
|
|
332
|
+
:type undo: bool
|
|
385
333
|
:param type: Type, Where to move cursor to, to make a selection
|
|
386
|
-
:type type: typing.
|
|
334
|
+
:type type: typing.Any
|
|
387
335
|
"""
|
|
388
336
|
|
|
389
337
|
...
|
|
390
338
|
|
|
391
339
|
def new(
|
|
392
|
-
override_context: typing.
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
396
|
-
undo: typing.Optional[bool] = None,
|
|
340
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
341
|
+
execution_context: typing.Union[str, int] = None,
|
|
342
|
+
undo: bool = None,
|
|
397
343
|
):
|
|
398
344
|
"""Create a new text data-block
|
|
399
345
|
|
|
400
|
-
:type override_context: typing.
|
|
401
|
-
:type execution_context: typing.
|
|
402
|
-
:type undo:
|
|
346
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
347
|
+
:type execution_context: typing.Union[str, int]
|
|
348
|
+
:type undo: bool
|
|
403
349
|
"""
|
|
404
350
|
|
|
405
351
|
...
|
|
406
352
|
|
|
407
353
|
def open(
|
|
408
|
-
override_context: typing.
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
412
|
-
undo: typing.Optional[bool] = None,
|
|
413
|
-
*,
|
|
354
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
355
|
+
execution_context: typing.Union[str, int] = None,
|
|
356
|
+
undo: bool = None,
|
|
414
357
|
filepath: typing.Union[str, typing.Any] = "",
|
|
415
|
-
hide_props_region: typing.
|
|
416
|
-
check_existing: typing.
|
|
417
|
-
filter_blender: typing.
|
|
418
|
-
filter_backup: typing.
|
|
419
|
-
filter_image: typing.
|
|
420
|
-
filter_movie: typing.
|
|
421
|
-
filter_python: typing.
|
|
422
|
-
filter_font: typing.
|
|
423
|
-
filter_sound: typing.
|
|
424
|
-
filter_text: typing.
|
|
425
|
-
filter_archive: typing.
|
|
426
|
-
filter_btx: typing.
|
|
427
|
-
filter_collada: typing.
|
|
428
|
-
filter_alembic: typing.
|
|
429
|
-
filter_usd: typing.
|
|
430
|
-
filter_obj: typing.
|
|
431
|
-
filter_volume: typing.
|
|
432
|
-
filter_folder: typing.
|
|
433
|
-
filter_blenlib: typing.
|
|
434
|
-
filemode: typing.
|
|
435
|
-
display_type: typing.
|
|
436
|
-
sort_method: typing.
|
|
437
|
-
internal: typing.
|
|
358
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
359
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
360
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
361
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
362
|
+
filter_image: typing.Union[bool, typing.Any] = False,
|
|
363
|
+
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
364
|
+
filter_python: typing.Union[bool, typing.Any] = True,
|
|
365
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
366
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
367
|
+
filter_text: typing.Union[bool, typing.Any] = True,
|
|
368
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
369
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
370
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
371
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
372
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
373
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
374
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
375
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
376
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
377
|
+
filemode: typing.Any = 9,
|
|
378
|
+
display_type: typing.Any = "DEFAULT",
|
|
379
|
+
sort_method: typing.Any = "",
|
|
380
|
+
internal: typing.Union[bool, typing.Any] = False,
|
|
438
381
|
):
|
|
439
382
|
"""Open a new text data-block
|
|
440
383
|
|
|
441
|
-
:type override_context: typing.
|
|
442
|
-
:type execution_context: typing.
|
|
443
|
-
:type undo:
|
|
384
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
385
|
+
:type execution_context: typing.Union[str, int]
|
|
386
|
+
:type undo: bool
|
|
444
387
|
:param filepath: File Path, Path to file
|
|
445
388
|
:type filepath: typing.Union[str, typing.Any]
|
|
446
389
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
447
|
-
:type hide_props_region: typing.
|
|
390
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
448
391
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
449
|
-
:type check_existing: typing.
|
|
392
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
450
393
|
:param filter_blender: Filter .blend files
|
|
451
|
-
:type filter_blender: typing.
|
|
394
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
452
395
|
:param filter_backup: Filter .blend files
|
|
453
|
-
:type filter_backup: typing.
|
|
396
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
454
397
|
:param filter_image: Filter image files
|
|
455
|
-
:type filter_image: typing.
|
|
398
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
456
399
|
:param filter_movie: Filter movie files
|
|
457
|
-
:type filter_movie: typing.
|
|
400
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
458
401
|
:param filter_python: Filter Python files
|
|
459
|
-
:type filter_python: typing.
|
|
402
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
460
403
|
:param filter_font: Filter font files
|
|
461
|
-
:type filter_font: typing.
|
|
404
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
462
405
|
:param filter_sound: Filter sound files
|
|
463
|
-
:type filter_sound: typing.
|
|
406
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
464
407
|
:param filter_text: Filter text files
|
|
465
|
-
:type filter_text: typing.
|
|
408
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
466
409
|
:param filter_archive: Filter archive files
|
|
467
|
-
:type filter_archive: typing.
|
|
410
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
468
411
|
:param filter_btx: Filter btx files
|
|
469
|
-
:type filter_btx: typing.
|
|
412
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
470
413
|
:param filter_collada: Filter COLLADA files
|
|
471
|
-
:type filter_collada: typing.
|
|
414
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
472
415
|
:param filter_alembic: Filter Alembic files
|
|
473
|
-
:type filter_alembic: typing.
|
|
416
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
474
417
|
:param filter_usd: Filter USD files
|
|
475
|
-
:type filter_usd: typing.
|
|
418
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
476
419
|
:param filter_obj: Filter OBJ files
|
|
477
|
-
:type filter_obj: typing.
|
|
420
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
478
421
|
:param filter_volume: Filter OpenVDB volume files
|
|
479
|
-
:type filter_volume: typing.
|
|
422
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
480
423
|
:param filter_folder: Filter folders
|
|
481
|
-
:type filter_folder: typing.
|
|
424
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
482
425
|
:param filter_blenlib: Filter Blender IDs
|
|
483
|
-
:type filter_blenlib: typing.
|
|
426
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
484
427
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
485
|
-
:type filemode: typing.
|
|
428
|
+
:type filemode: typing.Any
|
|
486
429
|
:param display_type: Display Type
|
|
487
430
|
|
|
488
431
|
DEFAULT
|
|
@@ -496,7 +439,7 @@ def open(
|
|
|
496
439
|
|
|
497
440
|
THUMBNAIL
|
|
498
441
|
Thumbnails -- Display files as thumbnails.
|
|
499
|
-
:type display_type: typing.
|
|
442
|
+
:type display_type: typing.Any
|
|
500
443
|
:param sort_method: File sorting mode
|
|
501
444
|
|
|
502
445
|
DEFAULT
|
|
@@ -513,247 +456,223 @@ def open(
|
|
|
513
456
|
|
|
514
457
|
FILE_SORT_SIZE
|
|
515
458
|
Size -- Sort files by size.
|
|
516
|
-
:type sort_method: typing.
|
|
459
|
+
:type sort_method: typing.Any
|
|
517
460
|
:param internal: Make Internal, Make text file internal after loading
|
|
518
|
-
:type internal: typing.
|
|
461
|
+
:type internal: typing.Union[bool, typing.Any]
|
|
519
462
|
"""
|
|
520
463
|
|
|
521
464
|
...
|
|
522
465
|
|
|
523
466
|
def overwrite_toggle(
|
|
524
|
-
override_context: typing.
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
528
|
-
undo: typing.Optional[bool] = None,
|
|
467
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
468
|
+
execution_context: typing.Union[str, int] = None,
|
|
469
|
+
undo: bool = None,
|
|
529
470
|
):
|
|
530
471
|
"""Toggle overwrite while typing
|
|
531
472
|
|
|
532
|
-
:type override_context: typing.
|
|
533
|
-
:type execution_context: typing.
|
|
534
|
-
:type undo:
|
|
473
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
474
|
+
:type execution_context: typing.Union[str, int]
|
|
475
|
+
:type undo: bool
|
|
535
476
|
"""
|
|
536
477
|
|
|
537
478
|
...
|
|
538
479
|
|
|
539
480
|
def paste(
|
|
540
|
-
override_context: typing.
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
undo: typing.Optional[bool] = None,
|
|
545
|
-
*,
|
|
546
|
-
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
481
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
482
|
+
execution_context: typing.Union[str, int] = None,
|
|
483
|
+
undo: bool = None,
|
|
484
|
+
selection: typing.Union[bool, typing.Any] = False,
|
|
547
485
|
):
|
|
548
486
|
"""Paste text from clipboard
|
|
549
487
|
|
|
550
|
-
:type override_context: typing.
|
|
551
|
-
:type execution_context: typing.
|
|
552
|
-
:type undo:
|
|
488
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
+
:type execution_context: typing.Union[str, int]
|
|
490
|
+
:type undo: bool
|
|
553
491
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
554
|
-
:type selection: typing.
|
|
492
|
+
:type selection: typing.Union[bool, typing.Any]
|
|
555
493
|
"""
|
|
556
494
|
|
|
557
495
|
...
|
|
558
496
|
|
|
559
497
|
def refresh_pyconstraints(
|
|
560
|
-
override_context: typing.
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
564
|
-
undo: typing.Optional[bool] = None,
|
|
498
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
499
|
+
execution_context: typing.Union[str, int] = None,
|
|
500
|
+
undo: bool = None,
|
|
565
501
|
):
|
|
566
502
|
"""Refresh all pyconstraints
|
|
567
503
|
|
|
568
|
-
:type override_context: typing.
|
|
569
|
-
:type execution_context: typing.
|
|
570
|
-
:type undo:
|
|
504
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
505
|
+
:type execution_context: typing.Union[str, int]
|
|
506
|
+
:type undo: bool
|
|
571
507
|
"""
|
|
572
508
|
|
|
573
509
|
...
|
|
574
510
|
|
|
575
511
|
def reload(
|
|
576
|
-
override_context: typing.
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
580
|
-
undo: typing.Optional[bool] = None,
|
|
512
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
513
|
+
execution_context: typing.Union[str, int] = None,
|
|
514
|
+
undo: bool = None,
|
|
581
515
|
):
|
|
582
516
|
"""Reload active text data-block from its file
|
|
583
517
|
|
|
584
|
-
:type override_context: typing.
|
|
585
|
-
:type execution_context: typing.
|
|
586
|
-
:type undo:
|
|
518
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
519
|
+
:type execution_context: typing.Union[str, int]
|
|
520
|
+
:type undo: bool
|
|
587
521
|
"""
|
|
588
522
|
|
|
589
523
|
...
|
|
590
524
|
|
|
591
525
|
def replace(
|
|
592
|
-
override_context: typing.
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
undo: typing.Optional[bool] = None,
|
|
597
|
-
*,
|
|
598
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
526
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
527
|
+
execution_context: typing.Union[str, int] = None,
|
|
528
|
+
undo: bool = None,
|
|
529
|
+
all: typing.Union[bool, typing.Any] = False,
|
|
599
530
|
):
|
|
600
531
|
"""Replace text with the specified text
|
|
601
532
|
|
|
602
|
-
:type override_context: typing.
|
|
603
|
-
:type execution_context: typing.
|
|
604
|
-
:type undo:
|
|
533
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
534
|
+
:type execution_context: typing.Union[str, int]
|
|
535
|
+
:type undo: bool
|
|
605
536
|
:param all: Replace All, Replace all occurrences
|
|
606
|
-
:type all: typing.
|
|
537
|
+
:type all: typing.Union[bool, typing.Any]
|
|
607
538
|
"""
|
|
608
539
|
|
|
609
540
|
...
|
|
610
541
|
|
|
611
542
|
def replace_set_selected(
|
|
612
|
-
override_context: typing.
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
616
|
-
undo: typing.Optional[bool] = None,
|
|
543
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
544
|
+
execution_context: typing.Union[str, int] = None,
|
|
545
|
+
undo: bool = None,
|
|
617
546
|
):
|
|
618
547
|
"""Replace text with specified text and set as selected
|
|
619
548
|
|
|
620
|
-
:type override_context: typing.
|
|
621
|
-
:type execution_context: typing.
|
|
622
|
-
:type undo:
|
|
549
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
550
|
+
:type execution_context: typing.Union[str, int]
|
|
551
|
+
:type undo: bool
|
|
623
552
|
"""
|
|
624
553
|
|
|
625
554
|
...
|
|
626
555
|
|
|
627
556
|
def resolve_conflict(
|
|
628
|
-
override_context: typing.
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
undo: typing.Optional[bool] = None,
|
|
633
|
-
*,
|
|
634
|
-
resolution: typing.Optional[typing.Any] = "IGNORE",
|
|
557
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
558
|
+
execution_context: typing.Union[str, int] = None,
|
|
559
|
+
undo: bool = None,
|
|
560
|
+
resolution: typing.Any = "IGNORE",
|
|
635
561
|
):
|
|
636
562
|
"""When external text is out of sync, resolve the conflict
|
|
637
563
|
|
|
638
|
-
:type override_context: typing.
|
|
639
|
-
:type execution_context: typing.
|
|
640
|
-
:type undo:
|
|
564
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
565
|
+
:type execution_context: typing.Union[str, int]
|
|
566
|
+
:type undo: bool
|
|
641
567
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
642
|
-
:type resolution: typing.
|
|
568
|
+
:type resolution: typing.Any
|
|
643
569
|
"""
|
|
644
570
|
|
|
645
571
|
...
|
|
646
572
|
|
|
647
573
|
def run_script(
|
|
648
|
-
override_context: typing.
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
652
|
-
undo: typing.Optional[bool] = None,
|
|
574
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
575
|
+
execution_context: typing.Union[str, int] = None,
|
|
576
|
+
undo: bool = None,
|
|
653
577
|
):
|
|
654
578
|
"""Run active script
|
|
655
579
|
|
|
656
|
-
:type override_context: typing.
|
|
657
|
-
:type execution_context: typing.
|
|
658
|
-
:type undo:
|
|
580
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
581
|
+
:type execution_context: typing.Union[str, int]
|
|
582
|
+
:type undo: bool
|
|
659
583
|
"""
|
|
660
584
|
|
|
661
585
|
...
|
|
662
586
|
|
|
663
587
|
def save(
|
|
664
|
-
override_context: typing.
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
668
|
-
undo: typing.Optional[bool] = None,
|
|
588
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
589
|
+
execution_context: typing.Union[str, int] = None,
|
|
590
|
+
undo: bool = None,
|
|
669
591
|
):
|
|
670
592
|
"""Save active text data-block
|
|
671
593
|
|
|
672
|
-
:type override_context: typing.
|
|
673
|
-
:type execution_context: typing.
|
|
674
|
-
:type undo:
|
|
594
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
595
|
+
:type execution_context: typing.Union[str, int]
|
|
596
|
+
:type undo: bool
|
|
675
597
|
"""
|
|
676
598
|
|
|
677
599
|
...
|
|
678
600
|
|
|
679
601
|
def save_as(
|
|
680
|
-
override_context: typing.
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
684
|
-
undo: typing.Optional[bool] = None,
|
|
685
|
-
*,
|
|
602
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
603
|
+
execution_context: typing.Union[str, int] = None,
|
|
604
|
+
undo: bool = None,
|
|
686
605
|
filepath: typing.Union[str, typing.Any] = "",
|
|
687
|
-
hide_props_region: typing.
|
|
688
|
-
check_existing: typing.
|
|
689
|
-
filter_blender: typing.
|
|
690
|
-
filter_backup: typing.
|
|
691
|
-
filter_image: typing.
|
|
692
|
-
filter_movie: typing.
|
|
693
|
-
filter_python: typing.
|
|
694
|
-
filter_font: typing.
|
|
695
|
-
filter_sound: typing.
|
|
696
|
-
filter_text: typing.
|
|
697
|
-
filter_archive: typing.
|
|
698
|
-
filter_btx: typing.
|
|
699
|
-
filter_collada: typing.
|
|
700
|
-
filter_alembic: typing.
|
|
701
|
-
filter_usd: typing.
|
|
702
|
-
filter_obj: typing.
|
|
703
|
-
filter_volume: typing.
|
|
704
|
-
filter_folder: typing.
|
|
705
|
-
filter_blenlib: typing.
|
|
706
|
-
filemode: typing.
|
|
707
|
-
display_type: typing.
|
|
708
|
-
sort_method: typing.
|
|
606
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
607
|
+
check_existing: typing.Union[bool, typing.Any] = True,
|
|
608
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
609
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
610
|
+
filter_image: typing.Union[bool, typing.Any] = False,
|
|
611
|
+
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
612
|
+
filter_python: typing.Union[bool, typing.Any] = True,
|
|
613
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
614
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
615
|
+
filter_text: typing.Union[bool, typing.Any] = True,
|
|
616
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
617
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
618
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
619
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
620
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
621
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
622
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
623
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
624
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
625
|
+
filemode: typing.Any = 9,
|
|
626
|
+
display_type: typing.Any = "DEFAULT",
|
|
627
|
+
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
709
628
|
):
|
|
710
629
|
"""Save active text file with options
|
|
711
630
|
|
|
712
|
-
:type override_context: typing.
|
|
713
|
-
:type execution_context: typing.
|
|
714
|
-
:type undo:
|
|
631
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
632
|
+
:type execution_context: typing.Union[str, int]
|
|
633
|
+
:type undo: bool
|
|
715
634
|
:param filepath: File Path, Path to file
|
|
716
635
|
:type filepath: typing.Union[str, typing.Any]
|
|
717
636
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
718
|
-
:type hide_props_region: typing.
|
|
637
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
719
638
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
720
|
-
:type check_existing: typing.
|
|
639
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
721
640
|
:param filter_blender: Filter .blend files
|
|
722
|
-
:type filter_blender: typing.
|
|
641
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
723
642
|
:param filter_backup: Filter .blend files
|
|
724
|
-
:type filter_backup: typing.
|
|
643
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
725
644
|
:param filter_image: Filter image files
|
|
726
|
-
:type filter_image: typing.
|
|
645
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
727
646
|
:param filter_movie: Filter movie files
|
|
728
|
-
:type filter_movie: typing.
|
|
647
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
729
648
|
:param filter_python: Filter Python files
|
|
730
|
-
:type filter_python: typing.
|
|
649
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
731
650
|
:param filter_font: Filter font files
|
|
732
|
-
:type filter_font: typing.
|
|
651
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
733
652
|
:param filter_sound: Filter sound files
|
|
734
|
-
:type filter_sound: typing.
|
|
653
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
735
654
|
:param filter_text: Filter text files
|
|
736
|
-
:type filter_text: typing.
|
|
655
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
737
656
|
:param filter_archive: Filter archive files
|
|
738
|
-
:type filter_archive: typing.
|
|
657
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
739
658
|
:param filter_btx: Filter btx files
|
|
740
|
-
:type filter_btx: typing.
|
|
659
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
741
660
|
:param filter_collada: Filter COLLADA files
|
|
742
|
-
:type filter_collada: typing.
|
|
661
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
743
662
|
:param filter_alembic: Filter Alembic files
|
|
744
|
-
:type filter_alembic: typing.
|
|
663
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
745
664
|
:param filter_usd: Filter USD files
|
|
746
|
-
:type filter_usd: typing.
|
|
665
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
747
666
|
:param filter_obj: Filter OBJ files
|
|
748
|
-
:type filter_obj: typing.
|
|
667
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
749
668
|
:param filter_volume: Filter OpenVDB volume files
|
|
750
|
-
:type filter_volume: typing.
|
|
669
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
751
670
|
:param filter_folder: Filter folders
|
|
752
|
-
:type filter_folder: typing.
|
|
671
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
753
672
|
:param filter_blenlib: Filter Blender IDs
|
|
754
|
-
:type filter_blenlib: typing.
|
|
673
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
755
674
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
756
|
-
:type filemode: typing.
|
|
675
|
+
:type filemode: typing.Any
|
|
757
676
|
:param display_type: Display Type
|
|
758
677
|
|
|
759
678
|
DEFAULT
|
|
@@ -767,181 +686,158 @@ def save_as(
|
|
|
767
686
|
|
|
768
687
|
THUMBNAIL
|
|
769
688
|
Thumbnails -- Display files as thumbnails.
|
|
770
|
-
:type display_type: typing.
|
|
689
|
+
:type display_type: typing.Any
|
|
771
690
|
:param sort_method: File sorting mode
|
|
772
|
-
:type sort_method: typing.
|
|
691
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
773
692
|
"""
|
|
774
693
|
|
|
775
694
|
...
|
|
776
695
|
|
|
777
696
|
def scroll(
|
|
778
|
-
override_context: typing.
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
undo: typing.Optional[bool] = None,
|
|
783
|
-
*,
|
|
784
|
-
lines: typing.Optional[typing.Any] = 1,
|
|
697
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
698
|
+
execution_context: typing.Union[str, int] = None,
|
|
699
|
+
undo: bool = None,
|
|
700
|
+
lines: typing.Any = 1,
|
|
785
701
|
):
|
|
786
702
|
"""Undocumented, consider contributing.
|
|
787
703
|
|
|
788
|
-
:type override_context: typing.
|
|
789
|
-
:type execution_context: typing.
|
|
790
|
-
:type undo:
|
|
704
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
705
|
+
:type execution_context: typing.Union[str, int]
|
|
706
|
+
:type undo: bool
|
|
791
707
|
:param lines: Lines, Number of lines to scroll
|
|
792
|
-
:type lines: typing.
|
|
708
|
+
:type lines: typing.Any
|
|
793
709
|
"""
|
|
794
710
|
|
|
795
711
|
...
|
|
796
712
|
|
|
797
713
|
def scroll_bar(
|
|
798
|
-
override_context: typing.
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
undo: typing.Optional[bool] = None,
|
|
803
|
-
*,
|
|
804
|
-
lines: typing.Optional[typing.Any] = 1,
|
|
714
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
715
|
+
execution_context: typing.Union[str, int] = None,
|
|
716
|
+
undo: bool = None,
|
|
717
|
+
lines: typing.Any = 1,
|
|
805
718
|
):
|
|
806
719
|
"""Undocumented, consider contributing.
|
|
807
720
|
|
|
808
|
-
:type override_context: typing.
|
|
809
|
-
:type execution_context: typing.
|
|
810
|
-
:type undo:
|
|
721
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
722
|
+
:type execution_context: typing.Union[str, int]
|
|
723
|
+
:type undo: bool
|
|
811
724
|
:param lines: Lines, Number of lines to scroll
|
|
812
|
-
:type lines: typing.
|
|
725
|
+
:type lines: typing.Any
|
|
813
726
|
"""
|
|
814
727
|
|
|
815
728
|
...
|
|
816
729
|
|
|
817
730
|
def select_all(
|
|
818
|
-
override_context: typing.
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
822
|
-
undo: typing.Optional[bool] = None,
|
|
731
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
732
|
+
execution_context: typing.Union[str, int] = None,
|
|
733
|
+
undo: bool = None,
|
|
823
734
|
):
|
|
824
735
|
"""Select all text
|
|
825
736
|
|
|
826
|
-
:type override_context: typing.
|
|
827
|
-
:type execution_context: typing.
|
|
828
|
-
:type undo:
|
|
737
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
738
|
+
:type execution_context: typing.Union[str, int]
|
|
739
|
+
:type undo: bool
|
|
829
740
|
"""
|
|
830
741
|
|
|
831
742
|
...
|
|
832
743
|
|
|
833
744
|
def select_line(
|
|
834
|
-
override_context: typing.
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
838
|
-
undo: typing.Optional[bool] = None,
|
|
745
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
746
|
+
execution_context: typing.Union[str, int] = None,
|
|
747
|
+
undo: bool = None,
|
|
839
748
|
):
|
|
840
749
|
"""Select text by line
|
|
841
750
|
|
|
842
|
-
:type override_context: typing.
|
|
843
|
-
:type execution_context: typing.
|
|
844
|
-
:type undo:
|
|
751
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
752
|
+
:type execution_context: typing.Union[str, int]
|
|
753
|
+
:type undo: bool
|
|
845
754
|
"""
|
|
846
755
|
|
|
847
756
|
...
|
|
848
757
|
|
|
849
758
|
def select_word(
|
|
850
|
-
override_context: typing.
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
854
|
-
undo: typing.Optional[bool] = None,
|
|
759
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
760
|
+
execution_context: typing.Union[str, int] = None,
|
|
761
|
+
undo: bool = None,
|
|
855
762
|
):
|
|
856
763
|
"""Select word under cursor
|
|
857
764
|
|
|
858
|
-
:type override_context: typing.
|
|
859
|
-
:type execution_context: typing.
|
|
860
|
-
:type undo:
|
|
765
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
766
|
+
:type execution_context: typing.Union[str, int]
|
|
767
|
+
:type undo: bool
|
|
861
768
|
"""
|
|
862
769
|
|
|
863
770
|
...
|
|
864
771
|
|
|
865
772
|
def selection_set(
|
|
866
|
-
override_context: typing.
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
870
|
-
undo: typing.Optional[bool] = None,
|
|
773
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
774
|
+
execution_context: typing.Union[str, int] = None,
|
|
775
|
+
undo: bool = None,
|
|
871
776
|
):
|
|
872
777
|
"""Set text selection
|
|
873
778
|
|
|
874
|
-
:type override_context: typing.
|
|
875
|
-
:type execution_context: typing.
|
|
876
|
-
:type undo:
|
|
779
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
780
|
+
:type execution_context: typing.Union[str, int]
|
|
781
|
+
:type undo: bool
|
|
877
782
|
"""
|
|
878
783
|
|
|
879
784
|
...
|
|
880
785
|
|
|
881
786
|
def start_find(
|
|
882
|
-
override_context: typing.
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
886
|
-
undo: typing.Optional[bool] = None,
|
|
787
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
788
|
+
execution_context: typing.Union[str, int] = None,
|
|
789
|
+
undo: bool = None,
|
|
887
790
|
):
|
|
888
791
|
"""Start searching text
|
|
889
792
|
|
|
890
|
-
:type override_context: typing.
|
|
891
|
-
:type execution_context: typing.
|
|
892
|
-
:type undo:
|
|
793
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
794
|
+
:type execution_context: typing.Union[str, int]
|
|
795
|
+
:type undo: bool
|
|
893
796
|
"""
|
|
894
797
|
|
|
895
798
|
...
|
|
896
799
|
|
|
897
800
|
def to_3d_object(
|
|
898
|
-
override_context: typing.
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
undo: typing.Optional[bool] = None,
|
|
903
|
-
*,
|
|
904
|
-
split_lines: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
801
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
802
|
+
execution_context: typing.Union[str, int] = None,
|
|
803
|
+
undo: bool = None,
|
|
804
|
+
split_lines: typing.Union[bool, typing.Any] = False,
|
|
905
805
|
):
|
|
906
806
|
"""Create 3D text object from active text data-block
|
|
907
807
|
|
|
908
|
-
:type override_context: typing.
|
|
909
|
-
:type execution_context: typing.
|
|
910
|
-
:type undo:
|
|
808
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
809
|
+
:type execution_context: typing.Union[str, int]
|
|
810
|
+
:type undo: bool
|
|
911
811
|
:param split_lines: Split Lines, Create one object per line in the text
|
|
912
|
-
:type split_lines: typing.
|
|
812
|
+
:type split_lines: typing.Union[bool, typing.Any]
|
|
913
813
|
"""
|
|
914
814
|
|
|
915
815
|
...
|
|
916
816
|
|
|
917
817
|
def unindent(
|
|
918
|
-
override_context: typing.
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
922
|
-
undo: typing.Optional[bool] = None,
|
|
818
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
819
|
+
execution_context: typing.Union[str, int] = None,
|
|
820
|
+
undo: bool = None,
|
|
923
821
|
):
|
|
924
822
|
"""Unindent selected text
|
|
925
823
|
|
|
926
|
-
:type override_context: typing.
|
|
927
|
-
:type execution_context: typing.
|
|
928
|
-
:type undo:
|
|
824
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
825
|
+
:type execution_context: typing.Union[str, int]
|
|
826
|
+
:type undo: bool
|
|
929
827
|
"""
|
|
930
828
|
|
|
931
829
|
...
|
|
932
830
|
|
|
933
831
|
def unlink(
|
|
934
|
-
override_context: typing.
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
938
|
-
undo: typing.Optional[bool] = None,
|
|
832
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
833
|
+
execution_context: typing.Union[str, int] = None,
|
|
834
|
+
undo: bool = None,
|
|
939
835
|
):
|
|
940
836
|
"""Unlink active text data-block
|
|
941
837
|
|
|
942
|
-
:type override_context: typing.
|
|
943
|
-
:type execution_context: typing.
|
|
944
|
-
:type undo:
|
|
838
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
839
|
+
:type execution_context: typing.Union[str, int]
|
|
840
|
+
:type undo: bool
|
|
945
841
|
"""
|
|
946
842
|
|
|
947
843
|
...
|