Difference between revisions of "TechDraw Balloon"

From FreeCAD Documentation
Jump to: navigation, search
Line 33: Line 33:
 
[[File:task_balloon.png|center]]
 
[[File:task_balloon.png|center]]
  
== Balloon properties == <!--T:7-->
+
== Balloon with a rectangle shape == <!--T:7-->
 +
 
 +
When using a rectangle shape, separators can be added using "|" in the text.
 +
For example "AAA|TEST|111" gives:
 +
 
 +
[[File:balloon_separator.png]]
  
 
==Properties== <!--T:5-->
 
==Properties== <!--T:5-->

Revision as of 10:59, 24 May 2019

This documentation is not finished. Please help and contribute documentation.

Gui Command explains how tools should be documented. See Draft ShapeString for an example of a well documented tool. Browse Category:UnfinishedDocu to see incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Other languages:
English • ‎français • ‎italiano • ‎русский

TechDraw Balloon.svg TechDraw Balloon

Menu location
TechDraw → Balloon
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19 (dev)
See also
TechDraw New annotation


Description

The Balloon tool can add balloons with leader line in a drawing.

Techdraw balloon.png

How to use

  1. Select the View to which the Balloon will be attached.
  2. Press the TechDraw Balloon.svg Balloon button.
  3. The cursor is now displayed as a balloon icon. Click on the page to place the balloon origin to the desired position.
  4. The balloon bubble may be dragged to the desired position. Use CTRL-drag to move the bubble and the arrow.
  5. You can change balloon properties by double clicking balloon label or balloon object in the tree. This will open the Balloon Task dialog:
Task balloon.png

Balloon with a rectangle shape

When using a rectangle shape, separators can be added using "|" in the text. For example "AAA|TEST|111" gives:

Balloon separator.png

Properties

Data

  • DATAX: Horizontal position of the balloon bubble relative to the View.
  • DATAY: Vertical position of the balloon bubble relative to the View.

View

  • VIEWFont: The name of the font to use for the balloon bubble.
  • VIEWFontsize: Dimension text size in mm.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

The Balloon tool can be used in macros and from the Python console by using the following functions:

bal1 = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewBalloon','Balloon')
rc = page.addView(bal1)


Notes