BlendDataTexts(bpy_struct)

base class — bpy_struct

class bpy.types.BlendDataTexts(bpy_struct)

Collection of texts

new(name)

Add a new text to the main database

Parameters:
  • name (string) – New name for the datablock.
Returns:

New text datablock.

Return type:

Text

remove(text)

Remove a text from the current blendfile.

Parameters:
  • text (Text, (never None)) – Text to remove.
load(filepath)

Add a new text to the main database from a file

Parameters:
  • filepath (string) – path for the datablock.
Returns:

New text datablock.

Return type:

Text

tag(value)

tag

Parameters:
  • value (boolean) – Value

Inherited Properties

Inherited Functions

References

Previous topic

BlendDataSounds(bpy_struct)

Next topic

BlendDataTextures(bpy_struct)