TechDraw Annotation/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/pl |Napraw odniesienia do wymiarów |Dodaj linię odniesienia do widoku |środowisko pracy Rysunek Techniczny |IconL=TechDraw_DimensionRepair.svg |IconR=TechDraw_LeaderLine.svg |IconC=Workbench_TechDraw.svg }}")
(Created page with "{{GuiCommand/pl |Name=TechDraw Annotation |Name/pl=Rysunek Techniczny: Wstaw adnotację |MenuLocation=TechDraw → Adnotacje → Wstaw adnotację |Workbenches=Rysunek Techniczny |SeeAlso=Adnotacja wieloliniowa, Kształt z tekstu }}")
Line 10: Line 10:
}}
}}


{{GuiCommand
{{GuiCommand/pl
|Name=TechDraw Annotation
|Name=TechDraw Annotation
|Name/pl=Rysunek Techniczny: Wstaw adnotację
|MenuLocation=TechDraw → AnnotationsInsert Annotation
|MenuLocation=TechDraw → AdnotacjeWstaw adnotację
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench/pl|Rysunek Techniczny]]
|SeeAlso=[[Draft_Text|Draft Text]], [[Draft_ShapeString|Draft ShapeString]]
|SeeAlso=[[Draft_Text/pl|Adnotacja wieloliniowa]], [[Draft_ShapeString/pl|Kształt z tekstu]]
}}
}}



Revision as of 18:15, 21 July 2023

Rysunek Techniczny: Wstaw adnotację

Lokalizacja w menu
TechDraw → Adnotacje → Wstaw adnotację
Środowisko pracy
Rysunek Techniczny
Domyślny skrót
brak
Wprowadzono w wersji
-
Zobacz także
Adnotacja wieloliniowa, Kształt z tekstu

Description

The TechDraw Annotation tool adds a text block to a drawing page.

Annotation in the drawing page

Usage

  1. If you have multiple drawing pages in your document, you will need to select the desired page in the tree.
  2. Press the Insert Annotation button
  3. 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.
  4. 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, &quot;, &lt;, and &gt; respectively. See Character encodings in HTML for details.

Properties

The Annotation inherits all applicable basic View properties except DANEScale. Use the DANETextSize property instead.

  • DANEText: The text to be displayed.
  • DANEFont: The name of the font to use. Annotation will use the best match of installed fonts.
  • DANETextColor: The color of the text.
  • DANETextSize: The size of the text in mm.
  • DANEMaxWidth: The maximum width of the Annotation block. -1 indicates no maximum width.
  • DANELineSpace: Line spacing adjustment (%).
  • DANETextStyle: "Normal", "Bold", "Italic", "Bold-Italic"

Scripting

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)

Notes