|
|
| Menu location |
|---|
| TechDraw → Annotations → Insert Rich Text Annotations |
| Workbenches |
| TechDraw |
| Default shortcut |
| None |
| Introduced in version |
| 0.19 |
| See also |
| TechDraw Annotation |
The TechDraw RichTextAnnotation tool adds a formatted annotation block to a Leaderline or a View.
Stand alone RichTextAnnotation
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The RichTextAnnotation tool can be used in macros and from the Python console.
myPage = FreeCAD.ActiveDocument().Page
myBase = FreeCAD.ActiveDocument().View
blockObj = FreeCAD.ActiveDocument.addObject('TechDraw::DrawRichAnno','DrawRichAnno')
FreeCAD.activeDocument().myPage.addView(blockObj)
blockObj.X = 5
blockObj.Y = 5
blockObj.AnnoText = myHTMLText