Std TextDocument/ru

Описание
The Std TextDocument command creates an object capable of holding arbitrary text. This element can be used to write general information or documentation about the model.

Использование

 * 1) Select the  option from the menu.
 * 2) Double-click the newly created object 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.

View

 * : a font name, for example,.
 * : a font size in points, for example,.
 * : it defaults to . If set to the text cannot be edited.
 * : it defaults to . If set to, the text will be highlighted like the Python console.

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.