File Object Type

You can refer to this file object type 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 Drawing2D (make sure the library Library.Docs.Objects is included with Include Libaries)
  • To refer to it by its full path, use Library.Docs.Objects.Drawing2D


See also:

A 2D Canvas is the frame type for 2D drawings in Blockpad. It can be a top level frame or a subframe.

2D Canvas supports drawing lines and shapes using point snapping. It is great for problem sketches, diagrams, and layouts.

Also, text lines and dimension labels act like spreadsheet cells, so you can perform calculations and reference values in a drawing.

drawing 1

Add a top level 2D canvas to a file:
  1. Select the insert tool.
  2. Choose 2D Canvas.
  3. Choose a top level placement.
  4. Click OK.

Another option:

  1. Hover over the top level frame list on the left side of the window.
  2. Click the "+" that appears.
  3. Select 2D Canvas.
Insert a 2D Canvas subframe into a file:
  1. While inside a report or multiline cell, select the insert tool.
  2. Choose 2D Canvas.
  3. Choose an appropriate placement.
  4. Click OK.
See also: