How-to guide·Using BIM.works

Set the scale of a drawing

Give a PDF or DWG drawing its real size from one length you can read on it, or from the scale printed on the sheet, so that measurements on it are in real millimetres, with or without an IFC model.

A PDF shows in the 3D viewer at its paper size. Until it has a scale, a length measured on it reads in the sheet's own units, not in millimetres on site. Drawing scale gives it its real size: click both ends of a dimension you can read on the sheet and type its real length, or type the scale printed in the title block. The scale is stored on the drawing's Version as part of its Alignment, so every user and every viewer measures in real millimetres from then on. No IFC model is needed.

Before you start#

Load the drawing into the 3D viewer. Storing a scale needs write access to the drawing; without it the window offers to use the scale until you close the drawing, without storing it. The tool needs no feature flag.

Set it from a length#

  1. Open the ruler menu in the toolbar of the 3D viewer and choose Drawing scale. The row is there while a PDF or DWG is loaded. The Drawing scale window opens over the model tree, and the bar at the top of the view says what to click.
  2. Click one end of a length you can read on the sheet, such as a dimension line between its ticks, then the other end. Points snap to the lines of the drawing; zoom in and use the magnifier for small ticks. A click on another model places nothing, and the window names that model.
  3. Type the real length under Real length: 4500, 4.5 m, 14'-9" or a sum such as 3600+900. A number without a unit is millimetres.
  4. The drawing shows at that scale at once. Where it is the only model in the view, the view keeps the same picture and only the values change. The window says what the scale becomes: Becomes 1:100.4 · the line measures 4 500 mm.
  5. When the result lies within 2 % of a standard scale, Use 1:100 exactly takes that scale instead, and the window says what the line then measures. Imperial scales (1/4″ = 1′-0″) are offered when the length was typed in feet or inches. For a DWG the window offers unit corrections instead, such as Use ×1 000: drawn in metres.
  6. Apply scale, or Enter, stores the scale. While the window is open, Undo in its footer puts back what the drawing had. Cancel, Escape or the close button put the drawing back without storing anything; while points are being picked, the first Escape only stops picking.

Set it from the printed scale#

Type the scale from the title block, such as 1:100, under Real length; no clicks are needed. A PDF knows its paper size, so this is exact for a sheet printed at its scale. Clicking a dimension afterwards checks it: the window says what the line measures at that scale. A sheet printed to fit smaller paper is not at its printed scale; set it from a length instead. A DWG has no paper size: set its scale from a length.

From a measurement#

A length measured on a PDF that has no scale yet says so in the bar at the top of the view, On …, which has no scale, with Set scale from this. The window then opens with the two points of the measurement, and you type the real length. A two-point length or distance on a drawing also has this button in the ruler menu, next to Zoom to.

Two more ways in: Set scale… in the Alignment section of the drawing's popup, and Drawing scale in Align models when the drawing is the only model loaded.

What the scale changes#

  • Every length, area and angle measured on the drawing is in real units, for every user and in every viewer.
  • Measurements already on the drawing keep to the same lines and show their new values.
  • The scale is part of the drawing's alignment and is applied about the first point you clicked, so a turn or place the drawing has from Align models stays. A new scale does move a drawing that was aligned onto a model off that model, and the window warns about it.
  • To place the sheet under a building afterwards, use Align models: for a drawing that has a scale it chooses Move, turn, which keeps the scale; Move, turn, scale fits a new one from the point pairs instead (Place a drawing on the map).
  • A new version of the same sheet keeps the scale, as it keeps an alignment (later versions).

Warnings#

The window warns, one thing at a time, when:

  • the drawing is aligned onto another model, or has a location copied from one: a new scale moves it off that model and off its place on the map;
  • the result is unlikely, such as 1:45 000: check the unit you typed;
  • the line is shorter than 2 % of the drawing's diagonal: a longer dimension gives a more exact scale.

A DWG#

The scale of a DWG is set in model space. While the viewer shows one of its sheets (a paper-space layout), the window asks to switch to model space first, with Show model space: a sheet's viewports have scales of their own, and the scale holds for the whole drawing. A DWG's scale reads as a factor, such as ×1 000, not as 1:n.

From code#

The window uses the 3D viewer's declared API: startScaleMeasurement for the two clicks, getDrawingPaperUnitMm for 1:n, setModelAlignment to preview and scaleView to keep the picture. scaleAlignment computes the new alignment, and SetAlignment stores it (Set the alignment).

Check#

Measure the dimension you used: it reads the length you typed. Measure another dimension on the sheet: it reads its printed value, within a few millimetres.

Since 3.0