DrawTextLabelTool

Tool

You can refer to this tool in any formula, macro, module, or other script in Blockpad. You can use either its name or its full path:

  • To refer to it by name, use DrawTextLabelTool (make sure the library Library.Tools.Draw is included with Include Libaries)
  • To refer to it by its full path, use Library.Tools.Draw.DrawTextLabelTool

 

See also:


A text label is a line of text in the 2D canvas frame, with properties similar to a value cell in a spreadsheet.

Text labels are useful to label drawings, write explanations, show values, and perform calculations. Like a spreadsheet cell, text labels can have a formula inside by typing an equals sign at the beginning. Also, if text or a number is typed in, that value can be referenced.

Text Label Animation

Insert a text label:
  1. In a 2D canvas frame, click the Draw Text Label icon.
  2. Select a location for the top left point of the label.
  3. Select a direction for the label. (Horizontal to the right is typical).
  4. Type in a number, text, or a formula.
  5. Click OK or press enter.

Another option:

  1. In a 2D canvas frame, click the insert button.
  2. Select Text Label.
  3. Click OK.
  4. Select a location for the top left point of the label.
  5. Type in text or a formula.
  6. Click OK or press enter.
Notes:
  • Unlike spreadsheet cells, text labels must be named to reference them. This can be done using formula naming (A_1 = 3ft) or using the properties window. Also, if you reference an unnamed text label with click or copy reference, Blockpad will auto-generate a name.
  • Text labels have points that you can snap to, like any other geometry object.
See also: