Table of Contents

Module: Text ./Text.py

The Blender Text module

This module lets you manipulate the Text buffers inside Blender. Text objects are currently owned by the Text editor in Blender.

Example:

    from Blender import Text
    text = Text.New('Text')  # create new text buffer
    text.write('hello')      # write string
    Text.unlink(text)        # delete


Functions   
New
get
unlink
  New 
New ( name=None )

Creates new empty Text with (optionally given) name and returns it

  get 
get ( name=None )

Returns a Text object with name name if given, None if not existing, or a list of all Text objects in Blender otherwise.

  unlink 
unlink ( text )

Removes the Text text from the Blender text window

Classes   
Text

Wrapper for Text DataBlock


Table of Contents

This document was automatically generated on Mon Feb 25 13:52:14 2002 by HappyDoc version r1_5