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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 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 ...
wonho's user avatar
  • 1
1 vote
1 answer
34 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: ...
David Schulz's user avatar
0 votes
0 answers
36 views

Enter key doesn't add new line in text editor or submit command in console

I'm using a custom keymap and while trying to script on Blender for the first time, I found out that the Enter key is not working, that is, it isn't adding new line in the Text Editor and doesn't ...
Amr Khalil's user avatar
0 votes
0 answers
37 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 ...
The Bogwan 09's user avatar
2 votes
1 answer
274 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: ...
sniffingdoggo's user avatar
2 votes
1 answer
649 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?
Pineapple's user avatar
0 votes
0 answers
30 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. ...
richard's user avatar
  • 121
2 votes
1 answer
314 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 &...
GoodNight's user avatar
  • 235
0 votes
0 answers
161 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. ...
fighterpilot's user avatar
0 votes
1 answer
184 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:...
John MC's user avatar
  • 678
2 votes
1 answer
375 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 ...
RBlong2us's user avatar
  • 1,224
1 vote
1 answer
342 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 ...
Noob Cat's user avatar
  • 1,106
2 votes
1 answer
173 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 ?!
AlecDev's user avatar
  • 87
1 vote
0 answers
57 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 ...
Dmitry's user avatar
  • 98
1 vote
1 answer
88 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 ...
jais's user avatar
  • 155
1 vote
1 answer
461 views

Blender 2.8 Text Editor OSL Script Node Update Disabled

I found out what Open Shading Language was today and was excited to try it out, and it was working at first. But at some point, I found that I could no longer press the "Script Node Update" ...
ElliotThomas's user avatar
3 votes
1 answer
705 views

How do I create a text datablock and populate it with text with Python?

How do I create a text in the text editor and populate it with text with python? To create a text datablock, I tried bpy.ops.text.new() and it worked. When I tried ...
user avatar
1 vote
1 answer
92 views

How to render an image through the text editor?

Is it possible to render an image by calling the camera through a command with the text editor? I have a series of meshes that I want to upload into blender and take an picture one at a time. I want ...
rzaratx's user avatar
  • 159
1 vote
1 answer
837 views

How to save multiple blender scripts (text-files) at once?

I want to write a script that saves all the text files inside a Blender file. Is there a way I can access the text files as a list and then select them individually? Heres my script so far: ...
TYLRwithspaces's user avatar
1 vote
1 answer
637 views

Render Function - rename filename

So close yet so far (I think) A function within an addon am creating is suppose to rename the file ouput using tokens. This is based on the Oscurart tools. The projects consists of markers on every ...
Sharl's user avatar
  • 89
0 votes
1 answer
54 views

Script for loop issue

So I should be missing something simple. (Amateur here...) I am testing snippets of code to create an addon. The idea is to create markers on the timeline from a list. The code below works in the ...
Sharl's user avatar
  • 89
1 vote
1 answer
131 views

How do I remove test code that sticks to the Info Panel?

I recently done some work on an app, "Goodies Menu" as you'll see. Every one of those items (add-ons) have some veryatation with their, which is why I suspect their is no where that I can find to ...
Internet Warriors's user avatar
1 vote
0 answers
99 views

The text has some glitches when in camera view and when rendered [2.8]

As you can see, the text has some graphical glitches when in camera view but when not in camera view and when the text is 2D it all looks fine. I'm not sure what the issue here is. I tried extruding ...
Nebula's user avatar
  • 11
3 votes
1 answer
466 views

How and where are the Python keywords assigned a syntax highlighting type in blender?

Blender has a colour assigned for Builtins, Symbol, Special, Preprocessor, Reserved, Comment, String and Numbers. The text editor theme for syntax highlighting While testing importing Vim ...
batFINGER's user avatar
  • 82.5k
1 vote
1 answer
654 views

Using python, how do I delete all text in a text block, without using cut?

I need to delete(or replace) all text, but without using Cut, because it copies the text to the clipboard. How do I do this?
tintwotin's user avatar
  • 2,176
1 vote
1 answer
169 views

BPy add Path in Textfile from Text-Editor

.hi guys i have a problem by set a path in text line. I put in a picture, maybe you understand what I mean. i don't know how to implement the code in such a way that the path is included in the text ...
DevilSam's user avatar
  • 141
0 votes
1 answer
220 views

Editor and ways recommendation for Python addon development

I am a Vim user and generally happy with it but I see some drags with Blender addon development when I use it. What editors and ways do you use to do your Blender development? Vim oriented solutions ...
yarun can's user avatar
  • 408
0 votes
0 answers
70 views

Is it possible to add images in the Text Editor?

A little bit of context: I've beeng working around some "interoperability" between Blender and other software/hardware like: Pure Data, reacTIVision, Arduino, Raspberry Pi, etc. I toyed with doing ...
Javier's user avatar
  • 196
0 votes
1 answer
114 views

How to write a script that executes a list of commands only if a specific object is already inside the scene: Easy question I think!

I was wondering how to write a conditional in a script so that a list of commands runs only if an object IS NOT inside the blender scene currently. For example if "Cube" is already in the scene I ...
Brad Hamilton's user avatar
0 votes
1 answer
2k views

Video Editing - Text Effect Font [duplicate]

