Questions tagged [text-editor]
Questions about Blenders built-in text editor. The text editor is mostly used for developing python scripts, addons, and code for the Blender Game Engine.
68
questions
0
votes
0
answers
18
views
Get access to images paths with external text editor (SublimeText for Example)
I want to quickly manipulate images paths in blender files with SublimeText as lists.
Maybe I can open blend. files like Zip Archives and edit data-blocks as simple text files?
Maybe I can quickly ...
0
votes
1
answer
87
views
How can I change the character width in text editor?
One day I opened Blender, and the text editor character width was diminished. It is hard to read and type on the text editor. I tried to find the menu Paragraph > Character width, but could not ...
1
vote
1
answer
434
views
Python Command to change from English to other language
I am new to Blender Python Programming and tried to switch from English to Chinese using code.
However, I am probably not referencing the correct directory.
This is the code I tried:
...
0
votes
0
answers
62
views
Text Editor, Python Module Won't "Unload"
I am writing a Python script for Blender and I'm using the text editor window to run it.
My code includes a line that imports a module (import ILD_Blender) that I have written and need to trouble ...
2
votes
1
answer
477
views
Does Blender text editor not support custom module importing?
In VSC, this code works
import bpy
from subp.panel import Panel
Panel.test()
However, in the Blender text editor, Suddenly it doesn't work
ModuleNotFoundError: ...
2
votes
1
answer
1k
views
I can't edit a Text object in Blender
I have both tabbed into edit mode (with nothing else selected) and used the dropdown menu.
why won't it let me edit the text?
0
votes
0
answers
63
views
py file in blender wont show its line breaks
I ran into a strange issue and could need some help. A Javascript file writes a python file, that I can use in blender to setup and animate my scene. everything works fine, and as expected on Windows. ...
2
votes
1
answer
633
views
Rename Shape Keys with Python?
I'm trying to go through each shapekey on an object and rename them with script I'd run through the text editor. For example, if I have 3 shapekeys, and I would like to change the names of shapekey 1 &...
0
votes
0
answers
189
views
Random Color to 1 Object
I have one wall in the project I am working on. I want the color of this wall to change when I run the code. I did research but couldn't find it.
...
0
votes
1
answer
474
views
Can i open another script from a script in the same blender file?
I want to open + read another script from myScript in the same Blender file.
e.g. i have a csv (in text editor) and want to read that from a script.
because of the comments it tried now this:
MyScript:...
2
votes
1
answer
543
views
Wrap Text in Text Editor?
I would like to use the text editor to add comments in my blend files. I would like the text to wrap so that it will automatically fit to the size of the text editor window. Is there a way I can do ...
1
vote
1
answer
419
views
Is it possible to edit the selected text via Python in the text editor?
I would like to create some tools for the text editor, for example, I would like to create at this moment a small operator that taking the selected text, transforms it into all lowercase or all ...
2
votes
1
answer
253
views
Change the font in the Sequencer Text Effect with Python code
I need to change the font in the Sequencer Text Effect with Python code if it's possible ?!
1
vote
0
answers
61
views
Update a script for Unwrapping trees using a python script
I was hoping someone in the community will be able to help with this.
A similar question was posted back in 2017 and the user @Rich Sedman answered with a custom made python script that was able to ...
1
vote
1
answer
98
views
How to copy Linesets between scenes?
I want to copy Linesets from one file to another. I appended the required scene from the source file to the target file. Then following THIS ANSWER from blenderartists.org, I tried copy-pasting the ...