Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
49 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 ...
0
votes
0answers
30 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 ...
0
votes
1answer
36 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 ...
0
votes
1answer
353 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
0
votes
2answers
64 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 ...
1
vote
2answers
30 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 ...
0
votes
1answer
63 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 ).
2
votes
1answer
57 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. ...
0
votes
0answers
30 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 ...
1
vote
1answer
321 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 ...
0
votes
1answer
76 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.
1
vote
0answers
214 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
0
votes
0answers
286 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....
0
votes
0answers
168 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 ...
0
votes
1answer
1k 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'...
4
votes
1answer
41k 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....
7
votes
4answers
1k 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 ...
5
votes
1answer
165 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 ...
2
votes
1answer
2k 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. ...
3
votes
1answer
206 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 ...
3
votes
1answer
294 views

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

I am trying to create figures such as this: Or this: CNT http://www.ks.uiuc.edu/Research/nanotube/lattice_combine.jpg This clearly requires text to be linked to objects. In addition, there is a ...
5
votes
3answers
575 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 ...
1
vote
1answer
88 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 ...
2
votes
0answers
281 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 <...
0
votes
0answers
57 views

text and texture not visible in output video

I have created an animated text intro from a blender tutorial but when I try to export it to a video, it only exports the effects I created in "compositing" and not the entire animation with the text ...
1
vote
1answer
155 views

Detect if characters are selected in text editor

Further to my previous question (print number and index of selected lines in text editor), i'd like to know if it's possible to detect if characters are selected in text editor.
2
votes
1answer
924 views

print number and index of selected lines in text editor

I try to improve my "comment", uncomment", "copy" and "cut" command in the text editor and i'd like to know if it was possible to print the number and the index of selected lines in the text editor. I'...
0
votes
1answer
93 views

Select words without indentation in text editor

Currently you can select a line with the select_line command. The problem is that you select the complete line, with the indentations. I'd like to know how I can ...
1
vote
1answer
2k views

A decent IDE / code-editor addon for blender [closed]

Can anyone recommend some editor or IDE addon for making python scripting a little less cumbersome than using the built in text editor? I really miss stuff like suggestion of function names etc. ...
2
votes
1answer
739 views

How to add a panel to the properties region in the Image Editor?

How do I add a panel to the properties region in the image editor? The code below is just a slight modification from the "ui_panel_simple.py" template. I changed the bl_space_type to be the text ...
5
votes
1answer
856 views

How to turn on the horizontal scroll bar in text editor

Is seems strange that the text editor has a vertical scroll bar but not a horizontal one. Bender uses Shift-MMB to 'pan' most views, but I couldn't get it working on the text editor. I don't like '...
0
votes
1answer
111 views

Text appears as string of boxes [duplicate]

When I use the text tool, my letters always appear as boxes on the side menus and do not appear in the render area. In fact, whenever I type in blender I just get a string of boxes. How can I fix ...
4
votes
1answer
508 views

How to switch texts in Text Editor by script

Cannot find proper bpy.ops command to switch texts in Text Editor(normally you do that from area header by clicking and selecting text block). ...
2
votes
1answer
469 views

How to find what text file is open in text editor

I was wondering how to find which text file is open in the text editor. I know you can find a list of the loaded files via bpy.data.texts, but I can't seem to find ...
2
votes
1answer
234 views

Theming the Text Editor selection color

Can the color in the scroll bar for where the active selection is be changed? I have changed the default red selection color, but the indicator in the scroll bar is still red. That indicator in the ...
0
votes
1answer
199 views

How to Create 2-D to 1-D Text Retraction Animation

New Blender user here and I'm trying out a few projects which I judged as "easy" to accomplish, but I'm running into a few hitches at getting exactly what I'm looking for. I want to create an ...
2
votes
1answer
547 views

Script to change Text Editor font display so Symbol Fonts and Extended Characters can be referenced

As asked and answered in a previous question, Blender 2.6 handling of extended characters in font sets is bit awkward, aside from specific special characters The workaround solution is copy pasting ...
3
votes
2answers
755 views

Run an Internal script from a handler

I have a handler scene_update_pre, and I need to run a script when a certain bone is selected. The script is saved as an internal text data block ...
3
votes
1answer
136 views

Is there a way to make a shortcut comment the current line?

I'm used to CtrlD commenting the current line rather than duplicating it. This is easy enough to change in the user preferences, however it only works when there is a highlighted selection. Is it ...
11
votes
3answers
3k views

Is it possible to run a script from an external editor without reloading the file?

I use an external to Blender text editor (vim). I understand I can write in it and then reload file in Blender's text editor. Is there a way to run a script from external editor without this ...
15
votes
4answers
7k views

How can I add text in a non-english language?

How can I add text in Arabic? I get rectangles instead of Arabic letters.
7
votes
2answers
1k views

How to add a new Text Editor template?

In Blender's built-in Text Editor, there's a Templates menu at the bottom with a bunch of pre-built templates for scripting addons. However, I have created a few new templates myself that I use ...