Can we change the Text Effect(Video editing) font as of 2.79 version? If not, how can a text created by Text Editor be pulled into the Video Timeline Editor? Thanks, Anand
anand's user avatar
  • 35
2 votes
2 answers
2k views

Is automatic "Reload from disk" confirmation in Text Editor possible?

I use an external editor for my scripting. When I return to Blender I want the script in the text editor to reload my changes. Blender does indeed detect the changes (red button) which is great but it ...
JoelArt's user avatar
  • 175
1 vote
2 answers
66 views

Possible Python Automation With This Particular Material

I just had a quick question. I am starting to get a bit more adequate with Blender in terms of getting to photorealism. In the picture below is a model that I got online and I am wanting to edit the ...
Tyler Dahl's user avatar
0 votes
1 answer
200 views

How do you activate Text Editor in v2.78?

How can I activate the text field in the Text Editor? Video tutorials show more options than I see on my Text Editor ( v2.78 ).
Barrie's user avatar
  • 203
2 votes
1 answer
90 views

Having non-English Text in the addon code of blender [duplicate]

I wanna have Persian text in the addon code of blender.For example I want to use this code: layout.label(text="سلام"). What should I've done? Please help me. ...
user3832258's user avatar
1 vote
0 answers
62 views

thumbnails display mode, can we change pangram?

When I open the font libray, in the thumbnails display mode, I asked me if there is any solution to change the language pangram of the representation the font: I mean: can we change, for exemple, the ...
D_Dan's user avatar
  • 11
2 votes
1 answer
1k views

Run script stored in text editor/blend file from CLI

What is the correct way to run a script internally stored in the blend file from the CLI? I'm trying to run a script I have in the text editor. I have it named "Import" in the text editor. The ...
AkBKukU's user avatar
  • 197
0 votes
1 answer
629 views

i wanted to make horizontal gradient text color?

I was trying to make horizontal gradient text. And I made needed nodes, but nodes didn't color of the text.
Vlad's user avatar
  • 3
2 votes
0 answers
1k views

Problem about text (letter not complete)

I have a problem with the letter "s" and the number "5" (the same form) with this font on Blender :/ It is not complete and don't appeared on my render. [Pardon my English] Thanks
Axel Clergeau's user avatar
0 votes
0 answers
1k views

How do I select and change text

I downloaded a blender intro template for my youtube channel and tried to change the text to my name but I right clicking and pressing tab but I still cant select the text. I need help I am using v2....
Xylene's user avatar
  • 1
0 votes
0 answers
483 views

Keyboard language for Blender is different from the keyboard language in other applications

I've encountered a very weird 'feature'... When I type into text boxes in Blender, it has a different keyboard language layout than my usual one in all other applications on my laptop. (I have a full ...
DoctorWhom's user avatar
4 votes
1 answer
4k views

How do I add text comments to a blender file?

If I select "Text Editor" in the top left corner dropdown, I get some buttons and other control elements that allow add texts, highlight syntax, run scripts.. but where is the text edit area itself? I'...
YakovL's user avatar
  • 497
4 votes
3 answers
134k views

How to prevent indentation errors?

I added a line and am very sure there is no indentation problem. Here is the error report and screenshots of the text so you can see it: Error: File "C:\Users\info\Desktop\Claas UI.blend\Claas_UI_2....
Claas Kuhnen's user avatar
  • 1,717
8 votes
4 answers
5k views

Create subscript text

I am creating some physics animations in Blender and looking for a way to create subscript characters in text objects (for all the indices). The only way I figured out is to place two separate Text ...
user3696412's user avatar
5 votes
2 answers
615 views

Blender text editor and the 'insert' key

I don't know how but in the Text Editor, as I was editing a script, I disabled inserting (i.e. keystrokes overwrite current text instead of inserting a new character). how do I re-enable it? I've ...
Perspketyva's user avatar
2 votes
1 answer
4k views

How to set cursor position in the text editor?

I found bpy.ops.text.set_cursor(), which looks like what I want, however it always sets the cursor to the end of the file. ...
gandalf3's user avatar
  • 155k
3 votes
1 answer
680 views

How do I open JSON files using the Text Editor

I've been working with Sverchok (awesome add-on), which allows you to import/export data in a few formats, including JSON. The import function in Sverchok's node editor only allows you to utilize text ...
Justin Kray's user avatar
3 votes
1 answer
757 views

Printing special characters and latex using python script for geometrical diagram labeling

I am trying to create figures such as this: Or this: This clearly requires text to be linked to objects. In addition, there is a large requirement of special characters which would most easily be ...
chase's user avatar
  • 638
7 votes
3 answers
1k views

Is it possible to drive the contents of an existing text object with a text file?

Recently I have been trying to use Blender to make some screen animation templates. I am running into one major roadblock though in the form of getting large amounts of data into a pre-existing text ...
J Sargent's user avatar
  • 19k
1 vote
1 answer
192 views

Animation with text

I have animation with 3d models and text on same layer. It is possible to move text from x layer to layer which is rendering for a limited time? Rendering process take longer and I don't need text all ...
chrris's user avatar
  • 13
2 votes
0 answers
298 views

Define " as a shortcut

Is it possible to attribute a shortcut has a symbol as the inverted comma or square bracket ? I edit to give a little more information. I created an operator who write me directly in the text éditor <...
pistiwique's user avatar
  • 1,086