fake-bpy-module 20240210__py3-none-any.whl → 20240326__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 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -1,234 +1,202 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def autocomplete(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
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,
|
|
13
10
|
):
|
|
14
11
|
"""Show a list of used text in the open document
|
|
15
12
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
19
16
|
"""
|
|
20
17
|
|
|
21
18
|
...
|
|
22
19
|
|
|
23
20
|
def comment_toggle(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
35
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
36
|
-
:type undo: typing.Optional[bool]
|
|
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",
|
|
25
|
+
):
|
|
26
|
+
"""Undocumented, consider contributing.
|
|
27
|
+
|
|
28
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
+
:type execution_context: typing.Union[str, int]
|
|
30
|
+
:type undo: bool
|
|
37
31
|
:param type: Type, Add or remove comments
|
|
38
|
-
:type type: typing.
|
|
32
|
+
:type type: typing.Any
|
|
39
33
|
"""
|
|
40
34
|
|
|
41
35
|
...
|
|
42
36
|
|
|
43
37
|
def convert_whitespace(
|
|
44
|
-
override_context: typing.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
undo: typing.Optional[bool] = None,
|
|
49
|
-
*,
|
|
50
|
-
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",
|
|
51
42
|
):
|
|
52
43
|
"""Convert whitespaces by type
|
|
53
44
|
|
|
54
|
-
:type override_context: typing.
|
|
55
|
-
:type execution_context: typing.
|
|
56
|
-
:type undo:
|
|
45
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
+
:type execution_context: typing.Union[str, int]
|
|
47
|
+
:type undo: bool
|
|
57
48
|
:param type: Type, Type of whitespace to convert to
|
|
58
|
-
:type type: typing.
|
|
49
|
+
:type type: typing.Any
|
|
59
50
|
"""
|
|
60
51
|
|
|
61
52
|
...
|
|
62
53
|
|
|
63
54
|
def copy(
|
|
64
|
-
override_context: typing.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
68
|
-
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,
|
|
69
58
|
):
|
|
70
59
|
"""Copy selected text to clipboard
|
|
71
60
|
|
|
72
|
-
:type override_context: typing.
|
|
73
|
-
:type execution_context: typing.
|
|
74
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
75
64
|
"""
|
|
76
65
|
|
|
77
66
|
...
|
|
78
67
|
|
|
79
68
|
def cursor_set(
|
|
80
|
-
override_context: typing.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
*,
|
|
86
|
-
x: typing.Optional[typing.Any] = 0,
|
|
87
|
-
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,
|
|
88
74
|
):
|
|
89
75
|
"""Set cursor position
|
|
90
76
|
|
|
91
|
-
:type override_context: typing.
|
|
92
|
-
:type execution_context: typing.
|
|
93
|
-
:type undo:
|
|
77
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
+
:type execution_context: typing.Union[str, int]
|
|
79
|
+
:type undo: bool
|
|
94
80
|
:param x: X
|
|
95
|
-
:type x: typing.
|
|
81
|
+
:type x: typing.Any
|
|
96
82
|
:param y: Y
|
|
97
|
-
:type y: typing.
|
|
83
|
+
:type y: typing.Any
|
|
98
84
|
"""
|
|
99
85
|
|
|
100
86
|
...
|
|
101
87
|
|
|
102
88
|
def cut(
|
|
103
|
-
override_context: typing.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
107
|
-
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,
|
|
108
92
|
):
|
|
109
93
|
"""Cut selected text to clipboard
|
|
110
94
|
|
|
111
|
-
:type override_context: typing.
|
|
112
|
-
:type execution_context: typing.
|
|
113
|
-
:type undo:
|
|
95
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
96
|
+
:type execution_context: typing.Union[str, int]
|
|
97
|
+
:type undo: bool
|
|
114
98
|
"""
|
|
115
99
|
|
|
116
100
|
...
|
|
117
101
|
|
|
118
102
|
def delete(
|
|
119
|
-
override_context: typing.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
undo: typing.Optional[bool] = None,
|
|
124
|
-
*,
|
|
125
|
-
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",
|
|
126
107
|
):
|
|
127
108
|
"""Delete text by cursor position
|
|
128
109
|
|
|
129
|
-
:type override_context: typing.
|
|
130
|
-
:type execution_context: typing.
|
|
131
|
-
:type undo:
|
|
110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
+
:type execution_context: typing.Union[str, int]
|
|
112
|
+
:type undo: bool
|
|
132
113
|
:param type: Type, Which part of the text to delete
|
|
133
|
-
:type type: typing.
|
|
114
|
+
:type type: typing.Any
|
|
134
115
|
"""
|
|
135
116
|
|
|
136
117
|
...
|
|
137
118
|
|
|
138
119
|
def duplicate_line(
|
|
139
|
-
override_context: typing.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
143
|
-
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,
|
|
144
123
|
):
|
|
145
124
|
"""Duplicate the current line
|
|
146
125
|
|
|
147
|
-
:type override_context: typing.
|
|
148
|
-
:type execution_context: typing.
|
|
149
|
-
:type undo:
|
|
126
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
127
|
+
:type execution_context: typing.Union[str, int]
|
|
128
|
+
:type undo: bool
|
|
150
129
|
"""
|
|
151
130
|
|
|
152
131
|
...
|
|
153
132
|
|
|
154
133
|
def find(
|
|
155
|
-
override_context: typing.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
|
-
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,
|
|
160
137
|
):
|
|
161
138
|
"""Find specified text
|
|
162
139
|
|
|
163
|
-
:type override_context: typing.
|
|
164
|
-
:type execution_context: typing.
|
|
165
|
-
:type undo:
|
|
140
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
141
|
+
:type execution_context: typing.Union[str, int]
|
|
142
|
+
:type undo: bool
|
|
166
143
|
"""
|
|
167
144
|
|
|
168
145
|
...
|
|
169
146
|
|
|
170
147
|
def find_set_selected(
|
|
171
|
-
override_context: typing.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
175
|
-
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,
|
|
176
151
|
):
|
|
177
152
|
"""Find specified text and set as selected
|
|
178
153
|
|
|
179
|
-
:type override_context: typing.
|
|
180
|
-
:type execution_context: typing.
|
|
181
|
-
:type undo:
|
|
154
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
155
|
+
:type execution_context: typing.Union[str, int]
|
|
156
|
+
:type undo: bool
|
|
182
157
|
"""
|
|
183
158
|
|
|
184
159
|
...
|
|
185
160
|
|
|
186
161
|
def indent(
|
|
187
|
-
override_context: typing.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
191
|
-
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,
|
|
192
165
|
):
|
|
193
166
|
"""Indent selected text
|
|
194
167
|
|
|
195
|
-
:type override_context: typing.
|
|
196
|
-
:type execution_context: typing.
|
|
197
|
-
:type undo:
|
|
168
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
169
|
+
:type execution_context: typing.Union[str, int]
|
|
170
|
+
:type undo: bool
|
|
198
171
|
"""
|
|
199
172
|
|
|
200
173
|
...
|
|
201
174
|
|
|
202
175
|
def indent_or_autocomplete(
|
|
203
|
-
override_context: typing.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
207
|
-
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,
|
|
208
179
|
):
|
|
209
180
|
"""Indent selected text or autocomplete
|
|
210
181
|
|
|
211
|
-
:type override_context: typing.
|
|
212
|
-
:type execution_context: typing.
|
|
213
|
-
:type undo:
|
|
182
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
+
:type execution_context: typing.Union[str, int]
|
|
184
|
+
:type undo: bool
|
|
214
185
|
"""
|
|
215
186
|
|
|
216
187
|
...
|
|
217
188
|
|
|
218
189
|
def insert(
|
|
219
|
-
override_context: typing.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
223
|
-
undo: typing.Optional[bool] = None,
|
|
224
|
-
*,
|
|
190
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
191
|
+
execution_context: typing.Union[str, int] = None,
|
|
192
|
+
undo: bool = None,
|
|
225
193
|
text: typing.Union[str, typing.Any] = "",
|
|
226
194
|
):
|
|
227
195
|
"""Insert text at cursor position
|
|
228
196
|
|
|
229
|
-
:type override_context: typing.
|
|
230
|
-
:type execution_context: typing.
|
|
231
|
-
:type undo:
|
|
197
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
198
|
+
:type execution_context: typing.Union[str, int]
|
|
199
|
+
:type undo: bool
|
|
232
200
|
:param text: Text, Text to insert at the cursor position
|
|
233
201
|
:type text: typing.Union[str, typing.Any]
|
|
234
202
|
"""
|
|
@@ -236,674 +204,640 @@ def insert(
|
|
|
236
204
|
...
|
|
237
205
|
|
|
238
206
|
def jump(
|
|
239
|
-
override_context: typing.
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
undo: typing.Optional[bool] = None,
|
|
244
|
-
*,
|
|
245
|
-
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,
|
|
246
211
|
):
|
|
247
212
|
"""Jump cursor to line
|
|
248
213
|
|
|
249
|
-
:type override_context: typing.
|
|
250
|
-
:type execution_context: typing.
|
|
251
|
-
:type undo:
|
|
214
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
215
|
+
:type execution_context: typing.Union[str, int]
|
|
216
|
+
:type undo: bool
|
|
252
217
|
:param line: Line, Line number to jump to
|
|
253
|
-
:type line: typing.
|
|
218
|
+
:type line: typing.Any
|
|
254
219
|
"""
|
|
255
220
|
|
|
256
221
|
...
|
|
257
222
|
|
|
258
223
|
def jump_to_file_at_point(
|
|
259
|
-
override_context: typing.
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
263
|
-
undo: typing.Optional[bool] = None,
|
|
264
|
-
*,
|
|
224
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
225
|
+
execution_context: typing.Union[str, int] = None,
|
|
226
|
+
undo: bool = None,
|
|
265
227
|
filepath: typing.Union[str, typing.Any] = "",
|
|
266
|
-
line: typing.
|
|
267
|
-
column: typing.
|
|
228
|
+
line: typing.Any = 0,
|
|
229
|
+
column: typing.Any = 0,
|
|
268
230
|
):
|
|
269
231
|
"""Jump to a file for the text editor
|
|
270
232
|
|
|
271
|
-
:type override_context: typing.
|
|
272
|
-
:type execution_context: typing.
|
|
273
|
-
:type undo:
|
|
233
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
234
|
+
:type execution_context: typing.Union[str, int]
|
|
235
|
+
:type undo: bool
|
|
274
236
|
:param filepath: Filepath
|
|
275
237
|
:type filepath: typing.Union[str, typing.Any]
|
|
276
238
|
:param line: Line, Line to jump to
|
|
277
|
-
:type line: typing.
|
|
239
|
+
:type line: typing.Any
|
|
278
240
|
:param column: Column, Column to jump to
|
|
279
|
-
:type column: typing.
|
|
241
|
+
:type column: typing.Any
|
|
280
242
|
"""
|
|
281
243
|
|
|
282
244
|
...
|
|
283
245
|
|
|
284
246
|
def line_break(
|
|
285
|
-
override_context: typing.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
289
|
-
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,
|
|
290
250
|
):
|
|
291
251
|
"""Insert line break at cursor position
|
|
292
252
|
|
|
293
|
-
:type override_context: typing.
|
|
294
|
-
:type execution_context: typing.
|
|
295
|
-
:type undo:
|
|
253
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
254
|
+
:type execution_context: typing.Union[str, int]
|
|
255
|
+
:type undo: bool
|
|
296
256
|
"""
|
|
297
257
|
|
|
298
258
|
...
|
|
299
259
|
|
|
300
260
|
def line_number(
|
|
301
|
-
override_context: typing.
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
305
|
-
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,
|
|
306
264
|
):
|
|
307
265
|
"""The current line number
|
|
308
266
|
|
|
309
|
-
:type override_context: typing.
|
|
310
|
-
:type execution_context: typing.
|
|
311
|
-
:type undo:
|
|
267
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
|
+
:type undo: bool
|
|
312
270
|
"""
|
|
313
271
|
|
|
314
272
|
...
|
|
315
273
|
|
|
316
274
|
def make_internal(
|
|
317
|
-
override_context: typing.
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
321
|
-
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,
|
|
322
278
|
):
|
|
323
279
|
"""Make active text file internal
|
|
324
280
|
|
|
325
|
-
:type override_context: typing.
|
|
326
|
-
:type execution_context: typing.
|
|
327
|
-
:type undo:
|
|
281
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
+
:type execution_context: typing.Union[str, int]
|
|
283
|
+
:type undo: bool
|
|
328
284
|
"""
|
|
329
285
|
|
|
330
286
|
...
|
|
331
287
|
|
|
332
288
|
def move(
|
|
333
|
-
override_context: typing.
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
undo: typing.Optional[bool] = None,
|
|
338
|
-
*,
|
|
339
|
-
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",
|
|
340
293
|
):
|
|
341
294
|
"""Move cursor to position type
|
|
342
295
|
|
|
343
|
-
:type override_context: typing.
|
|
344
|
-
:type execution_context: typing.
|
|
345
|
-
:type undo:
|
|
296
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
297
|
+
:type execution_context: typing.Union[str, int]
|
|
298
|
+
:type undo: bool
|
|
346
299
|
:param type: Type, Where to move cursor to
|
|
347
|
-
:type type: typing.
|
|
300
|
+
:type type: typing.Any
|
|
348
301
|
"""
|
|
349
302
|
|
|
350
303
|
...
|
|
351
304
|
|
|
352
305
|
def move_lines(
|
|
353
|
-
override_context: typing.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
undo: typing.Optional[bool] = None,
|
|
358
|
-
*,
|
|
359
|
-
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",
|
|
360
310
|
):
|
|
361
311
|
"""Move the currently selected line(s) up/down
|
|
362
312
|
|
|
363
|
-
:type override_context: typing.
|
|
364
|
-
:type execution_context: typing.
|
|
365
|
-
:type undo:
|
|
313
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
314
|
+
:type execution_context: typing.Union[str, int]
|
|
315
|
+
:type undo: bool
|
|
366
316
|
:param direction: Direction
|
|
367
|
-
:type direction: typing.
|
|
317
|
+
:type direction: typing.Any
|
|
368
318
|
"""
|
|
369
319
|
|
|
370
320
|
...
|
|
371
321
|
|
|
372
322
|
def move_select(
|
|
373
|
-
override_context: typing.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
undo: typing.Optional[bool] = None,
|
|
378
|
-
*,
|
|
379
|
-
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",
|
|
380
327
|
):
|
|
381
328
|
"""Move the cursor while selecting
|
|
382
329
|
|
|
383
|
-
:type override_context: typing.
|
|
384
|
-
:type execution_context: typing.
|
|
385
|
-
:type undo:
|
|
330
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
331
|
+
:type execution_context: typing.Union[str, int]
|
|
332
|
+
:type undo: bool
|
|
386
333
|
:param type: Type, Where to move cursor to, to make a selection
|
|
387
|
-
:type type: typing.
|
|
334
|
+
:type type: typing.Any
|
|
388
335
|
"""
|
|
389
336
|
|
|
390
337
|
...
|
|
391
338
|
|
|
392
339
|
def new(
|
|
393
|
-
override_context: typing.
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
397
|
-
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,
|
|
398
343
|
):
|
|
399
344
|
"""Create a new text data-block
|
|
400
345
|
|
|
401
|
-
:type override_context: typing.
|
|
402
|
-
:type execution_context: typing.
|
|
403
|
-
:type undo:
|
|
346
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
347
|
+
:type execution_context: typing.Union[str, int]
|
|
348
|
+
:type undo: bool
|
|
404
349
|
"""
|
|
405
350
|
|
|
406
351
|
...
|
|
407
352
|
|
|
408
353
|
def open(
|
|
409
|
-
override_context: typing.
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
413
|
-
undo: typing.Optional[bool] = None,
|
|
414
|
-
*,
|
|
354
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
355
|
+
execution_context: typing.Union[str, int] = None,
|
|
356
|
+
undo: bool = None,
|
|
415
357
|
filepath: typing.Union[str, typing.Any] = "",
|
|
416
|
-
hide_props_region: typing.
|
|
417
|
-
check_existing: typing.
|
|
418
|
-
filter_blender: typing.
|
|
419
|
-
filter_backup: typing.
|
|
420
|
-
filter_image: typing.
|
|
421
|
-
filter_movie: typing.
|
|
422
|
-
filter_python: typing.
|
|
423
|
-
filter_font: typing.
|
|
424
|
-
filter_sound: typing.
|
|
425
|
-
filter_text: typing.
|
|
426
|
-
filter_archive: typing.
|
|
427
|
-
filter_btx: typing.
|
|
428
|
-
filter_collada: typing.
|
|
429
|
-
filter_alembic: typing.
|
|
430
|
-
filter_usd: typing.
|
|
431
|
-
filter_obj: typing.
|
|
432
|
-
filter_volume: typing.
|
|
433
|
-
filter_folder: typing.
|
|
434
|
-
filter_blenlib: typing.
|
|
435
|
-
filemode: typing.
|
|
436
|
-
display_type: typing.
|
|
437
|
-
sort_method: typing.
|
|
438
|
-
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,
|
|
439
381
|
):
|
|
440
382
|
"""Open a new text data-block
|
|
441
383
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
384
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
385
|
+
:type execution_context: typing.Union[str, int]
|
|
386
|
+
:type undo: bool
|
|
387
|
+
:param filepath: File Path, Path to file
|
|
388
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
389
|
+
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
390
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
391
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
392
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
393
|
+
:param filter_blender: Filter .blend files
|
|
394
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
395
|
+
:param filter_backup: Filter .blend files
|
|
396
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
397
|
+
:param filter_image: Filter image files
|
|
398
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
399
|
+
:param filter_movie: Filter movie files
|
|
400
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
401
|
+
:param filter_python: Filter Python files
|
|
402
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
403
|
+
:param filter_font: Filter font files
|
|
404
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
405
|
+
:param filter_sound: Filter sound files
|
|
406
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
407
|
+
:param filter_text: Filter text files
|
|
408
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
409
|
+
:param filter_archive: Filter archive files
|
|
410
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
411
|
+
:param filter_btx: Filter btx files
|
|
412
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
413
|
+
:param filter_collada: Filter COLLADA files
|
|
414
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
415
|
+
:param filter_alembic: Filter Alembic files
|
|
416
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
417
|
+
:param filter_usd: Filter USD files
|
|
418
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
419
|
+
:param filter_obj: Filter OBJ files
|
|
420
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
421
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
422
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
423
|
+
:param filter_folder: Filter folders
|
|
424
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
425
|
+
:param filter_blenlib: Filter Blender IDs
|
|
426
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
427
|
+
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
428
|
+
:type filemode: typing.Any
|
|
429
|
+
:param display_type: Display Type
|
|
430
|
+
|
|
431
|
+
DEFAULT
|
|
432
|
+
Default -- Automatically determine display type for files.
|
|
433
|
+
|
|
434
|
+
LIST_VERTICAL
|
|
435
|
+
Short List -- Display files as short list.
|
|
436
|
+
|
|
437
|
+
LIST_HORIZONTAL
|
|
438
|
+
Long List -- Display files as a detailed list.
|
|
439
|
+
|
|
440
|
+
THUMBNAIL
|
|
441
|
+
Thumbnails -- Display files as thumbnails.
|
|
442
|
+
:type display_type: typing.Any
|
|
443
|
+
:param sort_method: File sorting mode
|
|
444
|
+
|
|
445
|
+
DEFAULT
|
|
446
|
+
Default -- Automatically determine sort method for files.
|
|
447
|
+
|
|
448
|
+
FILE_SORT_ALPHA
|
|
449
|
+
Name -- Sort the file list alphabetically.
|
|
450
|
+
|
|
451
|
+
FILE_SORT_EXTENSION
|
|
452
|
+
Extension -- Sort the file list by extension/type.
|
|
453
|
+
|
|
454
|
+
FILE_SORT_TIME
|
|
455
|
+
Modified Date -- Sort files by modification time.
|
|
456
|
+
|
|
457
|
+
FILE_SORT_SIZE
|
|
458
|
+
Size -- Sort files by size.
|
|
459
|
+
:type sort_method: typing.Any
|
|
460
|
+
:param internal: Make Internal, Make text file internal after loading
|
|
461
|
+
:type internal: typing.Union[bool, typing.Any]
|
|
493
462
|
"""
|
|
494
463
|
|
|
495
464
|
...
|
|
496
465
|
|
|
497
466
|
def overwrite_toggle(
|
|
498
|
-
override_context: typing.
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
502
|
-
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,
|
|
503
470
|
):
|
|
504
471
|
"""Toggle overwrite while typing
|
|
505
472
|
|
|
506
|
-
:type override_context: typing.
|
|
507
|
-
:type execution_context: typing.
|
|
508
|
-
:type undo:
|
|
473
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
474
|
+
:type execution_context: typing.Union[str, int]
|
|
475
|
+
:type undo: bool
|
|
509
476
|
"""
|
|
510
477
|
|
|
511
478
|
...
|
|
512
479
|
|
|
513
480
|
def paste(
|
|
514
|
-
override_context: typing.
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
undo: typing.Optional[bool] = None,
|
|
519
|
-
*,
|
|
520
|
-
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,
|
|
521
485
|
):
|
|
522
486
|
"""Paste text from clipboard
|
|
523
487
|
|
|
524
|
-
:type override_context: typing.
|
|
525
|
-
:type execution_context: typing.
|
|
526
|
-
:type undo:
|
|
488
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
+
:type execution_context: typing.Union[str, int]
|
|
490
|
+
:type undo: bool
|
|
527
491
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
528
|
-
:type selection: typing.
|
|
492
|
+
:type selection: typing.Union[bool, typing.Any]
|
|
529
493
|
"""
|
|
530
494
|
|
|
531
495
|
...
|
|
532
496
|
|
|
533
497
|
def refresh_pyconstraints(
|
|
534
|
-
override_context: typing.
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
538
|
-
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,
|
|
539
501
|
):
|
|
540
502
|
"""Refresh all pyconstraints
|
|
541
503
|
|
|
542
|
-
:type override_context: typing.
|
|
543
|
-
:type execution_context: typing.
|
|
544
|
-
:type undo:
|
|
504
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
505
|
+
:type execution_context: typing.Union[str, int]
|
|
506
|
+
:type undo: bool
|
|
545
507
|
"""
|
|
546
508
|
|
|
547
509
|
...
|
|
548
510
|
|
|
549
511
|
def reload(
|
|
550
|
-
override_context: typing.
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
554
|
-
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,
|
|
555
515
|
):
|
|
556
516
|
"""Reload active text data-block from its file
|
|
557
517
|
|
|
558
|
-
:type override_context: typing.
|
|
559
|
-
:type execution_context: typing.
|
|
560
|
-
:type undo:
|
|
518
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
519
|
+
:type execution_context: typing.Union[str, int]
|
|
520
|
+
:type undo: bool
|
|
561
521
|
"""
|
|
562
522
|
|
|
563
523
|
...
|
|
564
524
|
|
|
565
525
|
def replace(
|
|
566
|
-
override_context: typing.
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
undo: typing.Optional[bool] = None,
|
|
571
|
-
*,
|
|
572
|
-
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,
|
|
573
530
|
):
|
|
574
531
|
"""Replace text with the specified text
|
|
575
532
|
|
|
576
|
-
:type override_context: typing.
|
|
577
|
-
:type execution_context: typing.
|
|
578
|
-
:type undo:
|
|
533
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
534
|
+
:type execution_context: typing.Union[str, int]
|
|
535
|
+
:type undo: bool
|
|
579
536
|
:param all: Replace All, Replace all occurrences
|
|
580
|
-
:type all: typing.
|
|
537
|
+
:type all: typing.Union[bool, typing.Any]
|
|
581
538
|
"""
|
|
582
539
|
|
|
583
540
|
...
|
|
584
541
|
|
|
585
542
|
def replace_set_selected(
|
|
586
|
-
override_context: typing.
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
590
|
-
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,
|
|
591
546
|
):
|
|
592
547
|
"""Replace text with specified text and set as selected
|
|
593
548
|
|
|
594
|
-
:type override_context: typing.
|
|
595
|
-
:type execution_context: typing.
|
|
596
|
-
:type undo:
|
|
549
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
550
|
+
:type execution_context: typing.Union[str, int]
|
|
551
|
+
:type undo: bool
|
|
597
552
|
"""
|
|
598
553
|
|
|
599
554
|
...
|
|
600
555
|
|
|
601
556
|
def resolve_conflict(
|
|
602
|
-
override_context: typing.
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
undo: typing.Optional[bool] = None,
|
|
607
|
-
*,
|
|
608
|
-
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",
|
|
609
561
|
):
|
|
610
562
|
"""When external text is out of sync, resolve the conflict
|
|
611
563
|
|
|
612
|
-
:type override_context: typing.
|
|
613
|
-
:type execution_context: typing.
|
|
614
|
-
:type undo:
|
|
564
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
565
|
+
:type execution_context: typing.Union[str, int]
|
|
566
|
+
:type undo: bool
|
|
615
567
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
616
|
-
:type resolution: typing.
|
|
568
|
+
:type resolution: typing.Any
|
|
617
569
|
"""
|
|
618
570
|
|
|
619
571
|
...
|
|
620
572
|
|
|
621
573
|
def run_script(
|
|
622
|
-
override_context: typing.
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
626
|
-
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,
|
|
627
577
|
):
|
|
628
578
|
"""Run active script
|
|
629
579
|
|
|
630
|
-
:type override_context: typing.
|
|
631
|
-
:type execution_context: typing.
|
|
632
|
-
:type undo:
|
|
580
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
581
|
+
:type execution_context: typing.Union[str, int]
|
|
582
|
+
:type undo: bool
|
|
633
583
|
"""
|
|
634
584
|
|
|
635
585
|
...
|
|
636
586
|
|
|
637
587
|
def save(
|
|
638
|
-
override_context: typing.
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
642
|
-
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,
|
|
643
591
|
):
|
|
644
592
|
"""Save active text data-block
|
|
645
593
|
|
|
646
|
-
:type override_context: typing.
|
|
647
|
-
:type execution_context: typing.
|
|
648
|
-
:type undo:
|
|
594
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
595
|
+
:type execution_context: typing.Union[str, int]
|
|
596
|
+
:type undo: bool
|
|
649
597
|
"""
|
|
650
598
|
|
|
651
599
|
...
|
|
652
600
|
|
|
653
601
|
def save_as(
|
|
654
|
-
override_context: typing.
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
658
|
-
undo: typing.Optional[bool] = None,
|
|
659
|
-
*,
|
|
602
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
603
|
+
execution_context: typing.Union[str, int] = None,
|
|
604
|
+
undo: bool = None,
|
|
660
605
|
filepath: typing.Union[str, typing.Any] = "",
|
|
661
|
-
hide_props_region: typing.
|
|
662
|
-
check_existing: typing.
|
|
663
|
-
filter_blender: typing.
|
|
664
|
-
filter_backup: typing.
|
|
665
|
-
filter_image: typing.
|
|
666
|
-
filter_movie: typing.
|
|
667
|
-
filter_python: typing.
|
|
668
|
-
filter_font: typing.
|
|
669
|
-
filter_sound: typing.
|
|
670
|
-
filter_text: typing.
|
|
671
|
-
filter_archive: typing.
|
|
672
|
-
filter_btx: typing.
|
|
673
|
-
filter_collada: typing.
|
|
674
|
-
filter_alembic: typing.
|
|
675
|
-
filter_usd: typing.
|
|
676
|
-
filter_obj: typing.
|
|
677
|
-
filter_volume: typing.
|
|
678
|
-
filter_folder: typing.
|
|
679
|
-
filter_blenlib: typing.
|
|
680
|
-
filemode: typing.
|
|
681
|
-
display_type: typing.
|
|
682
|
-
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] = "",
|
|
683
628
|
):
|
|
684
629
|
"""Save active text file with options
|
|
685
630
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
631
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
632
|
+
:type execution_context: typing.Union[str, int]
|
|
633
|
+
:type undo: bool
|
|
634
|
+
:param filepath: File Path, Path to file
|
|
635
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
636
|
+
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
637
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
638
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
639
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
640
|
+
:param filter_blender: Filter .blend files
|
|
641
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
642
|
+
:param filter_backup: Filter .blend files
|
|
643
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
644
|
+
:param filter_image: Filter image files
|
|
645
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
646
|
+
:param filter_movie: Filter movie files
|
|
647
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
648
|
+
:param filter_python: Filter Python files
|
|
649
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
650
|
+
:param filter_font: Filter font files
|
|
651
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
652
|
+
:param filter_sound: Filter sound files
|
|
653
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
654
|
+
:param filter_text: Filter text files
|
|
655
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
656
|
+
:param filter_archive: Filter archive files
|
|
657
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
658
|
+
:param filter_btx: Filter btx files
|
|
659
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
660
|
+
:param filter_collada: Filter COLLADA files
|
|
661
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
662
|
+
:param filter_alembic: Filter Alembic files
|
|
663
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
664
|
+
:param filter_usd: Filter USD files
|
|
665
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
666
|
+
:param filter_obj: Filter OBJ files
|
|
667
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
668
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
669
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
670
|
+
:param filter_folder: Filter folders
|
|
671
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
672
|
+
:param filter_blenlib: Filter Blender IDs
|
|
673
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
674
|
+
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
675
|
+
:type filemode: typing.Any
|
|
676
|
+
:param display_type: Display Type
|
|
677
|
+
|
|
678
|
+
DEFAULT
|
|
679
|
+
Default -- Automatically determine display type for files.
|
|
680
|
+
|
|
681
|
+
LIST_VERTICAL
|
|
682
|
+
Short List -- Display files as short list.
|
|
683
|
+
|
|
684
|
+
LIST_HORIZONTAL
|
|
685
|
+
Long List -- Display files as a detailed list.
|
|
686
|
+
|
|
687
|
+
THUMBNAIL
|
|
688
|
+
Thumbnails -- Display files as thumbnails.
|
|
689
|
+
:type display_type: typing.Any
|
|
690
|
+
:param sort_method: File sorting mode
|
|
691
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
735
692
|
"""
|
|
736
693
|
|
|
737
694
|
...
|
|
738
695
|
|
|
739
696
|
def scroll(
|
|
740
|
-
override_context: typing.
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
751
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
752
|
-
:type undo: typing.Optional[bool]
|
|
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,
|
|
701
|
+
):
|
|
702
|
+
"""Undocumented, consider contributing.
|
|
703
|
+
|
|
704
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
705
|
+
:type execution_context: typing.Union[str, int]
|
|
706
|
+
:type undo: bool
|
|
753
707
|
:param lines: Lines, Number of lines to scroll
|
|
754
|
-
:type lines: typing.
|
|
708
|
+
:type lines: typing.Any
|
|
755
709
|
"""
|
|
756
710
|
|
|
757
711
|
...
|
|
758
712
|
|
|
759
713
|
def scroll_bar(
|
|
760
|
-
override_context: typing.
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
771
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
772
|
-
:type undo: typing.Optional[bool]
|
|
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,
|
|
718
|
+
):
|
|
719
|
+
"""Undocumented, consider contributing.
|
|
720
|
+
|
|
721
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
722
|
+
:type execution_context: typing.Union[str, int]
|
|
723
|
+
:type undo: bool
|
|
773
724
|
:param lines: Lines, Number of lines to scroll
|
|
774
|
-
:type lines: typing.
|
|
725
|
+
:type lines: typing.Any
|
|
775
726
|
"""
|
|
776
727
|
|
|
777
728
|
...
|
|
778
729
|
|
|
779
730
|
def select_all(
|
|
780
|
-
override_context: typing.
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
784
|
-
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,
|
|
785
734
|
):
|
|
786
735
|
"""Select all text
|
|
787
736
|
|
|
788
|
-
:type override_context: typing.
|
|
789
|
-
:type execution_context: typing.
|
|
790
|
-
:type undo:
|
|
737
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
738
|
+
:type execution_context: typing.Union[str, int]
|
|
739
|
+
:type undo: bool
|
|
791
740
|
"""
|
|
792
741
|
|
|
793
742
|
...
|
|
794
743
|
|
|
795
744
|
def select_line(
|
|
796
|
-
override_context: typing.
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
800
|
-
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,
|
|
801
748
|
):
|
|
802
749
|
"""Select text by line
|
|
803
750
|
|
|
804
|
-
:type override_context: typing.
|
|
805
|
-
:type execution_context: typing.
|
|
806
|
-
:type undo:
|
|
751
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
752
|
+
:type execution_context: typing.Union[str, int]
|
|
753
|
+
:type undo: bool
|
|
807
754
|
"""
|
|
808
755
|
|
|
809
756
|
...
|
|
810
757
|
|
|
811
758
|
def select_word(
|
|
812
|
-
override_context: typing.
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
816
|
-
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,
|
|
817
762
|
):
|
|
818
763
|
"""Select word under cursor
|
|
819
764
|
|
|
820
|
-
:type override_context: typing.
|
|
821
|
-
:type execution_context: typing.
|
|
822
|
-
:type undo:
|
|
765
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
766
|
+
:type execution_context: typing.Union[str, int]
|
|
767
|
+
:type undo: bool
|
|
823
768
|
"""
|
|
824
769
|
|
|
825
770
|
...
|
|
826
771
|
|
|
827
772
|
def selection_set(
|
|
828
|
-
override_context: typing.
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
832
|
-
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,
|
|
833
776
|
):
|
|
834
777
|
"""Set text selection
|
|
835
778
|
|
|
836
|
-
:type override_context: typing.
|
|
837
|
-
:type execution_context: typing.
|
|
838
|
-
:type undo:
|
|
779
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
780
|
+
:type execution_context: typing.Union[str, int]
|
|
781
|
+
:type undo: bool
|
|
839
782
|
"""
|
|
840
783
|
|
|
841
784
|
...
|
|
842
785
|
|
|
843
786
|
def start_find(
|
|
844
|
-
override_context: typing.
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
848
|
-
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,
|
|
849
790
|
):
|
|
850
791
|
"""Start searching text
|
|
851
792
|
|
|
852
|
-
:type override_context: typing.
|
|
853
|
-
:type execution_context: typing.
|
|
854
|
-
:type undo:
|
|
793
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
794
|
+
:type execution_context: typing.Union[str, int]
|
|
795
|
+
:type undo: bool
|
|
855
796
|
"""
|
|
856
797
|
|
|
857
798
|
...
|
|
858
799
|
|
|
859
800
|
def to_3d_object(
|
|
860
|
-
override_context: typing.
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
undo: typing.Optional[bool] = None,
|
|
865
|
-
*,
|
|
866
|
-
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,
|
|
867
805
|
):
|
|
868
806
|
"""Create 3D text object from active text data-block
|
|
869
807
|
|
|
870
|
-
:type override_context: typing.
|
|
871
|
-
:type execution_context: typing.
|
|
872
|
-
:type undo:
|
|
808
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
809
|
+
:type execution_context: typing.Union[str, int]
|
|
810
|
+
:type undo: bool
|
|
873
811
|
:param split_lines: Split Lines, Create one object per line in the text
|
|
874
|
-
:type split_lines: typing.
|
|
812
|
+
:type split_lines: typing.Union[bool, typing.Any]
|
|
875
813
|
"""
|
|
876
814
|
|
|
877
815
|
...
|
|
878
816
|
|
|
879
817
|
def unindent(
|
|
880
|
-
override_context: typing.
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
884
|
-
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,
|
|
885
821
|
):
|
|
886
822
|
"""Unindent selected text
|
|
887
823
|
|
|
888
|
-
:type override_context: typing.
|
|
889
|
-
:type execution_context: typing.
|
|
890
|
-
:type undo:
|
|
824
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
825
|
+
:type execution_context: typing.Union[str, int]
|
|
826
|
+
:type undo: bool
|
|
891
827
|
"""
|
|
892
828
|
|
|
893
829
|
...
|
|
894
830
|
|
|
895
831
|
def unlink(
|
|
896
|
-
override_context: typing.
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
900
|
-
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,
|
|
901
835
|
):
|
|
902
836
|
"""Unlink active text data-block
|
|
903
837
|
|
|
904
|
-
:type override_context: typing.
|
|
905
|
-
:type execution_context: typing.
|
|
906
|
-
:type undo:
|
|
838
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
839
|
+
:type execution_context: typing.Union[str, int]
|
|
840
|
+
:type undo: bool
|
|
907
841
|
"""
|
|
908
842
|
|
|
909
843
|
...
|