fake-bpy-module 20240531__py3-none-any.whl → 20240604__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.
- aud/__init__.pyi +4 -4
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -4
- bl_ui/space_sequencer/__init__.pyi +14 -0
- bl_ui/space_userpref/__init__.pyi +234 -0
- bl_ui/space_view3d/__init__.pyi +810 -0
- blf/__init__.pyi +4 -4
- bmesh/ops/__init__.pyi +97 -82
- bmesh/types/__init__.pyi +43 -40
- bmesh/utils/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +152 -152
- bpy/ops/anim/__init__.pyi +216 -216
- bpy/ops/armature/__init__.pyi +192 -192
- bpy/ops/asset/__init__.pyi +64 -64
- bpy/ops/boid/__init__.pyi +32 -32
- bpy/ops/brush/__init__.pyi +36 -36
- bpy/ops/buttons/__init__.pyi +24 -24
- bpy/ops/cachefile/__init__.pyi +20 -20
- bpy/ops/camera/__init__.pyi +8 -8
- bpy/ops/clip/__init__.pyi +368 -368
- bpy/ops/cloth/__init__.pyi +4 -4
- bpy/ops/collection/__init__.pyi +36 -36
- bpy/ops/console/__init__.pyi +84 -84
- bpy/ops/constraint/__init__.pyi +72 -72
- bpy/ops/curve/__init__.pyi +204 -204
- bpy/ops/curves/__init__.pyi +108 -108
- bpy/ops/cycles/__init__.pyi +12 -12
- bpy/ops/dpaint/__init__.pyi +20 -20
- bpy/ops/ed/__init__.pyi +48 -48
- bpy/ops/export_anim/__init__.pyi +4 -4
- bpy/ops/export_scene/__init__.pyi +8 -8
- bpy/ops/extensions/__init__.pyi +130 -110
- bpy/ops/file/__init__.pyi +160 -160
- bpy/ops/fluid/__init__.pyi +56 -56
- bpy/ops/font/__init__.pyi +92 -92
- bpy/ops/geometry/__init__.pyi +40 -40
- bpy/ops/gizmogroup/__init__.pyi +8 -8
- bpy/ops/gpencil/__init__.pyi +600 -600
- bpy/ops/graph/__init__.pyi +260 -260
- bpy/ops/grease_pencil/__init__.pyi +292 -292
- bpy/ops/image/__init__.pyi +192 -192
- bpy/ops/import_anim/__init__.pyi +4 -4
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +8 -8
- bpy/ops/info/__init__.pyi +28 -28
- bpy/ops/lattice/__init__.pyi +32 -32
- bpy/ops/marker/__init__.pyi +44 -44
- bpy/ops/mask/__init__.pyi +156 -156
- bpy/ops/material/__init__.pyi +12 -12
- bpy/ops/mball/__init__.pyi +32 -32
- bpy/ops/mesh/__init__.pyi +652 -652
- bpy/ops/nla/__init__.pyi +156 -156
- bpy/ops/node/__init__.pyi +450 -404
- bpy/ops/object/__init__.pyi +984 -987
- bpy/ops/outliner/__init__.pyi +284 -284
- bpy/ops/paint/__init__.pyi +220 -220
- bpy/ops/paintcurve/__init__.pyi +32 -32
- bpy/ops/palette/__init__.pyi +28 -28
- bpy/ops/particle/__init__.pyi +144 -144
- bpy/ops/pose/__init__.pyi +156 -156
- bpy/ops/poselib/__init__.pyi +36 -36
- bpy/ops/preferences/__init__.pyi +151 -148
- bpy/ops/ptcache/__init__.pyi +28 -28
- bpy/ops/render/__init__.pyi +48 -48
- bpy/ops/rigidbody/__init__.pyi +52 -52
- bpy/ops/scene/__init__.pyi +156 -156
- bpy/ops/screen/__init__.pyi +156 -156
- bpy/ops/script/__init__.pyi +12 -12
- bpy/ops/sculpt/__init__.pyi +144 -144
- bpy/ops/sculpt_curves/__init__.pyi +16 -16
- bpy/ops/sequencer/__init__.pyi +364 -340
- bpy/ops/sound/__init__.pyi +28 -28
- bpy/ops/spreadsheet/__init__.pyi +16 -16
- bpy/ops/surface/__init__.pyi +24 -24
- bpy/ops/text/__init__.pyi +172 -172
- bpy/ops/text_editor/__init__.pyi +4 -4
- bpy/ops/texture/__init__.pyi +16 -16
- bpy/ops/transform/__init__.pyi +111 -108
- bpy/ops/ui/__init__.pyi +132 -132
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +196 -196
- bpy/ops/view2d/__init__.pyi +56 -56
- bpy/ops/view3d/__init__.pyi +268 -268
- bpy/ops/wm/__init__.pyi +475 -448
- bpy/ops/workspace/__init__.pyi +28 -28
- bpy/ops/world/__init__.pyi +8 -8
- bpy/path/__init__.pyi +18 -18
- bpy/props/__init__.pyi +11 -11
- bpy/types/__init__.pyi +2136 -1798
- bpy/utils/__init__.pyi +4 -4
- bpy_extras/anim_utils/__init__.pyi +4 -4
- bpy_extras/io_utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/view3d_utils/__init__.pyi +24 -20
- bpy_types/__init__.pyi +12 -7
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/RECORD +107 -107
- freestyle/types/__init__.pyi +64 -64
- freestyle/utils/__init__.pyi +2 -2
- gpu/matrix/__init__.pyi +15 -6
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +6 -4
- gpu_extras/presets/__init__.pyi +8 -4
- imbuf/__init__.pyi +4 -4
- mathutils/__init__.pyi +292 -187
- mathutils/geometry/__init__.pyi +2 -5
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/top_level.txt +0 -0
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -6,30 +6,30 @@ GenericType1 = typing.TypeVar("GenericType1")
|
|
|
6
6
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
7
7
|
|
|
8
8
|
def autocomplete(
|
|
9
|
-
override_context: dict[str, typing.Any] |
|
|
10
|
-
execution_context:
|
|
9
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
10
|
+
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
):
|
|
13
13
|
"""Show a list of used text in the open document
|
|
14
14
|
|
|
15
|
-
:type override_context: dict[str, typing.Any] |
|
|
16
|
-
:type execution_context:
|
|
15
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
16
|
+
:type execution_context: int | str | None
|
|
17
17
|
:type undo: bool | None
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
def comment_toggle(
|
|
23
|
-
override_context: dict[str, typing.Any] |
|
|
24
|
-
execution_context:
|
|
23
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
24
|
+
execution_context: int | str | None = None,
|
|
25
25
|
undo: bool | None = None,
|
|
26
26
|
*,
|
|
27
27
|
type: str | None = "TOGGLE",
|
|
28
28
|
):
|
|
29
29
|
"""Undocumented, consider contributing.
|
|
30
30
|
|
|
31
|
-
:type override_context: dict[str, typing.Any] |
|
|
32
|
-
:type execution_context:
|
|
31
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
32
|
+
:type execution_context: int | str | None
|
|
33
33
|
:type undo: bool | None
|
|
34
34
|
:param type: Type, Add or remove comments
|
|
35
35
|
:type type: str | None
|
|
@@ -38,16 +38,16 @@ def comment_toggle(
|
|
|
38
38
|
...
|
|
39
39
|
|
|
40
40
|
def convert_whitespace(
|
|
41
|
-
override_context: dict[str, typing.Any] |
|
|
42
|
-
execution_context:
|
|
41
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
42
|
+
execution_context: int | str | None = None,
|
|
43
43
|
undo: bool | None = None,
|
|
44
44
|
*,
|
|
45
45
|
type: str | None = "SPACES",
|
|
46
46
|
):
|
|
47
47
|
"""Convert whitespaces by type
|
|
48
48
|
|
|
49
|
-
:type override_context: dict[str, typing.Any] |
|
|
50
|
-
:type execution_context:
|
|
49
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
50
|
+
:type execution_context: int | str | None
|
|
51
51
|
:type undo: bool | None
|
|
52
52
|
:param type: Type, Type of whitespace to convert to
|
|
53
53
|
:type type: str | None
|
|
@@ -56,22 +56,22 @@ def convert_whitespace(
|
|
|
56
56
|
...
|
|
57
57
|
|
|
58
58
|
def copy(
|
|
59
|
-
override_context: dict[str, typing.Any] |
|
|
60
|
-
execution_context:
|
|
59
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
60
|
+
execution_context: int | str | None = None,
|
|
61
61
|
undo: bool | None = None,
|
|
62
62
|
):
|
|
63
63
|
"""Copy selected text to clipboard
|
|
64
64
|
|
|
65
|
-
:type override_context: dict[str, typing.Any] |
|
|
66
|
-
:type execution_context:
|
|
65
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
66
|
+
:type execution_context: int | str | None
|
|
67
67
|
:type undo: bool | None
|
|
68
68
|
"""
|
|
69
69
|
|
|
70
70
|
...
|
|
71
71
|
|
|
72
72
|
def cursor_set(
|
|
73
|
-
override_context: dict[str, typing.Any] |
|
|
74
|
-
execution_context:
|
|
73
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
74
|
+
execution_context: int | str | None = None,
|
|
75
75
|
undo: bool | None = None,
|
|
76
76
|
*,
|
|
77
77
|
x: typing.Any | None = 0,
|
|
@@ -79,8 +79,8 @@ def cursor_set(
|
|
|
79
79
|
):
|
|
80
80
|
"""Set cursor position
|
|
81
81
|
|
|
82
|
-
:type override_context: dict[str, typing.Any] |
|
|
83
|
-
:type execution_context:
|
|
82
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
83
|
+
:type execution_context: int | str | None
|
|
84
84
|
:type undo: bool | None
|
|
85
85
|
:param x: X
|
|
86
86
|
:type x: typing.Any | None
|
|
@@ -91,30 +91,30 @@ def cursor_set(
|
|
|
91
91
|
...
|
|
92
92
|
|
|
93
93
|
def cut(
|
|
94
|
-
override_context: dict[str, typing.Any] |
|
|
95
|
-
execution_context:
|
|
94
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
95
|
+
execution_context: int | str | None = None,
|
|
96
96
|
undo: bool | None = None,
|
|
97
97
|
):
|
|
98
98
|
"""Cut selected text to clipboard
|
|
99
99
|
|
|
100
|
-
:type override_context: dict[str, typing.Any] |
|
|
101
|
-
:type execution_context:
|
|
100
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
101
|
+
:type execution_context: int | str | None
|
|
102
102
|
:type undo: bool | None
|
|
103
103
|
"""
|
|
104
104
|
|
|
105
105
|
...
|
|
106
106
|
|
|
107
107
|
def delete(
|
|
108
|
-
override_context: dict[str, typing.Any] |
|
|
109
|
-
execution_context:
|
|
108
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
109
|
+
execution_context: int | str | None = None,
|
|
110
110
|
undo: bool | None = None,
|
|
111
111
|
*,
|
|
112
112
|
type: str | None = "NEXT_CHARACTER",
|
|
113
113
|
):
|
|
114
114
|
"""Delete text by cursor position
|
|
115
115
|
|
|
116
|
-
:type override_context: dict[str, typing.Any] |
|
|
117
|
-
:type execution_context:
|
|
116
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
117
|
+
:type execution_context: int | str | None
|
|
118
118
|
:type undo: bool | None
|
|
119
119
|
:param type: Type, Which part of the text to delete
|
|
120
120
|
:type type: str | None
|
|
@@ -123,86 +123,86 @@ def delete(
|
|
|
123
123
|
...
|
|
124
124
|
|
|
125
125
|
def duplicate_line(
|
|
126
|
-
override_context: dict[str, typing.Any] |
|
|
127
|
-
execution_context:
|
|
126
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
127
|
+
execution_context: int | str | None = None,
|
|
128
128
|
undo: bool | None = None,
|
|
129
129
|
):
|
|
130
130
|
"""Duplicate the current line
|
|
131
131
|
|
|
132
|
-
:type override_context: dict[str, typing.Any] |
|
|
133
|
-
:type execution_context:
|
|
132
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
133
|
+
:type execution_context: int | str | None
|
|
134
134
|
:type undo: bool | None
|
|
135
135
|
"""
|
|
136
136
|
|
|
137
137
|
...
|
|
138
138
|
|
|
139
139
|
def find(
|
|
140
|
-
override_context: dict[str, typing.Any] |
|
|
141
|
-
execution_context:
|
|
140
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
141
|
+
execution_context: int | str | None = None,
|
|
142
142
|
undo: bool | None = None,
|
|
143
143
|
):
|
|
144
144
|
"""Find specified text
|
|
145
145
|
|
|
146
|
-
:type override_context: dict[str, typing.Any] |
|
|
147
|
-
:type execution_context:
|
|
146
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
147
|
+
:type execution_context: int | str | None
|
|
148
148
|
:type undo: bool | None
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
...
|
|
152
152
|
|
|
153
153
|
def find_set_selected(
|
|
154
|
-
override_context: dict[str, typing.Any] |
|
|
155
|
-
execution_context:
|
|
154
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
155
|
+
execution_context: int | str | None = None,
|
|
156
156
|
undo: bool | None = None,
|
|
157
157
|
):
|
|
158
158
|
"""Find specified text and set as selected
|
|
159
159
|
|
|
160
|
-
:type override_context: dict[str, typing.Any] |
|
|
161
|
-
:type execution_context:
|
|
160
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
161
|
+
:type execution_context: int | str | None
|
|
162
162
|
:type undo: bool | None
|
|
163
163
|
"""
|
|
164
164
|
|
|
165
165
|
...
|
|
166
166
|
|
|
167
167
|
def indent(
|
|
168
|
-
override_context: dict[str, typing.Any] |
|
|
169
|
-
execution_context:
|
|
168
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
169
|
+
execution_context: int | str | None = None,
|
|
170
170
|
undo: bool | None = None,
|
|
171
171
|
):
|
|
172
172
|
"""Indent selected text
|
|
173
173
|
|
|
174
|
-
:type override_context: dict[str, typing.Any] |
|
|
175
|
-
:type execution_context:
|
|
174
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
175
|
+
:type execution_context: int | str | None
|
|
176
176
|
:type undo: bool | None
|
|
177
177
|
"""
|
|
178
178
|
|
|
179
179
|
...
|
|
180
180
|
|
|
181
181
|
def indent_or_autocomplete(
|
|
182
|
-
override_context: dict[str, typing.Any] |
|
|
183
|
-
execution_context:
|
|
182
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
183
|
+
execution_context: int | str | None = None,
|
|
184
184
|
undo: bool | None = None,
|
|
185
185
|
):
|
|
186
186
|
"""Indent selected text or autocomplete
|
|
187
187
|
|
|
188
|
-
:type override_context: dict[str, typing.Any] |
|
|
189
|
-
:type execution_context:
|
|
188
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
189
|
+
:type execution_context: int | str | None
|
|
190
190
|
:type undo: bool | None
|
|
191
191
|
"""
|
|
192
192
|
|
|
193
193
|
...
|
|
194
194
|
|
|
195
195
|
def insert(
|
|
196
|
-
override_context: dict[str, typing.Any] |
|
|
197
|
-
execution_context:
|
|
196
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
197
|
+
execution_context: int | str | None = None,
|
|
198
198
|
undo: bool | None = None,
|
|
199
199
|
*,
|
|
200
200
|
text: str | typing.Any = "",
|
|
201
201
|
):
|
|
202
202
|
"""Insert text at cursor position
|
|
203
203
|
|
|
204
|
-
:type override_context: dict[str, typing.Any] |
|
|
205
|
-
:type execution_context:
|
|
204
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
205
|
+
:type execution_context: int | str | None
|
|
206
206
|
:type undo: bool | None
|
|
207
207
|
:param text: Text, Text to insert at the cursor position
|
|
208
208
|
:type text: str | typing.Any
|
|
@@ -211,16 +211,16 @@ def insert(
|
|
|
211
211
|
...
|
|
212
212
|
|
|
213
213
|
def jump(
|
|
214
|
-
override_context: dict[str, typing.Any] |
|
|
215
|
-
execution_context:
|
|
214
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
215
|
+
execution_context: int | str | None = None,
|
|
216
216
|
undo: bool | None = None,
|
|
217
217
|
*,
|
|
218
218
|
line: typing.Any | None = 1,
|
|
219
219
|
):
|
|
220
220
|
"""Jump cursor to line
|
|
221
221
|
|
|
222
|
-
:type override_context: dict[str, typing.Any] |
|
|
223
|
-
:type execution_context:
|
|
222
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
223
|
+
:type execution_context: int | str | None
|
|
224
224
|
:type undo: bool | None
|
|
225
225
|
:param line: Line, Line number to jump to
|
|
226
226
|
:type line: typing.Any | None
|
|
@@ -229,8 +229,8 @@ def jump(
|
|
|
229
229
|
...
|
|
230
230
|
|
|
231
231
|
def jump_to_file_at_point(
|
|
232
|
-
override_context: dict[str, typing.Any] |
|
|
233
|
-
execution_context:
|
|
232
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
233
|
+
execution_context: int | str | None = None,
|
|
234
234
|
undo: bool | None = None,
|
|
235
235
|
*,
|
|
236
236
|
filepath: str | typing.Any = "",
|
|
@@ -239,8 +239,8 @@ def jump_to_file_at_point(
|
|
|
239
239
|
):
|
|
240
240
|
"""Jump to a file for the text editor
|
|
241
241
|
|
|
242
|
-
:type override_context: dict[str, typing.Any] |
|
|
243
|
-
:type execution_context:
|
|
242
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
243
|
+
:type execution_context: int | str | None
|
|
244
244
|
:type undo: bool | None
|
|
245
245
|
:param filepath: Filepath
|
|
246
246
|
:type filepath: str | typing.Any
|
|
@@ -253,58 +253,58 @@ def jump_to_file_at_point(
|
|
|
253
253
|
...
|
|
254
254
|
|
|
255
255
|
def line_break(
|
|
256
|
-
override_context: dict[str, typing.Any] |
|
|
257
|
-
execution_context:
|
|
256
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
257
|
+
execution_context: int | str | None = None,
|
|
258
258
|
undo: bool | None = None,
|
|
259
259
|
):
|
|
260
260
|
"""Insert line break at cursor position
|
|
261
261
|
|
|
262
|
-
:type override_context: dict[str, typing.Any] |
|
|
263
|
-
:type execution_context:
|
|
262
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
263
|
+
:type execution_context: int | str | None
|
|
264
264
|
:type undo: bool | None
|
|
265
265
|
"""
|
|
266
266
|
|
|
267
267
|
...
|
|
268
268
|
|
|
269
269
|
def line_number(
|
|
270
|
-
override_context: dict[str, typing.Any] |
|
|
271
|
-
execution_context:
|
|
270
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
271
|
+
execution_context: int | str | None = None,
|
|
272
272
|
undo: bool | None = None,
|
|
273
273
|
):
|
|
274
274
|
"""The current line number
|
|
275
275
|
|
|
276
|
-
:type override_context: dict[str, typing.Any] |
|
|
277
|
-
:type execution_context:
|
|
276
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
277
|
+
:type execution_context: int | str | None
|
|
278
278
|
:type undo: bool | None
|
|
279
279
|
"""
|
|
280
280
|
|
|
281
281
|
...
|
|
282
282
|
|
|
283
283
|
def make_internal(
|
|
284
|
-
override_context: dict[str, typing.Any] |
|
|
285
|
-
execution_context:
|
|
284
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
285
|
+
execution_context: int | str | None = None,
|
|
286
286
|
undo: bool | None = None,
|
|
287
287
|
):
|
|
288
288
|
"""Make active text file internal
|
|
289
289
|
|
|
290
|
-
:type override_context: dict[str, typing.Any] |
|
|
291
|
-
:type execution_context:
|
|
290
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
291
|
+
:type execution_context: int | str | None
|
|
292
292
|
:type undo: bool | None
|
|
293
293
|
"""
|
|
294
294
|
|
|
295
295
|
...
|
|
296
296
|
|
|
297
297
|
def move(
|
|
298
|
-
override_context: dict[str, typing.Any] |
|
|
299
|
-
execution_context:
|
|
298
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
299
|
+
execution_context: int | str | None = None,
|
|
300
300
|
undo: bool | None = None,
|
|
301
301
|
*,
|
|
302
302
|
type: str | None = "LINE_BEGIN",
|
|
303
303
|
):
|
|
304
304
|
"""Move cursor to position type
|
|
305
305
|
|
|
306
|
-
:type override_context: dict[str, typing.Any] |
|
|
307
|
-
:type execution_context:
|
|
306
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
307
|
+
:type execution_context: int | str | None
|
|
308
308
|
:type undo: bool | None
|
|
309
309
|
:param type: Type, Where to move cursor to
|
|
310
310
|
:type type: str | None
|
|
@@ -313,16 +313,16 @@ def move(
|
|
|
313
313
|
...
|
|
314
314
|
|
|
315
315
|
def move_lines(
|
|
316
|
-
override_context: dict[str, typing.Any] |
|
|
317
|
-
execution_context:
|
|
316
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
317
|
+
execution_context: int | str | None = None,
|
|
318
318
|
undo: bool | None = None,
|
|
319
319
|
*,
|
|
320
320
|
direction: str | None = "DOWN",
|
|
321
321
|
):
|
|
322
322
|
"""Move the currently selected line(s) up/down
|
|
323
323
|
|
|
324
|
-
:type override_context: dict[str, typing.Any] |
|
|
325
|
-
:type execution_context:
|
|
324
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
325
|
+
:type execution_context: int | str | None
|
|
326
326
|
:type undo: bool | None
|
|
327
327
|
:param direction: Direction
|
|
328
328
|
:type direction: str | None
|
|
@@ -331,16 +331,16 @@ def move_lines(
|
|
|
331
331
|
...
|
|
332
332
|
|
|
333
333
|
def move_select(
|
|
334
|
-
override_context: dict[str, typing.Any] |
|
|
335
|
-
execution_context:
|
|
334
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
335
|
+
execution_context: int | str | None = None,
|
|
336
336
|
undo: bool | None = None,
|
|
337
337
|
*,
|
|
338
338
|
type: str | None = "LINE_BEGIN",
|
|
339
339
|
):
|
|
340
340
|
"""Move the cursor while selecting
|
|
341
341
|
|
|
342
|
-
:type override_context: dict[str, typing.Any] |
|
|
343
|
-
:type execution_context:
|
|
342
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
343
|
+
:type execution_context: int | str | None
|
|
344
344
|
:type undo: bool | None
|
|
345
345
|
:param type: Type, Where to move cursor to, to make a selection
|
|
346
346
|
:type type: str | None
|
|
@@ -349,22 +349,22 @@ def move_select(
|
|
|
349
349
|
...
|
|
350
350
|
|
|
351
351
|
def new(
|
|
352
|
-
override_context: dict[str, typing.Any] |
|
|
353
|
-
execution_context:
|
|
352
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
353
|
+
execution_context: int | str | None = None,
|
|
354
354
|
undo: bool | None = None,
|
|
355
355
|
):
|
|
356
356
|
"""Create a new text data-block
|
|
357
357
|
|
|
358
|
-
:type override_context: dict[str, typing.Any] |
|
|
359
|
-
:type execution_context:
|
|
358
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
359
|
+
:type execution_context: int | str | None
|
|
360
360
|
:type undo: bool | None
|
|
361
361
|
"""
|
|
362
362
|
|
|
363
363
|
...
|
|
364
364
|
|
|
365
365
|
def open(
|
|
366
|
-
override_context: dict[str, typing.Any] |
|
|
367
|
-
execution_context:
|
|
366
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
367
|
+
execution_context: int | str | None = None,
|
|
368
368
|
undo: bool | None = None,
|
|
369
369
|
*,
|
|
370
370
|
filepath: str | typing.Any = "",
|
|
@@ -394,8 +394,8 @@ def open(
|
|
|
394
394
|
):
|
|
395
395
|
"""Open a new text data-block
|
|
396
396
|
|
|
397
|
-
:type override_context: dict[str, typing.Any] |
|
|
398
|
-
:type execution_context:
|
|
397
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
398
|
+
:type execution_context: int | str | None
|
|
399
399
|
:type undo: bool | None
|
|
400
400
|
:param filepath: File Path, Path to file
|
|
401
401
|
:type filepath: str | typing.Any
|
|
@@ -477,30 +477,30 @@ def open(
|
|
|
477
477
|
...
|
|
478
478
|
|
|
479
479
|
def overwrite_toggle(
|
|
480
|
-
override_context: dict[str, typing.Any] |
|
|
481
|
-
execution_context:
|
|
480
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
481
|
+
execution_context: int | str | None = None,
|
|
482
482
|
undo: bool | None = None,
|
|
483
483
|
):
|
|
484
484
|
"""Toggle overwrite while typing
|
|
485
485
|
|
|
486
|
-
:type override_context: dict[str, typing.Any] |
|
|
487
|
-
:type execution_context:
|
|
486
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
487
|
+
:type execution_context: int | str | None
|
|
488
488
|
:type undo: bool | None
|
|
489
489
|
"""
|
|
490
490
|
|
|
491
491
|
...
|
|
492
492
|
|
|
493
493
|
def paste(
|
|
494
|
-
override_context: dict[str, typing.Any] |
|
|
495
|
-
execution_context:
|
|
494
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
495
|
+
execution_context: int | str | None = None,
|
|
496
496
|
undo: bool | None = None,
|
|
497
497
|
*,
|
|
498
498
|
selection: bool | typing.Any | None = False,
|
|
499
499
|
):
|
|
500
500
|
"""Paste text from clipboard
|
|
501
501
|
|
|
502
|
-
:type override_context: dict[str, typing.Any] |
|
|
503
|
-
:type execution_context:
|
|
502
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
503
|
+
:type execution_context: int | str | None
|
|
504
504
|
:type undo: bool | None
|
|
505
505
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
506
506
|
:type selection: bool | typing.Any | None
|
|
@@ -509,44 +509,44 @@ def paste(
|
|
|
509
509
|
...
|
|
510
510
|
|
|
511
511
|
def refresh_pyconstraints(
|
|
512
|
-
override_context: dict[str, typing.Any] |
|
|
513
|
-
execution_context:
|
|
512
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
513
|
+
execution_context: int | str | None = None,
|
|
514
514
|
undo: bool | None = None,
|
|
515
515
|
):
|
|
516
516
|
"""Refresh all pyconstraints
|
|
517
517
|
|
|
518
|
-
:type override_context: dict[str, typing.Any] |
|
|
519
|
-
:type execution_context:
|
|
518
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
519
|
+
:type execution_context: int | str | None
|
|
520
520
|
:type undo: bool | None
|
|
521
521
|
"""
|
|
522
522
|
|
|
523
523
|
...
|
|
524
524
|
|
|
525
525
|
def reload(
|
|
526
|
-
override_context: dict[str, typing.Any] |
|
|
527
|
-
execution_context:
|
|
526
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
527
|
+
execution_context: int | str | None = None,
|
|
528
528
|
undo: bool | None = None,
|
|
529
529
|
):
|
|
530
530
|
"""Reload active text data-block from its file
|
|
531
531
|
|
|
532
|
-
:type override_context: dict[str, typing.Any] |
|
|
533
|
-
:type execution_context:
|
|
532
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
533
|
+
:type execution_context: int | str | None
|
|
534
534
|
:type undo: bool | None
|
|
535
535
|
"""
|
|
536
536
|
|
|
537
537
|
...
|
|
538
538
|
|
|
539
539
|
def replace(
|
|
540
|
-
override_context: dict[str, typing.Any] |
|
|
541
|
-
execution_context:
|
|
540
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
541
|
+
execution_context: int | str | None = None,
|
|
542
542
|
undo: bool | None = None,
|
|
543
543
|
*,
|
|
544
544
|
all: bool | typing.Any | None = False,
|
|
545
545
|
):
|
|
546
546
|
"""Replace text with the specified text
|
|
547
547
|
|
|
548
|
-
:type override_context: dict[str, typing.Any] |
|
|
549
|
-
:type execution_context:
|
|
548
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
549
|
+
:type execution_context: int | str | None
|
|
550
550
|
:type undo: bool | None
|
|
551
551
|
:param all: Replace All, Replace all occurrences
|
|
552
552
|
:type all: bool | typing.Any | None
|
|
@@ -555,30 +555,30 @@ def replace(
|
|
|
555
555
|
...
|
|
556
556
|
|
|
557
557
|
def replace_set_selected(
|
|
558
|
-
override_context: dict[str, typing.Any] |
|
|
559
|
-
execution_context:
|
|
558
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
559
|
+
execution_context: int | str | None = None,
|
|
560
560
|
undo: bool | None = None,
|
|
561
561
|
):
|
|
562
562
|
"""Replace text with specified text and set as selected
|
|
563
563
|
|
|
564
|
-
:type override_context: dict[str, typing.Any] |
|
|
565
|
-
:type execution_context:
|
|
564
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
565
|
+
:type execution_context: int | str | None
|
|
566
566
|
:type undo: bool | None
|
|
567
567
|
"""
|
|
568
568
|
|
|
569
569
|
...
|
|
570
570
|
|
|
571
571
|
def resolve_conflict(
|
|
572
|
-
override_context: dict[str, typing.Any] |
|
|
573
|
-
execution_context:
|
|
572
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
573
|
+
execution_context: int | str | None = None,
|
|
574
574
|
undo: bool | None = None,
|
|
575
575
|
*,
|
|
576
576
|
resolution: str | None = "IGNORE",
|
|
577
577
|
):
|
|
578
578
|
"""When external text is out of sync, resolve the conflict
|
|
579
579
|
|
|
580
|
-
:type override_context: dict[str, typing.Any] |
|
|
581
|
-
:type execution_context:
|
|
580
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
581
|
+
:type execution_context: int | str | None
|
|
582
582
|
:type undo: bool | None
|
|
583
583
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
584
584
|
:type resolution: str | None
|
|
@@ -587,36 +587,36 @@ def resolve_conflict(
|
|
|
587
587
|
...
|
|
588
588
|
|
|
589
589
|
def run_script(
|
|
590
|
-
override_context: dict[str, typing.Any] |
|
|
591
|
-
execution_context:
|
|
590
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
591
|
+
execution_context: int | str | None = None,
|
|
592
592
|
undo: bool | None = None,
|
|
593
593
|
):
|
|
594
594
|
"""Run active script
|
|
595
595
|
|
|
596
|
-
:type override_context: dict[str, typing.Any] |
|
|
597
|
-
:type execution_context:
|
|
596
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
597
|
+
:type execution_context: int | str | None
|
|
598
598
|
:type undo: bool | None
|
|
599
599
|
"""
|
|
600
600
|
|
|
601
601
|
...
|
|
602
602
|
|
|
603
603
|
def save(
|
|
604
|
-
override_context: dict[str, typing.Any] |
|
|
605
|
-
execution_context:
|
|
604
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
605
|
+
execution_context: int | str | None = None,
|
|
606
606
|
undo: bool | None = None,
|
|
607
607
|
):
|
|
608
608
|
"""Save active text data-block
|
|
609
609
|
|
|
610
|
-
:type override_context: dict[str, typing.Any] |
|
|
611
|
-
:type execution_context:
|
|
610
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
611
|
+
:type execution_context: int | str | None
|
|
612
612
|
:type undo: bool | None
|
|
613
613
|
"""
|
|
614
614
|
|
|
615
615
|
...
|
|
616
616
|
|
|
617
617
|
def save_as(
|
|
618
|
-
override_context: dict[str, typing.Any] |
|
|
619
|
-
execution_context:
|
|
618
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
619
|
+
execution_context: int | str | None = None,
|
|
620
620
|
undo: bool | None = None,
|
|
621
621
|
*,
|
|
622
622
|
filepath: str | typing.Any = "",
|
|
@@ -645,8 +645,8 @@ def save_as(
|
|
|
645
645
|
):
|
|
646
646
|
"""Save active text file with options
|
|
647
647
|
|
|
648
|
-
:type override_context: dict[str, typing.Any] |
|
|
649
|
-
:type execution_context:
|
|
648
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
649
|
+
:type execution_context: int | str | None
|
|
650
650
|
:type undo: bool | None
|
|
651
651
|
:param filepath: File Path, Path to file
|
|
652
652
|
:type filepath: str | typing.Any
|
|
@@ -711,16 +711,16 @@ def save_as(
|
|
|
711
711
|
...
|
|
712
712
|
|
|
713
713
|
def scroll(
|
|
714
|
-
override_context: dict[str, typing.Any] |
|
|
715
|
-
execution_context:
|
|
714
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
715
|
+
execution_context: int | str | None = None,
|
|
716
716
|
undo: bool | None = None,
|
|
717
717
|
*,
|
|
718
718
|
lines: typing.Any | None = 1,
|
|
719
719
|
):
|
|
720
720
|
"""Undocumented, consider contributing.
|
|
721
721
|
|
|
722
|
-
:type override_context: dict[str, typing.Any] |
|
|
723
|
-
:type execution_context:
|
|
722
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
723
|
+
:type execution_context: int | str | None
|
|
724
724
|
:type undo: bool | None
|
|
725
725
|
:param lines: Lines, Number of lines to scroll
|
|
726
726
|
:type lines: typing.Any | None
|
|
@@ -729,16 +729,16 @@ def scroll(
|
|
|
729
729
|
...
|
|
730
730
|
|
|
731
731
|
def scroll_bar(
|
|
732
|
-
override_context: dict[str, typing.Any] |
|
|
733
|
-
execution_context:
|
|
732
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
733
|
+
execution_context: int | str | None = None,
|
|
734
734
|
undo: bool | None = None,
|
|
735
735
|
*,
|
|
736
736
|
lines: typing.Any | None = 1,
|
|
737
737
|
):
|
|
738
738
|
"""Undocumented, consider contributing.
|
|
739
739
|
|
|
740
|
-
:type override_context: dict[str, typing.Any] |
|
|
741
|
-
:type execution_context:
|
|
740
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
741
|
+
:type execution_context: int | str | None
|
|
742
742
|
:type undo: bool | None
|
|
743
743
|
:param lines: Lines, Number of lines to scroll
|
|
744
744
|
:type lines: typing.Any | None
|
|
@@ -747,86 +747,86 @@ def scroll_bar(
|
|
|
747
747
|
...
|
|
748
748
|
|
|
749
749
|
def select_all(
|
|
750
|
-
override_context: dict[str, typing.Any] |
|
|
751
|
-
execution_context:
|
|
750
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
751
|
+
execution_context: int | str | None = None,
|
|
752
752
|
undo: bool | None = None,
|
|
753
753
|
):
|
|
754
754
|
"""Select all text
|
|
755
755
|
|
|
756
|
-
:type override_context: dict[str, typing.Any] |
|
|
757
|
-
:type execution_context:
|
|
756
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
757
|
+
:type execution_context: int | str | None
|
|
758
758
|
:type undo: bool | None
|
|
759
759
|
"""
|
|
760
760
|
|
|
761
761
|
...
|
|
762
762
|
|
|
763
763
|
def select_line(
|
|
764
|
-
override_context: dict[str, typing.Any] |
|
|
765
|
-
execution_context:
|
|
764
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
765
|
+
execution_context: int | str | None = None,
|
|
766
766
|
undo: bool | None = None,
|
|
767
767
|
):
|
|
768
768
|
"""Select text by line
|
|
769
769
|
|
|
770
|
-
:type override_context: dict[str, typing.Any] |
|
|
771
|
-
:type execution_context:
|
|
770
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
771
|
+
:type execution_context: int | str | None
|
|
772
772
|
:type undo: bool | None
|
|
773
773
|
"""
|
|
774
774
|
|
|
775
775
|
...
|
|
776
776
|
|
|
777
777
|
def select_word(
|
|
778
|
-
override_context: dict[str, typing.Any] |
|
|
779
|
-
execution_context:
|
|
778
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
779
|
+
execution_context: int | str | None = None,
|
|
780
780
|
undo: bool | None = None,
|
|
781
781
|
):
|
|
782
782
|
"""Select word under cursor
|
|
783
783
|
|
|
784
|
-
:type override_context: dict[str, typing.Any] |
|
|
785
|
-
:type execution_context:
|
|
784
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
785
|
+
:type execution_context: int | str | None
|
|
786
786
|
:type undo: bool | None
|
|
787
787
|
"""
|
|
788
788
|
|
|
789
789
|
...
|
|
790
790
|
|
|
791
791
|
def selection_set(
|
|
792
|
-
override_context: dict[str, typing.Any] |
|
|
793
|
-
execution_context:
|
|
792
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
793
|
+
execution_context: int | str | None = None,
|
|
794
794
|
undo: bool | None = None,
|
|
795
795
|
):
|
|
796
796
|
"""Set text selection
|
|
797
797
|
|
|
798
|
-
:type override_context: dict[str, typing.Any] |
|
|
799
|
-
:type execution_context:
|
|
798
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
799
|
+
:type execution_context: int | str | None
|
|
800
800
|
:type undo: bool | None
|
|
801
801
|
"""
|
|
802
802
|
|
|
803
803
|
...
|
|
804
804
|
|
|
805
805
|
def start_find(
|
|
806
|
-
override_context: dict[str, typing.Any] |
|
|
807
|
-
execution_context:
|
|
806
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
807
|
+
execution_context: int | str | None = None,
|
|
808
808
|
undo: bool | None = None,
|
|
809
809
|
):
|
|
810
810
|
"""Start searching text
|
|
811
811
|
|
|
812
|
-
:type override_context: dict[str, typing.Any] |
|
|
813
|
-
:type execution_context:
|
|
812
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
813
|
+
:type execution_context: int | str | None
|
|
814
814
|
:type undo: bool | None
|
|
815
815
|
"""
|
|
816
816
|
|
|
817
817
|
...
|
|
818
818
|
|
|
819
819
|
def to_3d_object(
|
|
820
|
-
override_context: dict[str, typing.Any] |
|
|
821
|
-
execution_context:
|
|
820
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
821
|
+
execution_context: int | str | None = None,
|
|
822
822
|
undo: bool | None = None,
|
|
823
823
|
*,
|
|
824
824
|
split_lines: bool | typing.Any | None = False,
|
|
825
825
|
):
|
|
826
826
|
"""Create 3D text object from active text data-block
|
|
827
827
|
|
|
828
|
-
:type override_context: dict[str, typing.Any] |
|
|
829
|
-
:type execution_context:
|
|
828
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
829
|
+
:type execution_context: int | str | None
|
|
830
830
|
:type undo: bool | None
|
|
831
831
|
:param split_lines: Split Lines, Create one object per line in the text
|
|
832
832
|
:type split_lines: bool | typing.Any | None
|
|
@@ -835,28 +835,28 @@ def to_3d_object(
|
|
|
835
835
|
...
|
|
836
836
|
|
|
837
837
|
def unindent(
|
|
838
|
-
override_context: dict[str, typing.Any] |
|
|
839
|
-
execution_context:
|
|
838
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
839
|
+
execution_context: int | str | None = None,
|
|
840
840
|
undo: bool | None = None,
|
|
841
841
|
):
|
|
842
842
|
"""Unindent selected text
|
|
843
843
|
|
|
844
|
-
:type override_context: dict[str, typing.Any] |
|
|
845
|
-
:type execution_context:
|
|
844
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
845
|
+
:type execution_context: int | str | None
|
|
846
846
|
:type undo: bool | None
|
|
847
847
|
"""
|
|
848
848
|
|
|
849
849
|
...
|
|
850
850
|
|
|
851
851
|
def unlink(
|
|
852
|
-
override_context: dict[str, typing.Any] |
|
|
853
|
-
execution_context:
|
|
852
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
853
|
+
execution_context: int | str | None = None,
|
|
854
854
|
undo: bool | None = None,
|
|
855
855
|
):
|
|
856
856
|
"""Unlink active text data-block
|
|
857
857
|
|
|
858
|
-
:type override_context: dict[str, typing.Any] |
|
|
859
|
-
:type execution_context:
|
|
858
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
859
|
+
:type execution_context: int | str | None
|
|
860
860
|
:type undo: bool | None
|
|
861
861
|
"""
|
|
862
862
|
|