|
|
| Menu location |
|---|
| TechDraw → Annotations → Rich Text Annotation |
| Workbenches |
| TechDraw |
| Default shortcut |
| None |
| Introduced in version |
| 0.19 |
| See also |
| TechDraw Annotation |
설명
기술도면 서식 있는 주석 도구는 지시선 또는 보기에 서식이 지정된 주석 블록을 추가합니다.
Stand alone RichTextAnnotation
Usage
- If there are multiple drawing pages in the document: optionally activate the desired page by selecting it in the Tree View.
- To attach the RichTextAnnotation to a Leaderline, select the line in the Tree View or on the page.
- There are several ways to invoke the tool:
- Press the
Rich Text Annotation button.
- Select the TechDraw → Annotations →
Rich Text Annotation option from the menu.
- Press the
- If there are multiple drawing pages in the document and you have not yet activated a page, the Page Chooser dialog box opens:
- Select the desired page.
- Press the OK button.
- A task panel opens.
- The task panel allows quick entry of text.
- The Start Rich Text Editor button opens a full featured editor:
- When done, press the
button to save your changes and close the editor.
- When done, press the
- Press the OK button to close the task panel.
Notes
- After creation a RichTextAnnotation can be edited by double clicking it on the page.
Properties
- 데이터X,Y: The location of the block. Relative to the end of the line if attached to a Leaderline, otherwise this is the position on the page.
- 데이터Show Frame: Draws an outline around the block.
- 데이터Max Width: Limits the horizontal size of the block. A value of -1 is for unlimited width.
- 데이터Anno Text: The HTML text of the block.
Scripting
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
이 페이지에서 인용한 것은 https://wiki.freecad.org/TechDraw_RichTextAnnotation