|
Menu location |
---|
TechDraw → Annotations → Insert Annotation |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
TechDraw RichTextAnnotation |
The TechDraw Annotation tool adds a text block to a drawing page.
Annotation in the drawing page
Modifying the annotation through the Property editor
"
, less than <
, and greater than >
symbols; these must be replaced by HTML escape characters, "
, <
, and >
respectively. See Character encodings in HTML for details.The Annotation inherits all applicable basic View properties except DataScale. Use the DataTextSize property instead.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The New Annotation tool can be used in macros and from the Python console by using the following functions:
anno = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewAnnotation','TestAnno')
anno.Text = ['Different Text']
anno.TextStyle = 'Bold'
rc = page.addView(anno)