Blender Documentation Volume II - Reference Guide: Last modified March 29 2004 S68 | ||
---|---|---|
<<< Previous | Python API Reference | Next >>> |
This object gives access to Texts in Blender.
Method Summary | ||
list | asLines() Retrieve the contents of this Text buffer as a list of strings. | |
| clear() Clear this Text object: its buffer becomes empty. | |
string | getFilename() Get the filename of the file loaded into this Text object. | |
string | getName() Get the name of this Text object. | |
int | getNLines() Get the number of lines in this Text buffer. | |
| set(attribute, value) Set this Text's attributes. | |
| setName(name) Set the name of this Text object. | |
| write(data) Append a string to this Text buffer. |
Class Variable Summary | ||
| filename - The filename of the file loaded into this Text. | |
| mode - The follow_mode flag: if 1 it is 'on'; if 0, 'off'. | |
| name - The Text name. | |
| nlines - The number of lines in this Text. |
asLines() Retrieve the contents of this Text buffer as a list of strings.
|
set(attribute, value) Set this Text's attributes.
|
write(data) Append a string to this Text buffer.
|
<<< Previous | Home | Next >>> |
Class Text | Up | Command Line Arguments |