How to create a New line in a Text block in Blender software using Python 3.7? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: How to create a New line in a Text block in Blender software using Python 3.7? (/thread-18968.html) |
How to create a New line in a Text block in Blender software using Python 3.7? - starzar - Jun-08-2019 Hi, This question is relevant to Python 3.7 used in Blender software(C++/Python). Blender VideoEditor's "Text Block" only accepts 1 line strings. Using the "EnterKey" for adding another line doesn't work. When a newline character "\n" is used instead, the additional strings automatically gets concatenated at the end of the line instead of being shown on a newline . Example 1
Example 2
On checking in the terminal, Blender shows the text in an escaped format. Terminal
Please let me know ,if there is any way to add a newline .Thanks. (Would have posted the image,but couldn't find a place to upload) |