Std TextDocument

Description
Std TextDocument creates an object capable of holding arbitrary text. This element can be used to write general information or documentation about the model.

Usage

 * 1) Go to the  menu
 * 2) Double click on the new object created in the tree view to open a tab in which to write text.
 * 3) Add text.
 * 4) Close the tab and save the file when asked.

Scripting
FreeCAD Scripting Basics, and scripted objects.

See Part Feature for the general information on adding objects to a document.

An object is created with the  method of the document. Once a TextDocument exists, its textual information is stored in its attribute. This attribute can be used in other objects, for example, as the string in a.