TechDraw: Annotazione
TechDraw Annotation |
Menu location |
---|
TechDraw → Annotations → Insert Annotation |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
Draft Text, Draft ShapeString |
Description
The Annotation tool adds a text block to a drawing page.
Annotation in the drawing page
Usage
- If you have multiple drawing pages in your document, you will need to select the desired page in the tree.
- Press the Insert Annotation button
- A text block containing Default Text will appear on the page. Use the property editor to change the text. Drag the Annotation to the required position.
- You may need to press Refresh and/or Redraw Page to get your text to change.
Modifying the annotation through the property editor
Note: some characters interfere with the internal representation of the Annotation text. Specifically, these are the double quote "
, less than <
, and greater than >
symbols; these must be replaced by HTML escape characters, "
, <
, and >
respectively. See Character encodings in HTML for details.
Properties
The Annotation inherits all applicable basic View properties except DatiScale. Use the DatiTextSize property instead.
- DatiText: The text to be displayed.
- DatiFont: The name of the font to use. Annotation will use the best match of installed fonts.
- DatiTextColor: The color of the text.
- DatiTextSize: The size of the text in mm.
- DatiMaxWidth: The maximum width of the Annotation block. -1 indicates no maximum width.
- DatiLineSpace: Line spacing adjustment (%).
- DatiTextStyle: "Normal", "Bold", "Italic", "Bold-Italic"
Scripting
See also: TechDraw API 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)
Notes
TechDraw
- Pagine: Nuovo disegno standard, Nuovo disegno da modello
- Viste: Vista di oggetto, Vista attiva, Gruppo di proiezioni, Vista di sezione, Dettaglio, Nuova annotazione, Vista di Draft, Vista di Arch, Vista di foglio di calcolo
- Clip: Clip, Aggiungi una vista al gruppo di clip, Rimuovi la vista dal gruppo di clip
- Dimensioni: Lunghezza, Dimensione orizzontale, Dimensione veerticale, Raggio, Diametro, Angolo, Angolo da 3 punti, Link alla dimensione, Pallinatura
- Decorazioni: Tratteggio area, Tratteggio geometrico, Simbolo SVG, Immagine bitmap, Attiva o disattiva la vista cornici
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub