fake-bpy-module 20240420__py3-none-any.whl → 20240422__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.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +336 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +441 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +331 -330
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2412 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +103670 -100517
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -4,199 +4,199 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def autocomplete(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Show a list of used text in the open document
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def comment_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",
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
|
+
type: typing.Optional[typing.Any] = "TOGGLE",
|
|
25
25
|
):
|
|
26
26
|
"""Undocumented, consider contributing.
|
|
27
27
|
|
|
28
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
-
:type execution_context: typing.Union[str, int]
|
|
30
|
-
:type undo: bool
|
|
28
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
29
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
30
|
+
:type undo: typing.Optional[bool]
|
|
31
31
|
:param type: Type, Add or remove comments
|
|
32
|
-
:type type: typing.Any
|
|
32
|
+
:type type: typing.Optional[typing.Any]
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
...
|
|
36
36
|
|
|
37
37
|
def convert_whitespace(
|
|
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",
|
|
38
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
39
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
|
+
undo: typing.Optional[bool] = None,
|
|
41
|
+
type: typing.Optional[typing.Any] = "SPACES",
|
|
42
42
|
):
|
|
43
43
|
"""Convert whitespaces by type
|
|
44
44
|
|
|
45
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
-
:type execution_context: typing.Union[str, int]
|
|
47
|
-
:type undo: bool
|
|
45
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
46
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
|
+
:type undo: typing.Optional[bool]
|
|
48
48
|
:param type: Type, Type of whitespace to convert to
|
|
49
|
-
:type type: typing.Any
|
|
49
|
+
:type type: typing.Optional[typing.Any]
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
...
|
|
53
53
|
|
|
54
54
|
def copy(
|
|
55
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
-
execution_context: typing.Union[str, int] = None,
|
|
57
|
-
undo: bool = None,
|
|
55
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
56
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
|
+
undo: typing.Optional[bool] = None,
|
|
58
58
|
):
|
|
59
59
|
"""Copy selected text to clipboard
|
|
60
60
|
|
|
61
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
-
:type execution_context: typing.Union[str, int]
|
|
63
|
-
:type undo: bool
|
|
61
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
62
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
63
|
+
:type undo: typing.Optional[bool]
|
|
64
64
|
"""
|
|
65
65
|
|
|
66
66
|
...
|
|
67
67
|
|
|
68
68
|
def cursor_set(
|
|
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,
|
|
69
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
70
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
71
|
+
undo: typing.Optional[bool] = None,
|
|
72
|
+
x: typing.Optional[typing.Any] = 0,
|
|
73
|
+
y: typing.Optional[typing.Any] = 0,
|
|
74
74
|
):
|
|
75
75
|
"""Set cursor position
|
|
76
76
|
|
|
77
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
-
:type execution_context: typing.Union[str, int]
|
|
79
|
-
:type undo: bool
|
|
77
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
78
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
79
|
+
:type undo: typing.Optional[bool]
|
|
80
80
|
:param x: X
|
|
81
|
-
:type x: typing.Any
|
|
81
|
+
:type x: typing.Optional[typing.Any]
|
|
82
82
|
:param y: Y
|
|
83
|
-
:type y: typing.Any
|
|
83
|
+
:type y: typing.Optional[typing.Any]
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
...
|
|
87
87
|
|
|
88
88
|
def cut(
|
|
89
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
90
|
-
execution_context: typing.Union[str, int] = None,
|
|
91
|
-
undo: bool = None,
|
|
89
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
90
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
91
|
+
undo: typing.Optional[bool] = None,
|
|
92
92
|
):
|
|
93
93
|
"""Cut selected text to clipboard
|
|
94
94
|
|
|
95
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
96
|
-
:type execution_context: typing.Union[str, int]
|
|
97
|
-
:type undo: bool
|
|
95
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
96
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
97
|
+
:type undo: typing.Optional[bool]
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
100
|
...
|
|
101
101
|
|
|
102
102
|
def delete(
|
|
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",
|
|
103
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
104
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
105
|
+
undo: typing.Optional[bool] = None,
|
|
106
|
+
type: typing.Optional[typing.Any] = "NEXT_CHARACTER",
|
|
107
107
|
):
|
|
108
108
|
"""Delete text by cursor position
|
|
109
109
|
|
|
110
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
-
:type execution_context: typing.Union[str, int]
|
|
112
|
-
:type undo: bool
|
|
110
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
111
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
112
|
+
:type undo: typing.Optional[bool]
|
|
113
113
|
:param type: Type, Which part of the text to delete
|
|
114
|
-
:type type: typing.Any
|
|
114
|
+
:type type: typing.Optional[typing.Any]
|
|
115
115
|
"""
|
|
116
116
|
|
|
117
117
|
...
|
|
118
118
|
|
|
119
119
|
def duplicate_line(
|
|
120
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
121
|
-
execution_context: typing.Union[str, int] = None,
|
|
122
|
-
undo: bool = None,
|
|
120
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
121
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
122
|
+
undo: typing.Optional[bool] = None,
|
|
123
123
|
):
|
|
124
124
|
"""Duplicate the current line
|
|
125
125
|
|
|
126
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
127
|
-
:type execution_context: typing.Union[str, int]
|
|
128
|
-
:type undo: bool
|
|
126
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
127
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
128
|
+
:type undo: typing.Optional[bool]
|
|
129
129
|
"""
|
|
130
130
|
|
|
131
131
|
...
|
|
132
132
|
|
|
133
133
|
def find(
|
|
134
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
-
execution_context: typing.Union[str, int] = None,
|
|
136
|
-
undo: bool = None,
|
|
134
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
135
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
136
|
+
undo: typing.Optional[bool] = None,
|
|
137
137
|
):
|
|
138
138
|
"""Find specified text
|
|
139
139
|
|
|
140
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
141
|
-
:type execution_context: typing.Union[str, int]
|
|
142
|
-
:type undo: bool
|
|
140
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
141
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
142
|
+
:type undo: typing.Optional[bool]
|
|
143
143
|
"""
|
|
144
144
|
|
|
145
145
|
...
|
|
146
146
|
|
|
147
147
|
def find_set_selected(
|
|
148
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
149
|
-
execution_context: typing.Union[str, int] = None,
|
|
150
|
-
undo: bool = None,
|
|
148
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
149
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
150
|
+
undo: typing.Optional[bool] = None,
|
|
151
151
|
):
|
|
152
152
|
"""Find specified text and set as selected
|
|
153
153
|
|
|
154
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
155
|
-
:type execution_context: typing.Union[str, int]
|
|
156
|
-
:type undo: bool
|
|
154
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
155
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
156
|
+
:type undo: typing.Optional[bool]
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
...
|
|
160
160
|
|
|
161
161
|
def indent(
|
|
162
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
163
|
-
execution_context: typing.Union[str, int] = None,
|
|
164
|
-
undo: bool = None,
|
|
162
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
163
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
164
|
+
undo: typing.Optional[bool] = None,
|
|
165
165
|
):
|
|
166
166
|
"""Indent selected text
|
|
167
167
|
|
|
168
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
169
|
-
:type execution_context: typing.Union[str, int]
|
|
170
|
-
:type undo: bool
|
|
168
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
169
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
170
|
+
:type undo: typing.Optional[bool]
|
|
171
171
|
"""
|
|
172
172
|
|
|
173
173
|
...
|
|
174
174
|
|
|
175
175
|
def indent_or_autocomplete(
|
|
176
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
177
|
-
execution_context: typing.Union[str, int] = None,
|
|
178
|
-
undo: bool = None,
|
|
176
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
177
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
178
|
+
undo: typing.Optional[bool] = None,
|
|
179
179
|
):
|
|
180
180
|
"""Indent selected text or autocomplete
|
|
181
181
|
|
|
182
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
-
:type execution_context: typing.Union[str, int]
|
|
184
|
-
:type undo: bool
|
|
182
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
183
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
184
|
+
:type undo: typing.Optional[bool]
|
|
185
185
|
"""
|
|
186
186
|
|
|
187
187
|
...
|
|
188
188
|
|
|
189
189
|
def insert(
|
|
190
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
191
|
-
execution_context: typing.Union[str, int] = None,
|
|
192
|
-
undo: bool = None,
|
|
190
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
191
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
192
|
+
undo: typing.Optional[bool] = None,
|
|
193
193
|
text: typing.Union[str, typing.Any] = "",
|
|
194
194
|
):
|
|
195
195
|
"""Insert text at cursor position
|
|
196
196
|
|
|
197
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
198
|
-
:type execution_context: typing.Union[str, int]
|
|
199
|
-
:type undo: bool
|
|
197
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
198
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
199
|
+
:type undo: typing.Optional[bool]
|
|
200
200
|
:param text: Text, Text to insert at the cursor position
|
|
201
201
|
:type text: typing.Union[str, typing.Any]
|
|
202
202
|
"""
|
|
@@ -204,228 +204,228 @@ def insert(
|
|
|
204
204
|
...
|
|
205
205
|
|
|
206
206
|
def jump(
|
|
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,
|
|
207
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
208
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
209
|
+
undo: typing.Optional[bool] = None,
|
|
210
|
+
line: typing.Optional[typing.Any] = 1,
|
|
211
211
|
):
|
|
212
212
|
"""Jump cursor to line
|
|
213
213
|
|
|
214
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
215
|
-
:type execution_context: typing.Union[str, int]
|
|
216
|
-
:type undo: bool
|
|
214
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
215
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
216
|
+
:type undo: typing.Optional[bool]
|
|
217
217
|
:param line: Line, Line number to jump to
|
|
218
|
-
:type line: typing.Any
|
|
218
|
+
:type line: typing.Optional[typing.Any]
|
|
219
219
|
"""
|
|
220
220
|
|
|
221
221
|
...
|
|
222
222
|
|
|
223
223
|
def jump_to_file_at_point(
|
|
224
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
225
|
-
execution_context: typing.Union[str, int] = None,
|
|
226
|
-
undo: bool = None,
|
|
224
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
225
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
226
|
+
undo: typing.Optional[bool] = None,
|
|
227
227
|
filepath: typing.Union[str, typing.Any] = "",
|
|
228
|
-
line: typing.Any = 0,
|
|
229
|
-
column: typing.Any = 0,
|
|
228
|
+
line: typing.Optional[typing.Any] = 0,
|
|
229
|
+
column: typing.Optional[typing.Any] = 0,
|
|
230
230
|
):
|
|
231
231
|
"""Jump to a file for the text editor
|
|
232
232
|
|
|
233
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
234
|
-
:type execution_context: typing.Union[str, int]
|
|
235
|
-
:type undo: bool
|
|
233
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
234
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
235
|
+
:type undo: typing.Optional[bool]
|
|
236
236
|
:param filepath: Filepath
|
|
237
237
|
:type filepath: typing.Union[str, typing.Any]
|
|
238
238
|
:param line: Line, Line to jump to
|
|
239
|
-
:type line: typing.Any
|
|
239
|
+
:type line: typing.Optional[typing.Any]
|
|
240
240
|
:param column: Column, Column to jump to
|
|
241
|
-
:type column: typing.Any
|
|
241
|
+
:type column: typing.Optional[typing.Any]
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
...
|
|
245
245
|
|
|
246
246
|
def line_break(
|
|
247
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
248
|
-
execution_context: typing.Union[str, int] = None,
|
|
249
|
-
undo: bool = None,
|
|
247
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
248
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
249
|
+
undo: typing.Optional[bool] = None,
|
|
250
250
|
):
|
|
251
251
|
"""Insert line break at cursor position
|
|
252
252
|
|
|
253
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
254
|
-
:type execution_context: typing.Union[str, int]
|
|
255
|
-
:type undo: bool
|
|
253
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
254
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
255
|
+
:type undo: typing.Optional[bool]
|
|
256
256
|
"""
|
|
257
257
|
|
|
258
258
|
...
|
|
259
259
|
|
|
260
260
|
def line_number(
|
|
261
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
262
|
-
execution_context: typing.Union[str, int] = None,
|
|
263
|
-
undo: bool = None,
|
|
261
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
262
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
263
|
+
undo: typing.Optional[bool] = None,
|
|
264
264
|
):
|
|
265
265
|
"""The current line number
|
|
266
266
|
|
|
267
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
-
:type execution_context: typing.Union[str, int]
|
|
269
|
-
:type undo: bool
|
|
267
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
268
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
269
|
+
:type undo: typing.Optional[bool]
|
|
270
270
|
"""
|
|
271
271
|
|
|
272
272
|
...
|
|
273
273
|
|
|
274
274
|
def make_internal(
|
|
275
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
-
execution_context: typing.Union[str, int] = None,
|
|
277
|
-
undo: bool = None,
|
|
275
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
276
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
277
|
+
undo: typing.Optional[bool] = None,
|
|
278
278
|
):
|
|
279
279
|
"""Make active text file internal
|
|
280
280
|
|
|
281
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
-
:type execution_context: typing.Union[str, int]
|
|
283
|
-
:type undo: bool
|
|
281
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
282
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
283
|
+
:type undo: typing.Optional[bool]
|
|
284
284
|
"""
|
|
285
285
|
|
|
286
286
|
...
|
|
287
287
|
|
|
288
288
|
def move(
|
|
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",
|
|
289
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
290
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
291
|
+
undo: typing.Optional[bool] = None,
|
|
292
|
+
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
293
293
|
):
|
|
294
294
|
"""Move cursor to position type
|
|
295
295
|
|
|
296
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
297
|
-
:type execution_context: typing.Union[str, int]
|
|
298
|
-
:type undo: bool
|
|
296
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
297
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
298
|
+
:type undo: typing.Optional[bool]
|
|
299
299
|
:param type: Type, Where to move cursor to
|
|
300
|
-
:type type: typing.Any
|
|
300
|
+
:type type: typing.Optional[typing.Any]
|
|
301
301
|
"""
|
|
302
302
|
|
|
303
303
|
...
|
|
304
304
|
|
|
305
305
|
def move_lines(
|
|
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",
|
|
306
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
307
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
308
|
+
undo: typing.Optional[bool] = None,
|
|
309
|
+
direction: typing.Optional[typing.Any] = "DOWN",
|
|
310
310
|
):
|
|
311
311
|
"""Move the currently selected line(s) up/down
|
|
312
312
|
|
|
313
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
314
|
-
:type execution_context: typing.Union[str, int]
|
|
315
|
-
:type undo: bool
|
|
313
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
314
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
315
|
+
:type undo: typing.Optional[bool]
|
|
316
316
|
:param direction: Direction
|
|
317
|
-
:type direction: typing.Any
|
|
317
|
+
:type direction: typing.Optional[typing.Any]
|
|
318
318
|
"""
|
|
319
319
|
|
|
320
320
|
...
|
|
321
321
|
|
|
322
322
|
def move_select(
|
|
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",
|
|
323
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
324
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
325
|
+
undo: typing.Optional[bool] = None,
|
|
326
|
+
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
327
327
|
):
|
|
328
328
|
"""Move the cursor while selecting
|
|
329
329
|
|
|
330
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
331
|
-
:type execution_context: typing.Union[str, int]
|
|
332
|
-
:type undo: bool
|
|
330
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
331
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
332
|
+
:type undo: typing.Optional[bool]
|
|
333
333
|
:param type: Type, Where to move cursor to, to make a selection
|
|
334
|
-
:type type: typing.Any
|
|
334
|
+
:type type: typing.Optional[typing.Any]
|
|
335
335
|
"""
|
|
336
336
|
|
|
337
337
|
...
|
|
338
338
|
|
|
339
339
|
def new(
|
|
340
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
341
|
-
execution_context: typing.Union[str, int] = None,
|
|
342
|
-
undo: bool = None,
|
|
340
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
341
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
342
|
+
undo: typing.Optional[bool] = None,
|
|
343
343
|
):
|
|
344
344
|
"""Create a new text data-block
|
|
345
345
|
|
|
346
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
347
|
-
:type execution_context: typing.Union[str, int]
|
|
348
|
-
:type undo: bool
|
|
346
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
347
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
348
|
+
:type undo: typing.Optional[bool]
|
|
349
349
|
"""
|
|
350
350
|
|
|
351
351
|
...
|
|
352
352
|
|
|
353
353
|
def open(
|
|
354
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
355
|
-
execution_context: typing.Union[str, int] = None,
|
|
356
|
-
undo: bool = None,
|
|
354
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
355
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
356
|
+
undo: typing.Optional[bool] = None,
|
|
357
357
|
filepath: typing.Union[str, typing.Any] = "",
|
|
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,
|
|
358
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
359
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
360
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
361
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
362
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
363
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
364
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
365
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
366
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
367
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
368
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
369
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
370
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
371
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
372
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
373
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
374
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
375
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
376
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
377
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
378
|
+
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
379
|
+
sort_method: typing.Optional[typing.Any] = "",
|
|
380
|
+
internal: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
381
381
|
):
|
|
382
382
|
"""Open a new text data-block
|
|
383
383
|
|
|
384
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
385
|
-
:type execution_context: typing.Union[str, int]
|
|
386
|
-
:type undo: bool
|
|
384
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
385
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
386
|
+
:type undo: typing.Optional[bool]
|
|
387
387
|
:param filepath: File Path, Path to file
|
|
388
388
|
:type filepath: typing.Union[str, typing.Any]
|
|
389
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]
|
|
390
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
391
391
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
392
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
392
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
393
393
|
:param filter_blender: Filter .blend files
|
|
394
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
394
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
395
395
|
:param filter_backup: Filter .blend files
|
|
396
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
396
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
397
397
|
:param filter_image: Filter image files
|
|
398
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
398
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
399
399
|
:param filter_movie: Filter movie files
|
|
400
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
400
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
401
401
|
:param filter_python: Filter Python files
|
|
402
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
402
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
403
403
|
:param filter_font: Filter font files
|
|
404
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
404
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
405
405
|
:param filter_sound: Filter sound files
|
|
406
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
406
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
407
407
|
:param filter_text: Filter text files
|
|
408
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
408
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
409
409
|
:param filter_archive: Filter archive files
|
|
410
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
410
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
411
411
|
:param filter_btx: Filter btx files
|
|
412
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
412
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
413
413
|
:param filter_collada: Filter COLLADA files
|
|
414
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
414
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
415
415
|
:param filter_alembic: Filter Alembic files
|
|
416
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
416
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
417
417
|
:param filter_usd: Filter USD files
|
|
418
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
418
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
419
419
|
:param filter_obj: Filter OBJ files
|
|
420
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
420
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
421
421
|
:param filter_volume: Filter OpenVDB volume files
|
|
422
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
422
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
423
423
|
:param filter_folder: Filter folders
|
|
424
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
424
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
425
425
|
:param filter_blenlib: Filter Blender IDs
|
|
426
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
426
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
427
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
|
|
428
|
+
:type filemode: typing.Optional[typing.Any]
|
|
429
429
|
:param display_type: Display Type
|
|
430
430
|
|
|
431
431
|
DEFAULT
|
|
@@ -439,7 +439,7 @@ def open(
|
|
|
439
439
|
|
|
440
440
|
THUMBNAIL
|
|
441
441
|
Thumbnails -- Display files as thumbnails.
|
|
442
|
-
:type display_type: typing.Any
|
|
442
|
+
:type display_type: typing.Optional[typing.Any]
|
|
443
443
|
:param sort_method: File sorting mode
|
|
444
444
|
|
|
445
445
|
DEFAULT
|
|
@@ -456,223 +456,223 @@ def open(
|
|
|
456
456
|
|
|
457
457
|
FILE_SORT_SIZE
|
|
458
458
|
Size -- Sort files by size.
|
|
459
|
-
:type sort_method: typing.Any
|
|
459
|
+
:type sort_method: typing.Optional[typing.Any]
|
|
460
460
|
:param internal: Make Internal, Make text file internal after loading
|
|
461
|
-
:type internal: typing.Union[bool, typing.Any]
|
|
461
|
+
:type internal: typing.Optional[typing.Union[bool, typing.Any]]
|
|
462
462
|
"""
|
|
463
463
|
|
|
464
464
|
...
|
|
465
465
|
|
|
466
466
|
def overwrite_toggle(
|
|
467
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
468
|
-
execution_context: typing.Union[str, int] = None,
|
|
469
|
-
undo: bool = None,
|
|
467
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
468
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
469
|
+
undo: typing.Optional[bool] = None,
|
|
470
470
|
):
|
|
471
471
|
"""Toggle overwrite while typing
|
|
472
472
|
|
|
473
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
474
|
-
:type execution_context: typing.Union[str, int]
|
|
475
|
-
:type undo: bool
|
|
473
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
474
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
475
|
+
:type undo: typing.Optional[bool]
|
|
476
476
|
"""
|
|
477
477
|
|
|
478
478
|
...
|
|
479
479
|
|
|
480
480
|
def paste(
|
|
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,
|
|
481
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
482
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
483
|
+
undo: typing.Optional[bool] = None,
|
|
484
|
+
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
485
485
|
):
|
|
486
486
|
"""Paste text from clipboard
|
|
487
487
|
|
|
488
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
-
:type execution_context: typing.Union[str, int]
|
|
490
|
-
:type undo: bool
|
|
488
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
489
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
490
|
+
:type undo: typing.Optional[bool]
|
|
491
491
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
492
|
-
:type selection: typing.Union[bool, typing.Any]
|
|
492
|
+
:type selection: typing.Optional[typing.Union[bool, typing.Any]]
|
|
493
493
|
"""
|
|
494
494
|
|
|
495
495
|
...
|
|
496
496
|
|
|
497
497
|
def refresh_pyconstraints(
|
|
498
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
499
|
-
execution_context: typing.Union[str, int] = None,
|
|
500
|
-
undo: bool = None,
|
|
498
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
499
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
500
|
+
undo: typing.Optional[bool] = None,
|
|
501
501
|
):
|
|
502
502
|
"""Refresh all pyconstraints
|
|
503
503
|
|
|
504
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
505
|
-
:type execution_context: typing.Union[str, int]
|
|
506
|
-
:type undo: bool
|
|
504
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
505
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
506
|
+
:type undo: typing.Optional[bool]
|
|
507
507
|
"""
|
|
508
508
|
|
|
509
509
|
...
|
|
510
510
|
|
|
511
511
|
def reload(
|
|
512
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
513
|
-
execution_context: typing.Union[str, int] = None,
|
|
514
|
-
undo: bool = None,
|
|
512
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
513
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
514
|
+
undo: typing.Optional[bool] = None,
|
|
515
515
|
):
|
|
516
516
|
"""Reload active text data-block from its file
|
|
517
517
|
|
|
518
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
519
|
-
:type execution_context: typing.Union[str, int]
|
|
520
|
-
:type undo: bool
|
|
518
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
519
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
520
|
+
:type undo: typing.Optional[bool]
|
|
521
521
|
"""
|
|
522
522
|
|
|
523
523
|
...
|
|
524
524
|
|
|
525
525
|
def replace(
|
|
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,
|
|
526
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
527
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
528
|
+
undo: typing.Optional[bool] = None,
|
|
529
|
+
all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
530
530
|
):
|
|
531
531
|
"""Replace text with the specified text
|
|
532
532
|
|
|
533
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
534
|
-
:type execution_context: typing.Union[str, int]
|
|
535
|
-
:type undo: bool
|
|
533
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
534
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
535
|
+
:type undo: typing.Optional[bool]
|
|
536
536
|
:param all: Replace All, Replace all occurrences
|
|
537
|
-
:type all: typing.Union[bool, typing.Any]
|
|
537
|
+
:type all: typing.Optional[typing.Union[bool, typing.Any]]
|
|
538
538
|
"""
|
|
539
539
|
|
|
540
540
|
...
|
|
541
541
|
|
|
542
542
|
def replace_set_selected(
|
|
543
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
544
|
-
execution_context: typing.Union[str, int] = None,
|
|
545
|
-
undo: bool = None,
|
|
543
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
544
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
545
|
+
undo: typing.Optional[bool] = None,
|
|
546
546
|
):
|
|
547
547
|
"""Replace text with specified text and set as selected
|
|
548
548
|
|
|
549
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
550
|
-
:type execution_context: typing.Union[str, int]
|
|
551
|
-
:type undo: bool
|
|
549
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
550
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
551
|
+
:type undo: typing.Optional[bool]
|
|
552
552
|
"""
|
|
553
553
|
|
|
554
554
|
...
|
|
555
555
|
|
|
556
556
|
def resolve_conflict(
|
|
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",
|
|
557
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
558
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
559
|
+
undo: typing.Optional[bool] = None,
|
|
560
|
+
resolution: typing.Optional[typing.Any] = "IGNORE",
|
|
561
561
|
):
|
|
562
562
|
"""When external text is out of sync, resolve the conflict
|
|
563
563
|
|
|
564
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
565
|
-
:type execution_context: typing.Union[str, int]
|
|
566
|
-
:type undo: bool
|
|
564
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
565
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
566
|
+
:type undo: typing.Optional[bool]
|
|
567
567
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
568
|
-
:type resolution: typing.Any
|
|
568
|
+
:type resolution: typing.Optional[typing.Any]
|
|
569
569
|
"""
|
|
570
570
|
|
|
571
571
|
...
|
|
572
572
|
|
|
573
573
|
def run_script(
|
|
574
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
575
|
-
execution_context: typing.Union[str, int] = None,
|
|
576
|
-
undo: bool = None,
|
|
574
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
575
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
576
|
+
undo: typing.Optional[bool] = None,
|
|
577
577
|
):
|
|
578
578
|
"""Run active script
|
|
579
579
|
|
|
580
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
581
|
-
:type execution_context: typing.Union[str, int]
|
|
582
|
-
:type undo: bool
|
|
580
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
581
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
582
|
+
:type undo: typing.Optional[bool]
|
|
583
583
|
"""
|
|
584
584
|
|
|
585
585
|
...
|
|
586
586
|
|
|
587
587
|
def save(
|
|
588
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
589
|
-
execution_context: typing.Union[str, int] = None,
|
|
590
|
-
undo: bool = None,
|
|
588
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
589
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
590
|
+
undo: typing.Optional[bool] = None,
|
|
591
591
|
):
|
|
592
592
|
"""Save active text data-block
|
|
593
593
|
|
|
594
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
595
|
-
:type execution_context: typing.Union[str, int]
|
|
596
|
-
:type undo: bool
|
|
594
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
595
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
596
|
+
:type undo: typing.Optional[bool]
|
|
597
597
|
"""
|
|
598
598
|
|
|
599
599
|
...
|
|
600
600
|
|
|
601
601
|
def save_as(
|
|
602
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
603
|
-
execution_context: typing.Union[str, int] = None,
|
|
604
|
-
undo: bool = None,
|
|
602
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
603
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
604
|
+
undo: typing.Optional[bool] = None,
|
|
605
605
|
filepath: typing.Union[str, typing.Any] = "",
|
|
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] = "",
|
|
606
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
607
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
608
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
609
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
610
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
611
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
612
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
613
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
614
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
615
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
616
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
617
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
618
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
619
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
620
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
621
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
622
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
623
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
624
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
625
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
626
|
+
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
627
|
+
sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
628
628
|
):
|
|
629
629
|
"""Save active text file with options
|
|
630
630
|
|
|
631
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
632
|
-
:type execution_context: typing.Union[str, int]
|
|
633
|
-
:type undo: bool
|
|
631
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
632
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
633
|
+
:type undo: typing.Optional[bool]
|
|
634
634
|
:param filepath: File Path, Path to file
|
|
635
635
|
:type filepath: typing.Union[str, typing.Any]
|
|
636
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]
|
|
637
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
638
638
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
639
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
639
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
640
640
|
:param filter_blender: Filter .blend files
|
|
641
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
641
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
642
642
|
:param filter_backup: Filter .blend files
|
|
643
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
643
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
644
644
|
:param filter_image: Filter image files
|
|
645
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
645
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
646
646
|
:param filter_movie: Filter movie files
|
|
647
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
647
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
648
648
|
:param filter_python: Filter Python files
|
|
649
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
649
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
650
650
|
:param filter_font: Filter font files
|
|
651
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
651
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
652
652
|
:param filter_sound: Filter sound files
|
|
653
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
653
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
654
654
|
:param filter_text: Filter text files
|
|
655
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
655
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
656
656
|
:param filter_archive: Filter archive files
|
|
657
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
657
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
658
658
|
:param filter_btx: Filter btx files
|
|
659
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
659
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
660
660
|
:param filter_collada: Filter COLLADA files
|
|
661
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
661
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
662
662
|
:param filter_alembic: Filter Alembic files
|
|
663
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
663
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
664
664
|
:param filter_usd: Filter USD files
|
|
665
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
665
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
666
666
|
:param filter_obj: Filter OBJ files
|
|
667
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
667
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
668
668
|
:param filter_volume: Filter OpenVDB volume files
|
|
669
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
669
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
670
670
|
:param filter_folder: Filter folders
|
|
671
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
671
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
672
672
|
:param filter_blenlib: Filter Blender IDs
|
|
673
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
673
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
674
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
|
|
675
|
+
:type filemode: typing.Optional[typing.Any]
|
|
676
676
|
:param display_type: Display Type
|
|
677
677
|
|
|
678
678
|
DEFAULT
|
|
@@ -686,158 +686,158 @@ def save_as(
|
|
|
686
686
|
|
|
687
687
|
THUMBNAIL
|
|
688
688
|
Thumbnails -- Display files as thumbnails.
|
|
689
|
-
:type display_type: typing.Any
|
|
689
|
+
:type display_type: typing.Optional[typing.Any]
|
|
690
690
|
:param sort_method: File sorting mode
|
|
691
|
-
:type sort_method: typing.Union[str, int, typing.Any]
|
|
691
|
+
:type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
692
692
|
"""
|
|
693
693
|
|
|
694
694
|
...
|
|
695
695
|
|
|
696
696
|
def scroll(
|
|
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,
|
|
697
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
698
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
699
|
+
undo: typing.Optional[bool] = None,
|
|
700
|
+
lines: typing.Optional[typing.Any] = 1,
|
|
701
701
|
):
|
|
702
702
|
"""Undocumented, consider contributing.
|
|
703
703
|
|
|
704
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
705
|
-
:type execution_context: typing.Union[str, int]
|
|
706
|
-
:type undo: bool
|
|
704
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
705
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
706
|
+
:type undo: typing.Optional[bool]
|
|
707
707
|
:param lines: Lines, Number of lines to scroll
|
|
708
|
-
:type lines: typing.Any
|
|
708
|
+
:type lines: typing.Optional[typing.Any]
|
|
709
709
|
"""
|
|
710
710
|
|
|
711
711
|
...
|
|
712
712
|
|
|
713
713
|
def scroll_bar(
|
|
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,
|
|
714
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
715
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
716
|
+
undo: typing.Optional[bool] = None,
|
|
717
|
+
lines: typing.Optional[typing.Any] = 1,
|
|
718
718
|
):
|
|
719
719
|
"""Undocumented, consider contributing.
|
|
720
720
|
|
|
721
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
722
|
-
:type execution_context: typing.Union[str, int]
|
|
723
|
-
:type undo: bool
|
|
721
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
722
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
723
|
+
:type undo: typing.Optional[bool]
|
|
724
724
|
:param lines: Lines, Number of lines to scroll
|
|
725
|
-
:type lines: typing.Any
|
|
725
|
+
:type lines: typing.Optional[typing.Any]
|
|
726
726
|
"""
|
|
727
727
|
|
|
728
728
|
...
|
|
729
729
|
|
|
730
730
|
def select_all(
|
|
731
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
732
|
-
execution_context: typing.Union[str, int] = None,
|
|
733
|
-
undo: bool = None,
|
|
731
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
732
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
733
|
+
undo: typing.Optional[bool] = None,
|
|
734
734
|
):
|
|
735
735
|
"""Select all text
|
|
736
736
|
|
|
737
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
738
|
-
:type execution_context: typing.Union[str, int]
|
|
739
|
-
:type undo: bool
|
|
737
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
738
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
739
|
+
:type undo: typing.Optional[bool]
|
|
740
740
|
"""
|
|
741
741
|
|
|
742
742
|
...
|
|
743
743
|
|
|
744
744
|
def select_line(
|
|
745
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
746
|
-
execution_context: typing.Union[str, int] = None,
|
|
747
|
-
undo: bool = None,
|
|
745
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
746
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
747
|
+
undo: typing.Optional[bool] = None,
|
|
748
748
|
):
|
|
749
749
|
"""Select text by line
|
|
750
750
|
|
|
751
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
752
|
-
:type execution_context: typing.Union[str, int]
|
|
753
|
-
:type undo: bool
|
|
751
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
752
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
753
|
+
:type undo: typing.Optional[bool]
|
|
754
754
|
"""
|
|
755
755
|
|
|
756
756
|
...
|
|
757
757
|
|
|
758
758
|
def select_word(
|
|
759
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
760
|
-
execution_context: typing.Union[str, int] = None,
|
|
761
|
-
undo: bool = None,
|
|
759
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
760
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
761
|
+
undo: typing.Optional[bool] = None,
|
|
762
762
|
):
|
|
763
763
|
"""Select word under cursor
|
|
764
764
|
|
|
765
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
766
|
-
:type execution_context: typing.Union[str, int]
|
|
767
|
-
:type undo: bool
|
|
765
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
766
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
767
|
+
:type undo: typing.Optional[bool]
|
|
768
768
|
"""
|
|
769
769
|
|
|
770
770
|
...
|
|
771
771
|
|
|
772
772
|
def selection_set(
|
|
773
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
774
|
-
execution_context: typing.Union[str, int] = None,
|
|
775
|
-
undo: bool = None,
|
|
773
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
774
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
775
|
+
undo: typing.Optional[bool] = None,
|
|
776
776
|
):
|
|
777
777
|
"""Set text selection
|
|
778
778
|
|
|
779
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
780
|
-
:type execution_context: typing.Union[str, int]
|
|
781
|
-
:type undo: bool
|
|
779
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
780
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
781
|
+
:type undo: typing.Optional[bool]
|
|
782
782
|
"""
|
|
783
783
|
|
|
784
784
|
...
|
|
785
785
|
|
|
786
786
|
def start_find(
|
|
787
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
788
|
-
execution_context: typing.Union[str, int] = None,
|
|
789
|
-
undo: bool = None,
|
|
787
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
788
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
789
|
+
undo: typing.Optional[bool] = None,
|
|
790
790
|
):
|
|
791
791
|
"""Start searching text
|
|
792
792
|
|
|
793
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
794
|
-
:type execution_context: typing.Union[str, int]
|
|
795
|
-
:type undo: bool
|
|
793
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
794
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
795
|
+
:type undo: typing.Optional[bool]
|
|
796
796
|
"""
|
|
797
797
|
|
|
798
798
|
...
|
|
799
799
|
|
|
800
800
|
def to_3d_object(
|
|
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,
|
|
801
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
802
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
803
|
+
undo: typing.Optional[bool] = None,
|
|
804
|
+
split_lines: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
805
805
|
):
|
|
806
806
|
"""Create 3D text object from active text data-block
|
|
807
807
|
|
|
808
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
809
|
-
:type execution_context: typing.Union[str, int]
|
|
810
|
-
:type undo: bool
|
|
808
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
809
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
810
|
+
:type undo: typing.Optional[bool]
|
|
811
811
|
:param split_lines: Split Lines, Create one object per line in the text
|
|
812
|
-
:type split_lines: typing.Union[bool, typing.Any]
|
|
812
|
+
:type split_lines: typing.Optional[typing.Union[bool, typing.Any]]
|
|
813
813
|
"""
|
|
814
814
|
|
|
815
815
|
...
|
|
816
816
|
|
|
817
817
|
def unindent(
|
|
818
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
819
|
-
execution_context: typing.Union[str, int] = None,
|
|
820
|
-
undo: bool = None,
|
|
818
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
819
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
820
|
+
undo: typing.Optional[bool] = None,
|
|
821
821
|
):
|
|
822
822
|
"""Unindent selected text
|
|
823
823
|
|
|
824
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
825
|
-
:type execution_context: typing.Union[str, int]
|
|
826
|
-
:type undo: bool
|
|
824
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
825
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
826
|
+
:type undo: typing.Optional[bool]
|
|
827
827
|
"""
|
|
828
828
|
|
|
829
829
|
...
|
|
830
830
|
|
|
831
831
|
def unlink(
|
|
832
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
833
|
-
execution_context: typing.Union[str, int] = None,
|
|
834
|
-
undo: bool = None,
|
|
832
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
833
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
834
|
+
undo: typing.Optional[bool] = None,
|
|
835
835
|
):
|
|
836
836
|
"""Unlink active text data-block
|
|
837
837
|
|
|
838
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
839
|
-
:type execution_context: typing.Union[str, int]
|
|
840
|
-
:type undo: bool
|
|
838
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
839
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
840
|
+
:type undo: typing.Optional[bool]
|
|
841
841
|
"""
|
|
842
842
|
|
|
843
843
|
...
|