Text and dimensions
The stroke font
BadBit CAD texts use its own stroke font, designed for CAD: each letter is made of lines and arcs, like the single-line fonts of drafting programs. That is why text stays sharp at any zoom, looks the same with or without a graphics card and plots with a single pen pass. It has the letters of Portuguese and Spanish (accents, ç, ñ, ¿, ¡) and the engineering symbols: °, ±, Ø (diameter), ², ³, µ, ×. Accents are typed as in any program: ´ and then a gives á; ~ and a, ã.
Besides the stroke font, text can use the TrueType and OpenType fonts installed on the computer (Arial, Calibri, Helvetica...), chosen in the text style (see STYLE). The letters of these fonts come out filled, with the font's own metrics (without kerning, as in AutoCAD: each letter takes up its own advance), the Portuguese and Spanish accents and whatever symbols the font has (°, ±, ², ³; the diameter %%c comes out as the font's ∅ or, without it, as Ø, as in AutoCAD). They look smooth up close and light from afar: the curve of each letter is rebuilt with the precision of the zoom, like circles. The text of dimensions, leaders (MLEADER and QLEADER), the geometric tolerance frame (TOLERANCE) and block attributes also uses the text style's font and comes out filled, including inside blocks and external references; the tolerance symbols (⌖, ⏥, ⌀, Ⓜ...) stay in the stroke font, as AutoCAD does with the GDT font.
In the stroke font (and in AutoCAD SHX fonts), the text height is the height of the capital letters. In TrueType fonts, as in AutoCAD, the height is that of the font's A: capitals come out at the text height (in Arial, the A has exactly that height and the O goes slightly beyond it), and accents and tall letters may go beyond it. The box of a TrueType text (the extents of ZOOM Extents) runs from the start to the end of the letter advances and from the font's descender to its ascender, also as in AutoCAD; the Center and Right justifications count from that box, and Middle centers on the height of the drawn letters. So a drawing made in AutoCAD with Arial opens in BadBit CAD with the texts the same size and in the same place. The height is the same for TEXT and MTEXT, like AutoCAD's TEXTSIZE: it starts at 0.25 m, changes with the Height option of both commands or with the TEXTSIZE variable, and is remembered for the next texts — unless the current text style has a fixed height (see STYLE). At the start of each command, the command line shows the style and height the text will have (Current text style: "Standard" Text height: 0.250 m); in a layout (on paper), the height is in sheet millimeters, like the prompt (Text height: 2.50 mm). In MTEXT, the rectangle gives the width of the block, not the height of the letters.
MTEXT (alias T, MT)
Multiline text, the most used kind, as in AutoCAD. It is what the Text button on the Annotation panel opens (its small arrow also gives Single Line Text):
- First corner and opposite corner of a rectangle;
- the text, typed directly in the rectangle, in the drawing: words wrap on their own at its width. The block keeps the height of the rectangle (the "defined height", seen in Properties in AutoCAD) and only grows downward when the text goes past it. Enter starts another paragraph; Ctrl+Enter (Cmd+Enter on the Mac) or a click outside finishes; Esc cancels. The arrow keys move through the lines, and the other editing keys are the same as in TEXT.
Before the opposite corner, the options:
- Height (
H, orA): the height of the letters; - Justify (
J): the alignment point of the block, one of the nine (TL, TC, TR, ML, MC, MR, BL, BC, BR); the default is top left, at the first corner; - Line spacing (
L, orE): the type, At least (A, the default) or Exactly (E), and the factor (1xis normal;1.5x, one and a half times) or the distance between lines; - Rotation (
R): the angle of the block; - Style (
S): the name of the text style (?lists the styles in the drawing); it becomes the current one; - Width (
W): the typed width, instead of the opposite corner.
The values are remembered for the next one. A block with no text is not created.
With TrueType and SHX fonts, MTEXT is laid out by the drawn letters, as in AutoCAD: each line puts the letters flush against the alignment side (or centers them), the first line touches the top of the block and the bottom of the block is the bottom of the letters of the last line; a word fits on the line when its letters fit within the width (not the advance of the last letter); a justified paragraph stretches the spaces until the letters reach the right side; spaces at the end of the line do not count. Text with mixed fonts (TrueType with SHX, or two TrueType fonts) follows the same rule. In columns, each column does the same: the line moves to the next column when the bottom of its letters goes past the column height, and in MTEXT attached at the middle or bottom each column aligns by the height of its own letters. The alignment point counts from the height of the lines, not from the drawn rectangle (the defined height does not change where the text is).
MTEXT is selected by the box of its letters: a window catches the text when it surrounds all the letters (even if the MTEXT rectangle is wider) and a crossing catches it when it touches the outline of any letter, as in AutoCAD (this also applies to TEXT). ZOOM Extents counts the letters, not the rectangle.

To change the text later, double-click it (see TEXTEDIT). The properties palette shows the contents (the running text, without the formatting codes), the style, the font, the alignment, the height, the rotation, the width and the spacing, and changes the alignment, height, rotation and width. When the pieces of text have different fonts or heights, the font and the height appear as mixed; typing a height changes the height of the text, and the pieces follow in the same proportion.
Formatting pieces of text: the Text Editor
While a multiline text is being edited in the drawing (MTEXT, TEXTEDIT of an MTEXT, a table cell, the text of a leader or of a multiline attribute), the Text Editor palette appears next to the drawing, like the contextual tab of the AutoCAD editor. Each change applies to the selected piece of text; with no selection, it applies to what is typed next (until the cursor moves).
- Style: the text style of the whole MTEXT.
- Font: the font of the piece of text (the stroke font or an installed TrueType font).
- Height: the height of the letters of the piece; the line with larger letters becomes taller and farther from the one above (At least spacing), and letters of different heights stay on the same baseline.
- B, I, U, O, S: bold (Ctrl+B), italic (Ctrl+I), underline (Ctrl+U), overline and strikethrough; on the Mac, Cmd. The stroke font has no bold or italic, like AutoCAD SHX fonts.
- Color: the color of the piece (the text's own, ByLayer, ByBlock or AutoCAD colors 1 to 9).
- Paragraph: the alignment of the selected paragraphs (Left, Center, Right, Justify, Distribute; with none, the alignment point of the block applies) and bulleted, numbered and lettered lists (the bullet hangs in the indent and the numbering continues on its own).
- Stack: the selection
1/2becomes a stacked fraction with a bar;1#2, a diagonal fraction;1^2, a tolerance (one above the other, without a bar). With the cursor next to a fraction, the same button unstacks it. The fraction moves like a single letter. - Symbol: degrees, plus/minus, diameter, almost equal, angle, delta, not equal, identity, ohm, micro, squared, cubed, subscript 2 and the non-breaking space.
- Find and Replace: inside the text being edited, with Find next, Replace and Replace all; the replacement keeps the formatting of the replaced word.
- Undo and Redo (Ctrl+Z and Ctrl+Y) undo inside the editor, without leaving the text; the whole text is still a single undo step in the drawing.
Copying and pasting within BadBit CAD carries the formatting (a bold piece stays bold); other programs receive plain text. The text is stored the way AutoCAD stores it, with the formatting codes ({\fArial|b1;Título}, \H2x;, \C1;, \L, \S1/2;, \pxqc;...): DXF and DWG open and save the same formatted text, and an AutoCAD file with formatted text opens with its formatting.



Columns
The text of an MTEXT can flow in columns, as in AutoCAD. In the Text Editor palette, the Columns group has:
- No Columns: the text in a single block (the default).
- Dynamic Columns › Auto Height or Manual Height: columns appear as the text grows. With auto height, all of them have the height of the MTEXT rectangle (the defined height); when the text goes past it, it continues at the top of the next column. With manual height, each column keeps its own height.
- Static Columns › 2 to 6: the number of columns is fixed and all have the same height; with no defined height, BadBit CAD divides the text equally among them. Text that does not fit stays in the last one.
- Column Settings…: the dialog with the Column Type, Auto Height (dynamic), Number of Columns (static), Column Height, Column Width, Gutter and Total Width.
Each column has the width of the MTEXT and the columns sit side by side with the gutter between them: two 10 m columns with a 2 m gutter start at 0 and at 12 m, and the block is 22 m wide. When columns are turned on, the gutter starts at five times the text height. The MTEXT Properties show the Column Type, Number of Columns, Auto Height, Gutter and Column Height (the column width is the Width), all editable.
Columns go into the .bbd, DXF and DWG the way AutoCAD stores them: from AutoCAD 2018 onward, in the MTEXT itself; in versions 2000 to 2013, the main MTEXT carries the text of the first column and each following column is an MTEXT linked to it, which BadBit CAD joins back into a single MTEXT on opening.



Paragraph: space before and after and line spacing
The Paragraph… button on the palette opens the Paragraph dialog, like the AutoCAD one, for the selected paragraphs (or the one at the cursor):
- Tab: the type (Left, Center, Right, Decimal), the Position and Add; the list of the paragraph's stops, each one with Remove.
- Paragraph Spacing: the space Before and After the paragraph. Between two paragraphs, the space is the after of the upper one plus the before of the lower one, added to the line spacing.
- Paragraph Line Spacing: From the text (that of the MTEXT), Multiple (times single spacing, which grows with the largest letter on the line), Exactly (the distance between baselines, always the same) or At least (the given distance, or more if the letters need it).
The distances in the dialog are in drawing units; in the text, they are stored in text heights, with the AutoCAD codes (\pxb0.5,a1,se2;): the paragraph follows the height when the text is scaled.

Tabs and the ruler
A tab (Tab in the text) takes what follows to the next stop of the paragraph; with no stops, there is one every four text heights. As in AutoCAD, a stop can be:
- left: the text starts at the stop;
- center: the text is centered on it;
- right: the text ends at it;
- decimal: the decimal separator of the number (the comma or the period, whichever comes first) sits at the stop; with no separator, like right.
While the MTEXT is being edited, the tab ruler appears above it, with a mark at every text height, the indents of the paragraph at the cursor (the upper triangle is the first-line indent; the lower one, the left indent) and the stops. The button to the left of the ruler shows the type of new stops and changes at each click (left, center, right, decimal). A click on the ruler creates a stop of that type there; dragging a stop moves it; dragging a stop off the ruler deletes it. Everything applies to the selected paragraphs and is undone with Ctrl+Z inside the editor.

Background mask
The background mask (AutoCAD's BACKGROUNDMASK) paints the MTEXT rectangle and hides what was drawn beneath it: a line that passes through the text disappears behind the letters. The Background Mask… button on the palette opens the dialog:
- Use background mask: turns it on and off;
- Border offset factor: from 1 to 5 (the default is 1.5); 1 is flush with the text block, and each additional unit widens the mask by one text height on each side (1.5 widens it by half a height);
- Fill Color: Use drawing background color (on screen, the background color of the drawing area; on a sheet, the white of the paper) or a color.
The mask appears on screen (GPU and CPU) and in plots, with the letters on top of it. In Properties, Background Mask turns it on and off. It goes into the .bbd, and into AutoCAD DXF and DWG from 2004 onward (earlier versions have no mask).


TEXT (DTEXT, alias DT)
Single-line text, like the AutoCAD TEXT:
- Start point of the text (the justification point, if it is not Left);
- Height (typed or pointed from the point; Enter repeats the last one);
- Rotation angle (Enter repeats the last one);
- The text, typed directly in the drawing, as in AutoCAD: the cursor blinks in the text itself, the arrow keys, Home and End move through it (with Shift, they select), Backspace and Delete erase, Ctrl+A (Cmd on the Mac) selects everything, and copy, cut and paste work. Here the space is a letter; it does not confirm. Enter creates the line and moves down to the next one; Enter on an empty line ends; a click outside the text also confirms the line. A U undoes all the lines of the command.
Options before the point:
- Justify (
J): Left, Center, Right, Middle and the nine points of the box (TL, TC, TR, ML, MC, MR, BL, BC, BR: top, middle and bottom; left, center and right). With Align, the text goes between two points and the height changes to fit; with Fit, also between two points, but with the given height and the width adjusted. - Style (
S): the name of the text style (?lists the styles in the drawing, with the font, height, width factor and obliquing angle of each one); it becomes the current one. With a fixed-height style, TEXT does not ask for the height: the rotation comes after the point.
The height, rotation and justification are remembered for the next text. Enter instead of the start point continues below the last text, as in AutoCAD: the command goes straight to typing, one line below, with the same height, rotation and justification.
AutoCAD control codes, typed in the text (in TEXT, MTEXT and TEXTEDIT):
| Code | Becomes |
|---|---|
%%d | ° (degree) |
%%p | ± (plus/minus) |
%%c | ⌀ (diameter) |
%%% | % |
%%nnn | the character with code nnn (for example, %%065 is A) |
%%u | turns underline on and off (TEXT only) |
%%o | turns overline on and off (TEXT only) |
The symbols replace the code when the line is confirmed; underline and overline appear while you type.

%%c, %%d, %%p and %%u: the diameter, the degree, the plus/minus and the underline.
Text has an insertion snap (the justification point). It is selected by clicking inside its box, goes into a window when the whole letters are inside (the box of the letters, not of the font) and is caught by a crossing that touches the outline of any letter, as in AutoCAD. MOVE, COPY, ROTATE, SCALE, ARRAY and STRETCH (by the point) work on it. MIRROR follows the MIRRTEXT variable (see MIRROR). The grip is at the justification point (and at the second point of Align and Fit). The properties palette and Quick Properties show the contents, the style, the justification, the height, the rotation, the width factor, the obliquing and whether the text is upside down; the palette changes the style (the list of styles in the drawing), the obliquing (up to 85° each way), the width factor and upside down, as in AutoCAD. Changing a text's style brings in the width factor and obliquing of the new style and, if it has a fixed height, the height as well. Changing the justification there leaves the text in place and moves the point, as in AutoCAD.
Single-line text also takes part in parametric drawing, as in AutoCAD: geometric constraints use its baseline (parallel, perpendicular, collinear, horizontal, vertical) and its text point (the justification point; coincident, fix). The text does not stretch: held by the baseline, it rotates around the point; held by the point, it moves along without rotating (see the parametric drawing chapter).
On the ribbon, Single Line Text is under the small arrow of the Text button on the Annotation panel of the Home tab.
STYLE (alias ST)
Text styles, as in AutoCAD: each text and each multiline text uses a style, which gives the font, the height (0 lets TEXT ask; greater than 0 fixes the height of new texts), the width factor (below 1 narrows the letters, above 1 widens them; from 0.01 to 100), the obliquing angle (the slant, up to 85° each way) and the Upside down and Backwards effects (single-line text only, as in AutoCAD). Every drawing has the Standard style, which cannot be renamed or deleted; an old drawing, from before styles existed, opens with it.
The font is BadBit CAD's own stroke font (badbit) or a TrueType/OpenType font installed on the computer: BadBit CAD looks in the system font folders (on macOS, Windows and Linux) and in the fonts folder next to the program. For TrueType fonts, the Font Style chooses Regular, Bold, Italic or Bold Italic (only those the family has); for the stroke font it is disabled. Height, width factor, obliquing angle, upside down and backwards work the same way in both.
A drawing made on another computer may use a font that is not installed on this one. As in AutoCAD, BadBit CAD draws those texts with a similar font (a common sans-serif one, such as Arial; with no TrueType at all, the stroke font) and warns once on the command line: Font "Font X" not found: using "Arial" instead. The name of the original font stays stored in the style and in the file: opened again on a computer that has the font, the text is shown in it again. The Text Style dialog shows the missing font in the list and says which one is being used.
The command opens the Text Style dialog:
- on the left, the list of the drawing's Styles; a click marks the style and shows its values (right-clicking a name gives Rename). At the top, the current style;
- in the middle, the Font (the Font Name, with the stroke font and the installed TrueType fonts in alphabetical order, and the Font Style), the Size (the height) and the Effects, with the Preview below, which changes as you make adjustments (filled, for TrueType);
- on the right, Set Current (the marked style becomes the style of the next texts, the TEXTSTYLE variable), New... (asks for the name, suggesting
style1,style2..., and creates it from the marked one) and Delete. Delete does not remove Standard, the current style or a style used by any text, and the dialog says why; - Apply saves the changes to the style and updates the texts that use the style (the font, the width factor and the obliquing; the fixed height and the effects apply to new texts) and the dimensions whose dimension style uses that text style, all in a single undo step. Closing the dialog, or marking another style, with changes still to apply asks whether to save them.
Creating, changing and deleting a style are each an undo step (U or Ctrl+Z). The current style belongs to the drawing and is saved in the file, as in AutoCAD; it can also be changed with the TEXTSTYLE variable (TEXTSTYLE and the name) or with the Current text style list on the Annotation panel of the ribbon, next to the Text button. With a narrow window, the panel becomes compact and the list goes away; STYLE remains on the open panel (the small arrow of the Annotation title).




-STYLE (alias -ST) does the same through the command line, as in AutoCAD: the style name (a new name creates the style from the current one; ? lists), the font, the height, the width factor, the obliquing angle, Backwards? and Upside down? [Yes (Y)/No (N)]. Enter accepts the value between < >; at the end, the style becomes the current one. The font is typed by the family name (Arial), by the family with the style at the end (Arial Bold, Arial Bold Italic; in Portuguese, Arial Negrito Itálico also works) or by the file (arialbd.ttf), as in AutoCAD; badbit is the stroke font. A font installed while BadBit CAD is open works without restarting: when the name is not found, -STYLE searches the font folders again. A font that is not installed is refused with the message font not found and the prompt continues.
A TEXT with a TrueType font is selected by clicking inside its box, like any text, and has the Insertion snap at its point. EXPLODE turns a TrueType TEXT into the outlines of its letters, as closed polylines (like TXTEXP from the AutoCAD Express Tools; the inside of the "O" becomes a separate polyline); one with the stroke font does not explode, like TEXT in AutoCAD. MTEXT explodes, as in AutoCAD, into one TEXT per piece of each line, with the font, height and color of the piece (unformatted text gives one TEXT per line); underlines and fraction bars become lines. A justified paragraph comes out without the stretched spaces, each line aligned by the alignment point of the MTEXT, and a distributed one comes out centered, also as in AutoCAD.
TEXTEDIT (alias ED, DDEDIT) and double-click
To change what is written, double-click the text (with no command active), or use TEXTEDIT and click it. Editing happens in the drawing itself, as in AutoCAD: the text comes in fully selected (typing replaces everything) and the cursor blinks in it; the same keys as in TEXT apply here, and a click inside the text puts the cursor there. Enter confirms, and the command asks for another text (Enter again ends). Esc cancels: the text goes back to what it was. A click outside the text also confirms. Each edited text is a single undo step; Undo (U, or D), at the command prompt, removes the last edit. With a text already selected, TEXTEDIT goes straight into it.

Find and replace (FIND)
The FIND command opens the find and replace dialog, like the AutoCAD one: the string to find, the replacement text and whether case matters. Find selects the TEXTs and MTEXTs that contain the string and frames all of them on the screen; Replace All replaces the string in all of them at once, in a single undo step. In formatted MTEXT, the search is in the running text (formatting codes do not count) and the replacement keeps the word's formatting. Accents count (searching for "acao" does not find "ação").

Dimensions
BadBit CAD dimensions follow those of AutoCAD: the same commands, aliases, prompts and options (the option letters are the AutoCAD ones: Mtext, Text, Angle...; in the Portuguese and Spanish interface they appear in parentheses after the translated word, as in Texto (T)). A dimension is a single object, which stores the definition points (the origins of the extension lines, a point on the dimension line and, if you moved it, the location of the text), the dimension style and the text. Everything you see is derived from that each time it is drawn: the extension lines (which start slightly away from the origin and go slightly past the dimension line), the dimension line, the arrowheads and the text with the measurement, in the text style of the dimension style, centered above the line and aligned with it. Moving, copying, rotating, scaling and mirroring the dimension move its points, and the measurement follows (scaling changes the measurement; the text and arrowheads stay the size set by the style, as in AutoCAD). When the text does not fit between the extension lines, it goes outside, past the second one; when the arrowheads do not fit, they flip outside.
The drawing is in meters: with the Standard style, 3 is written 3,00. During each command, the dimension appears in the preview following the cursor until the location is clicked; afterwards, the command line states its text (Dimension text = 3,00). Each dimension is an undo step (in DIMCONTINUE, DIMBASELINE and DIM, the whole command is a single step, and the Undo option (U) removes the last dimension of the command).

DIMLINEAR (alias DLI)
The linear dimension: horizontal, vertical or rotated.
- First extension line origin or Enter to select the object (a line, an arc, a circle or a polyline segment gives both origins; on a circle, the ends of the diameter in the direction of the dimension);
- Second extension line origin;
- Dimension line location. As in AutoCAD, the cursor position chooses the direction: above or below the origins, the dimension is horizontal (it measures Δx); to the side, vertical (it measures Δy).
At the location prompt, these options apply:
- Mtext (
M) and Text (T): the dimension text.<>inside it is the measurement (<> typ.gives3,00 typ.); Enter keeps the measurement; a text without<>replaces the measurement; a single space leaves the dimension with no text. The codes%%c(⌀),%%d(°) and%%p(±) work; - Angle (
A): the angle of the text; - Horizontal (
H) and Vertical (V): fix the direction, wherever the cursor is; - Rotated (
R): the angle of the dimension line (the dimension measures in its direction).

DIMALIGNED (alias DAL)
The aligned dimension: the same prompts as DIMLINEAR (with Enter to select the object), but the dimension line stays parallel to the two origins and measures the distance between them. Options: Mtext (M), Text (T) and Angle (A).
DIMRADIUS (alias DRA) and DIMDIAMETER (alias DDI)
Select arc or circle (or an arc segment of a polyline) and the dimension line location, with the Mtext, Text and Angle options. The measurement comes out with the AutoCAD prefix: R for the radius (R1,50) and ⌀ for the diameter (⌀2,40). With the cursor outside the curve, the leader runs from the arrowhead, on the curve, to the text, and the center gets the center mark (its size is the style's); inside, the line passes through the center (the diameter has both arrowheads).
DIMANGULAR (alias DAN)
Select arc, circle, line, or <specify vertex>:
- two lines (or straight polyline segments): the angle between them. The two lines form four sectors; the one on the side where you place the dimension arc is used (the same pair gives 30° or 150°);
- an arc: its angle, with the vertex at the center;
- a circle: the clicked point is the first endpoint; then, the second;
- Enter: the three points, vertex, first and second endpoint; the side of the dimension arc chooses the angle or what is left to 360°.
Then the dimension arc line location, with Mtext, Text and Angle. The angle comes out in degrees (90°), at the style's angular precision.
DIMARC (alias DAR)
The length of an arc (or of an arc segment of a polyline): select the arc and the dimension location. The extension lines point toward the center and the dimension arc follows the arc; the measurement comes with the arc symbol in front (⌒1,57 on an arc of radius 1 and 90°, which measures π/2).
At the location prompt, besides Mtext, Text and Angle:
- Partial (
P): dimensions only a portion of the arc. Click the first and second point of the portion (both on the arc, or brought to it) and return to the dimension location; the measurement is that of the portion; - Leader (
L): a leader with an arrowhead runs from the text to the arc, as in AutoCAD (useful when the dimension is far away). The arrowhead is the style's leader arrowhead (DIMLDRBLK). With the leader on, the option becomes No leader (N), which removes it.
DIMJOGGED (alias DJO, JOG)
The jogged radius, for arcs whose center is far away (off the sheet, or too far for the leader to reach it), as in AutoCAD:
- Select arc or circle;
- Center location override: the point the leader starts from, instead of the real center;
- Dimension line location (with Mtext, Text and Angle): the direction of the leader and the location of the text;
- Jog location: where the leader makes its zigzag.
The measurement is the real radius (R9,28), with the R prefix. The jog angle is the style's (Radius jog angle, DIMJOGANG, 45° in Standard). The grips move the center override, the text and the jog. In the Properties palette, the type appears as Jogged radius.

DIMORDINATE (alias DOR)
The coordinate of a point measured from the drawing origin: the feature location and the leader endpoint. As in AutoCAD, the direction of the leader chooses what is measured: going up or down, the X coordinate (X datum); to the side, the Y. Xdatum (X) and Ydatum (Y) fix it; Mtext, Text and Angle also work. When the leader endpoint is not aligned with the point, the leader makes the AutoCAD jog.
DIMCONTINUE (alias DCO) and DIMBASELINE (alias DBA)
Chains of dimensions from the last dimension created (linear, aligned, angular or ordinate) or from a chosen one (Select, S, or Enter). Each point gives a new dimension:
- in DIMCONTINUE, the new one starts from the second extension line of the previous one, on the same dimension line;
- in DIMBASELINE, all start from the same origin (the first extension line of the base), each dimension line offset from the previous one by the style's baseline spacing (DIMDLI).
When choosing the starting dimension, the extension line nearest the click is the origin. Undo (U) removes the last one; Enter goes back to asking for the starting dimension, and another Enter ends.
DIM (the smart dimension)
It is the large Dimension button on the Annotation panel. Move the cursor over an object and the preview already shows the right type of dimension: on a line, the aligned one (with the cursor away from it, the horizontal or vertical one); on a circle, the diameter; on an arc, the radius. Click the object and then the location. On a line, clicking another line makes the angular dimension between the two; on a circle or arc, Radius (R) and Diameter (D) switch the type; text aNgle (N), Mtext and Text also work. With no object under the click, it is the first origin of a linear dimension. DIM keeps asking for dimensions until Enter; at the first prompt, Angular (A), Baseline (B), Continue (C) and Ordinate (O) go to those commands, and Undo (U) removes the last dimension.

The small arrow of the Dimension button lists the types (Linear, Aligned, Angular, Arc Length, Radius, Diameter, Ordinate and Jogged); the open Annotation panel (the small arrow of the title) has STYLE, DIMSTYLE, MLEADERSTYLE, MLEADER, MLEADEREDIT, QLEADER, QDIM, TOLERANCE, DIMCONTINUE and DIMBASELINE. Each button has a tooltip with the animation of the command.
QDIM (quick dimensions)
Dimensions a whole selection at once, like the AutoCAD QDIM. Select geometry to dimension (lines, polylines, arcs and circles; a window works) and Enter. The points that count are the ends of lines and arcs, the vertices of polylines and the centers of circles; points at the same position along the dimension are entered only once. Then the dimension line position, with the preview of all the dimensions following the cursor (as with linear dimensions, above or below gives horizontal ones; to the side, vertical ones):
- Continuous (
C, the default): one dimension between each pair of neighboring points, in series; - Baseline (
B): all from the first point (or from the datum point), each one offset from the previous one by the style's baseline spacing; - Ordinate (
O): the coordinate of each point from the datum point (without it, from the drawing origin); - Radius (
R) and Diameter (D): one dimension on each arc and circle in the selection; - datumPoint (
P): the point from which the baseline and the ordinates start.
The chosen mode is remembered for the next QDIM, as in AutoCAD. All the dimensions go into a single undo step, and the command line says how many were created. QDIM dimensions are associative (with DIMASSOC 2): each one is linked to the points it measured.

Associative dimensions (DIMASSOC)
As in AutoCAD (DIMASSOC 2, the default), a dimension made on the points of an object stays linked to it: the end or midpoint of a line, the vertex of a polyline, the center, the quadrant or a point on the curve of a circle or arc, the intersection of two objects, a point (POINT) and the insertion point of a text or block. Only through object snaps, as in AutoCAD: what gets linked is a point that came from an object snap (endpoint, midpoint, center, quadrant, intersection, node, insertion, nearest) and the object selected in the command (the Enter of DIMLINEAR and DIMALIGNED, the object click in DIM, the arc or circle of the radius, diameter and DIMJOGGED, the lines of the angular dimension, the objects of QDIM). A typed point (even if it falls exactly on the end of a line), a free click (with object snap off, F3) and the grid snap (F9) do not link: the dimension stays loose. With one point from an object snap and the other typed, the dimension is partially associative. In continued and baseline dimensions, the origin that comes from the previous dimension is linked if it was linked there. When the object changes (MOVE, ROTATE, SCALE, MIRROR, STRETCH, grips, the Properties palette...), the dimension is rebuilt with the new points, in the same undo step: a U brings back the object and the dimension together. The dimension keeps the same offset from the object, and the measurement follows.
Since 2027.0.0-beta.11
Any point on the object (the Nearest snap, NEA): a dimension to the middle of a wall, away from the ends and the midpoint, is linked too, on a line, an arc, a circle, an ellipse or a polyline segment. The point keeps the proportion at which it lies on the object (on a polyline segment, the proportion along the segment; on a circle, the angle): moving, rotating or scaling the object takes the point along; stretching the object keeps the point at the same proportion (3 m from the start of a 10 m wall stretched to 20 m, it goes to 6 m), as in AutoCAD. Stretching only the dimension along the object keeps the link at the new point. In automation, a point given by coordinates that falls exactly on an object, without being an endpoint, midpoint or intersection, links the same way (in the dimension operations and in DIMREASSOCIATE with points; in a command point, only with the Nearest snap on in OSMODE).

What breaks the link:
- moving only the dimension (moving, rotating or stretching the dimension without the object): the point that left the object is released, as in AutoCAD; the one that still falls on the object stays linked. Copying the dimension together with the object links the copy to the copy of the object;
- erasing the object: the dimension stays where it is, loose;
- DIMDISASSOCIATE (alias
DDA): select the dimensions and Enter; the command line says how many were released.
DIMREASSOCIATE (alias DRE) links again (or links a loose dimension for the first time). Select the dimensions and Enter; for each one, an X marks the definition point being asked for, and the prompt is that of the point: first extension line origin, second and the next definition point (on a radius or diameter, the arc or circle). Click the point on the object with an object snap (a typed point does not link) or Enter to skip to the next one. At the first prompt, Select object (S) links a linear or aligned dimension to both ends of a line at once.
The DIMASSOC variable chooses how new dimensions are created: 2 associative (the default), 1 loose (not linked, but still a single object) and 0 exploded (the parts of the dimension, lines, arrowheads and text, as separate objects). The Properties palette shows the Associative row: Yes, Partial (only some points linked) or No; LIST also tells.
In DXF and DWG the link is stored the way AutoCAD stores it (the dimension's DIMASSOC object), in any version (DWG 2000 to 2018, DXF 2000 to 2018): opening the file in AutoCAD and moving the object, the dimension follows. An associative dimension from an AutoCAD file opens linked in BadBit CAD and stays linked when saved in another version. A Nearest point is stored as AutoCAD's Nearest snap, with its position on the object; on a spline it stays in BadBit CAD only (it is saved loose in the file).
Editing dimensions: grips, DIMEDIT and DIMTEDIT
With the dimension selected, the grips are at the origins, at the ends of the dimension line and on the text. The grip of an origin changes what is measured; the one at an end of the dimension line moves the line away or closer; the text grip takes the text to where you click, and the dimension line goes along (AutoCAD's DIMTMOVE 0). On a radius or diameter, the grip rotates the leader around the center. STRETCH stretches the dimension by the points inside the crossing window. EXPLODE turns the dimension into its parts: lines, arcs, the arrowheads (polylines whose width tapers to the tip, shown filled on screen) and the text.
DIMEDIT (alias DED): [Home/New/Rotate/Oblique] <Home> and then the objects. Home returns the text to the style's location and rotation; New replaces the text (<> is the measurement; Enter goes back to the measurement); Rotate rotates the text; Oblique slants the extension lines of linear and aligned dimensions to the given angle (Enter: normal again).
DIMTEDIT (alias DIMTED): select dimension and the new location for the text, which follows the cursor; or Left (L), Right (R) and Center (C) along the dimension line, Home (H) and Angle (A).
The Properties palette and Quick Properties show the dimension type, the dimension style (the list changes the style), the measurement, the text override, the text height, the arrow size, the extension line offset, the text gap, the overall scale (DIMSCALE), whether the dimension has overrides, whether it is associative and whether it is annotative (with its scales). Changing the height, arrowhead, offset, gap or scale there puts an override on the chosen dimensions only (the style does not change; see Style overrides, below). LIST shows the type, the style, the text, the measurement and whether the dimension is associative.
DIMBREAK interrupts the lines of the dimension (the dimension line and the extension lines) where other objects cross, as in AutoCAD, so the dimension does not clash with the drawing. Select dimension to add/remove break or [Multiple]; then, select object to break dimension or [Auto/Manual/Remove] <Auto>:
- clicking an object breaks only where it crosses;
- Auto (
A, or Enter): wherever any object crosses; - Manual (
M): the first and second break point, brought to the nearest line of the dimension; - Remove (
R): removes all the breaks of the dimension.
With Multiple, choose the dimensions, Enter and [Break/Remove] <Break>. The size of each break is the style's Break size (0.375 in Standard). Everything in a single undo step; dimensions on a locked layer are left out.
DIMSPACE adjusts the spacing between parallel linear or aligned dimensions, as in AutoCAD: select base dimension, then the dimensions to space and Enter, and enter value or [Auto] <Auto>. Each dimension goes to the given distance from the previous one, starting from the base; Auto uses twice the style's text height, and 0 aligns all of them on the dimension line of the base.
DIMSTYLE (alias D, DST, DDIM)
The Dimension Style Manager, like the AutoCAD one: the current style at the top, the list of the drawing's styles (the current one marked with ●), the preview of the marked style and the buttons:
- Set Current: the next dimensions use the marked style (the DIMSTYLE variable); a double-click in the list does the same;
- New...: the name (it suggests
Copy ofand the marked one) and Continue: the style is created as a copy of the marked one and the Modify dialog opens on it; - Modify...: the style dialog;
- Override…: the overrides of the current style (see Style overrides, below);
- Delete: does not remove Standard, the current style or a style used by any dimension, and says why.

The Modify Dimension Style dialog has three tabs, with the preview beside them:
- Lines and Arrows: the first and second arrowheads (Closed filled, Open, Architectural tick, Dot or None), the arrow size, the offset of the extension line from the origin, the extension beyond the dimension line, the baseline spacing, the center mark size, the leader arrowhead (that of QLEADER, LEADER and the DIMARC leader, DIMLDRBLK), the break size (DIMBREAK), the radius jog angle (DIMJOGGED, in degrees) and, under Fit, Annotative (see Annotative objects, below) and the overall scale (DIMSCALE), which multiplies all the sizes;
- Text: the text style (a text style with a fixed height controls the height), the text height, the distance between the text and the dimension line, the vertical position (Above the line or Centered, with the line interrupted) and the alignment (Aligned with dimension line or Horizontal);
- Primary Units: the format (Decimal, Scientific, Engineering, Architectural and Fractional; in the last three, as in AutoCAD, the drawing number counts as inches), the precision (decimal places, or the denominator of fractions), the decimal separator, the prefix and the suffix, the measurement scale factor (DIMLFAC: with 100, a drawing in meters is dimensioned in centimeters), the suppression of leading and trailing zeros, and the format and precision of angles.
OK saves the style and redraws all of its dimensions, in a single undo step (the command line says how many changed); Cancel leaves things as they were.

Standard is AutoCAD's ISO-25 for a drawing in meters: text of 0.25 (the same as TEXTSIZE), closed filled arrowheads of 0.25, offset from the origin of 0.0625, extension of 0.125, text distance of 0.0625, baseline spacing of 0.375, two decimal places with a comma, text above the line and aligned with it. Unlike ISO-25, Standard does not suppress trailing zeros (3,00, as dimensions in meters are written in Brazil); the option is on the Primary Units tab. The current style belongs to the drawing and is saved in the file; it can also be changed with the Current dimension style list on the Annotation panel (with a wide window) or with the DIMSTYLE variable in SETVAR. Changing a text style also redraws the dimensions of the dimension styles that use it, and a text style used by a dimension style cannot be deleted.
Style overrides: Override…, variables, DIMOVERRIDE and -DIMSTYLE
As in AutoCAD, you can change a value of the style without changing the style: the change is kept as an override. There are three scopes:
- On the current style: new dimensions are created with the override; existing ones do not change. This is done with the Override… button of DIMSTYLE (it opens the Modify dialog with the title Overrides of style...; OK saves only what differs from the style, and the command line says how many overrides were kept) or by typing the dimension variable (DIMTXT, DIMASZ, DIMDEC... see the System variables chapter), directly or through SETVAR. With overrides, the manager shows <style overrides> on the current style. They are saved with the drawing (in DWG and DXF, in the dimension variables of the header, as AutoCAD writes them) and come back when it is opened; the dimensions made with them keep their own and do not change when the file is reopened;
- On chosen dimensions: through the Properties palette (text height, arrowhead, offset, gap, overall scale) or through DIMOVERRIDE (alias
DOV): enter the name of the dimension variable to override, the new value, another variable or Enter, and then select the dimensions. Clear overrides (C) at the first prompt removes all the overrides from the chosen dimensions; - A dimension's override remains in effect when its style changes: the rest follows the style, the overridden value stays.
-DIMSTYLE is the dimension style through the command line, as in AutoCAD: [Save/Restore/STatus/Variables/Apply/?] <Restore>:
- Save: saves the current style with its overrides as a new style (the name), which becomes current and without overrides; if the name already exists, it asks whether to redefine it;
- Restore: makes the typed style current, or that of a dimension (Enter and select the dimension);
- STatus: lists all the dimension variables of the current style (with the overrides), each one with its value and what it does;
- Variables: the same list for the typed style or that of a dimension, without changing the current one;
- Apply: passes the current style, with its overrides, to the chosen dimensions;
- ?: lists the styles in the drawing.
Leaders (MLEADER and QLEADER)
Note leaders follow those of AutoCAD: the multileader (MLEADER), a single object with the arrowhead, the lines, the landing and the text; and the classic leader (QLEADER and LEADER), the arrowhead and the lines, with the text beside them as another object. The sizes come from the multileader style (MLEADERSTYLE) for the multileader and from the dimension style (the leader arrowhead and the arrow size) for the classic one. The closed filled arrowhead comes out filled on screen, like that of dimensions. EXPLODE of the classic leader gives one polyline per line and the pieces of the arrowhead, each one once; that of the multileader gives the lines, the arrowhead, the landing and the text.

MLEADER (alias MLD)
- Specify leader arrowhead location or [leader Landing first];
- Specify leader landing location: the leader follows the cursor; the landing and the text go to the side of the cursor (right or left);
- The text, typed in the drawing itself, as in MTEXT: Enter breaks the line and Ctrl+Enter (Cmd+Enter on the Mac) confirms. Empty text leaves the leader without text.
With leader Landing first (L), the order is reversed: the landing and then the arrowhead (leader arrowHead first, H, switches back). If the style asks for more than two leader points, MLEADER asks for the middle points before the landing (Enter ends sooner). The codes %%c, %%d and %%p work in the text. The Properties palette shows the multileader style (the list changes it), the text, how many leader lines and the arrow size; the grips move the tip of each line and the landing (the text goes along).
MLEADEREDIT (alias MLE)
More lines on the same multileader, all reaching the same landing: select a multileader and specify leader arrowhead location or [Remove leaders], as many times as you like, and Enter. Remove leaders (R) asks for the leaders to remove (click near each one); the last line cannot be removed (the multileader needs at least one).
MLEADERSTYLE (alias MLS)
The Multileader Style Manager: the current style at the top, the list of styles and, beside it, the marked style for editing: the arrowhead (the same as for dimensions) and the arrowhead size, Landing, the landing distance, the landing gap (between the landing and the text), the text style and the text height, the overall scale, the maximum leader points (2: a single straight line to the landing) and Annotative. The buttons:
- Set Current: the next leaders use the marked style;
- New: the name of the new style, which is created as a copy of the marked one (it suggests
Copy ofand the name); - Apply: saves the changes to the marked style and rebuilds all of its leaders, in a single undo step (the command line says how many);
- Delete: does not remove Standard, the current style or a style used by any leader.
Standard follows AutoCAD's in a drawing in meters: closed filled arrowhead of 0.25, landing of 0.25, gap of 0.1 and text of 0.25.

QLEADER (alias LE) and LEADER (alias LEAD)
QLEADER: specify first leader point (the arrowhead tip) and the next point, up to three points (the third one already ends; Enter after the second one also does). Then the text width (Enter: 0, no automatic wrapping) and the lines of the text, one per prompt (the first line, the next line...), until an Enter on an empty line. The leader and the text (an MTEXT, placed against the end of the leader) go into a single undo step.
LEADER: the leader start point and the next points, with no limit, with Undo (U), which removes the last point, and Annotation (A, or Enter), which goes to the text, line by line as in QLEADER (without asking for the width).
Geometric tolerance (TOLERANCE, alias TOL)
The feature control frame, like the AutoCAD one: up to two rows, each one with the characteristic symbol, two tolerances (with the diameter ⌀ and the material condition) and up to three datum references, and the datum identifier in a cell below. The symbols are letters of the BadBit CAD stroke font, so the frame looks the same on screen, in print and at any zoom. The text height and the gap are those of the current dimension style (DIMTXT and DIMGAP).
TOLERANCE opens the Geometric Tolerance dialog: in each row, the Symbol list (the name and the code, such as Position (POS)), Tolerance 1 and Tolerance 2 (the Ø box puts the diameter before the value; the list next to it is the material condition: (M), (L) or (S)) and Datum 1 to 3 (the letter and the condition); below, the Datum Identifier. OK asks for the tolerance location (the middle of the left side of the first row), with the frame following the cursor; Cancel leaves the command.

OK sends the frame to the command in the typed form of TOLERANCE, a line of text: the cells separated by ;, in the order symbol;tolerance 1;tolerance 2;datum 1;datum 2;datum 3, the two rows separated by | and the identifier as ID=. The frame in the figure is:
POS;%%c0,05(M);;A;B;C|FLT;0,1|ID=-D-
An empty cell (;;) does not appear. The symbol codes, in the order of the list in the dialog:
| Code | Characteristic | Code | Characteristic |
|---|---|---|---|
| POS | Position | CIR | Circularity |
| CON | Concentricity | STR | Straightness |
| SYM | Symmetry | PRS | Profile of a surface |
| PAR | Parallelism | PRL | Profile of a line |
| PER | Perpendicularity | RUN | Circular runout |
| ANG | Angularity | TRU | Total runout |
| CYL | Cylindricity | ||
| FLT | Flatness |
In values and datums, %%c (or DIA at the start) becomes the diameter ⌀, and modifiers in parentheses become the circled symbols: (M) maximum material, (L) least material, (S) regardless of feature size, (P) projected zone, (F) free state, (T) tangent plane and (U) unequal zone. More than two rows are not allowed. The Properties palette shows the position, the text height, the contents of the frame and whether it is annotative.

Center marks and centerlines (CENTERMARK, CENTERLINE)
The center marks and centerlines of AutoCAD 2017 onward: associative objects that mark the center of holes and the axis of symmetry between two lines. They are on the Annotate tab, Centerlines panel (the Center Mark and Centerline buttons).
CENTERMARK: select circle or arc to add center mark. Each click on a circle, an arc or an arc segment of a polyline creates the mark (the cross at the center and the four extensions, which extend past the curve by CENTEREXE), and the command continues until Enter; all the marks of the command are a single undo step. The size of each dash of the cross is CENTERCROSSSIZE and the gap to the extensions, CENTERCROSSGAP: with the x (such as 0.1x, the default), they are proportional to the diameter; without it, lengths; ByLineType takes the last dash and the last space of the linetype. On a small circle, whose radius does not reach half the cross plus the gap, the gap disappears. With CENTERMARKEXE 0, new marks come out with the cross only.
CENTERLINE: select first line and second line (lines or straight polyline segments). If they are parallel, the centerline passes through the middle of the corresponding ends; if not, it follows the bisector of the angle chosen by the clicks (click near the parts of the lines between which the axis should lie), from the middle of the ends on one side to that of the ends on the other. Both ends extend by CENTEREXE.
In both commands, the Layer option (L) asks for the name of the layer of new marks and lines (CENTERLAYER; Use current or . returns to the current layer); a layer that does not exist is created along with the mark. Marks and lines come out with the linetype of CENTERLTYPE (the default, CENTER2, is loaded from the BadBit CAD library if the drawing does not have it) and the linetype scale of CENTERLTSCALE. The variables belong to the drawing (they go into the file and into undo) and apply only to new marks.
Associative: moving, rotating, scaling or stretching the circle, arc or lines takes the mark or centerline along, in the same undo step (also through grips and Properties). A mark moved on its own (without the circle) is released; moving both together keeps the link; copying both links the copy of the mark to the copy of the circle. Erasing the circle leaves the mark loose, where it was.
- CENTERDISASSOCIATE: select center objects; they are released and stay where they are.
- CENTERREASSOCIATE: select center mark or centerline and then the circle or arc (the mark goes to its center) or the two lines.
- CENTERRESET: returns the extensions of the chosen marks and lines to the current CENTEREXE (a length set by grips stays).
Grips: on a mark, the center grip moves the mark (hovering over it, the menu has Change extension length, which changes the four extensions together) and the grips at the ends of the extensions fix the length of that extension (it no longer follows the size of the circle). On a centerline, the midpoint grip moves it, the base grips change the length (the extension goes along) and the end grips change only how far the extension goes. The Properties palette shows the center and the radius, the Cross size and the Cross gap (type 0.1x or a length), Show extensions, the Extension, the rotation and whether it is Associative; for the line, the start, the end, the length and the start and end extensions. EXPLODE turns the mark and the line into their dashes (lines).

In DXF and DWG, the mark and the line go as an insertion of an anonymous block with the dashes: AutoCAD shows the right geometry, but as a block reference, without associativity (AutoCAD's associative structure is not public). The data to rebuild the mark goes along, and BadBit CAD recognizes it on the way back, linked to the objects again, even if the insertion was moved or the circle changed in AutoCAD. Marks made in AutoCAD open as an insertion of their anonymous block.
Annotative objects and the annotation scale (CANNOSCALE)
As in AutoCAD, texts, dimensions, leaders and tolerances can be annotative: they store the paper size and appear in the drawing at the paper size times the current annotation scale. A text of 2.5 mm on paper (0.0025 in a drawing in meters) appears at 0.125 at 1:50 and at 0.25 at 1:100, without needing a style for each scale.
- To create annotative objects, check Annotative in the style: in STYLE (the text style; the height becomes the paper height), in DIMSTYLE (Lines and Arrows tab, under Fit; it also applies to tolerances) and in MLEADERSTYLE. Whatever is created with the style is annotative, at the current scale;
- The current annotation scale is the CANNOSCALE list on the status bar (1:1, 1:2, 1:5, 1:10, 1:20, 1:25, 1:50, 1:75, 1:100, 1:200, 1:250, 1:500, 1:1000, 2:1 and 10:1) or the CANNOSCALE variable (type
1:50,1:100,2:1...). It is saved in the drawing; - When the scale changes, the annotative objects that support the new scale start appearing at it; the others stay as they were. The command line says how many changed, and the change is an undo step;
- With a positive ANNOAUTOSCALE (1 to 4), the new scale is added to all annotative objects when CANNOSCALE changes, and all of them start appearing at it. Zero or negative (the default is −4) turns it off.
The Properties palette shows the Annotative row: No, or Yes with the scales the object supports (Yes (1:50, 1:100)).
Selecting text with the mouse in the editor
In the drawing's text editor (MTEXT, TEXT, TEXTEDIT and table cells being edited), the mouse selects as in AutoCAD:
- press and drag inside the text: the cursor goes to where the button was pressed and the selection follows the mouse until the button is released (it does not open the drawing's selection window);
- Shift+click: extends the selection from the cursor to the clicked point;
- double-click: selects the word (consecutive letters and digits; on a space, a punctuation mark, a fraction or a field, just that);
- triple-click: selects the whole paragraph (without the break that ends it).
A single click still puts the cursor at the point, and a click outside the text confirms. With the selection made, the Text Editor bar changes its formatting (bold, color, height...), and Ctrl+C, Ctrl+X and Ctrl+V copy, cut and paste.

Fields (FIELD)
A field is a piece of text that is calculated on its own, as in AutoCAD: the date the drawing was created or saved, the current date and time, the file name, or the area and length of an object. In the editor it behaves like a single letter: the arrow keys and Backspace go over it as a whole.
Inserting a field
- In the text editor: Ctrl+F (or the Field… button on the Text Editor bar, in the Symbol group) opens the Field dialog and the field goes in at the cursor. It works in MTEXT, in single-line TEXT (TEXT/DTEXT, also in TEXTEDIT) and in table cells.
- With the FIELD command: with the editor open, it does the same; without the editor, after OK it asks for the start point and creates an MTEXT with the field, at the current MTEXT height, style and alignment (Esc cancels).
The Field dialog has, on the left, the Field category and the Field names; on the right, the format; below, the Example (the value calculated now) and the Field expression (the AutoCAD code, such as %<\AcVar CreateDate \f "dd/MM/yyyy">%).
| Category | Name | What it shows | Format |
|---|---|---|---|
| Date & Time | CreateDate | the date the drawing was created | list of formats or a typed one (dd/MM/yyyy, M/d/yyyy, h:mm tt, dddd, MMMM d, yyyy...) |
| Date & Time | SaveDate | the date of the last save | same |
| Date & Time | Date | the current date and time | same |
| Document | Filename | the file name | filename only, path only, path and filename; with or without the extension; the case (uppercase, lowercase, first capital, title case) |
| Objects | Object | the area or length of an object | Select object (the dialog disappears until the object is clicked), the Property (Area or Length), the Units (decimal or scientific), the Precision and the Conversion factor |
The area and length number comes out with the drawing's decimal separator, the same as the dimensions (the DIMDSEP of the current dimension style, the comma in Standard), not with the interface language's: the dialog writes the comma in the code as %ds44, as AutoCAD does when the comma is chosen, and AutoCAD shows the same value. A field without %ds (from an AutoCAD file) comes out with the period, as there.
In date formats, d/dd is the day, M/MM the month (MMM and MMMM the name), yy/yyyy the year, h/hh the 12-hour hour and H/HH the 24-hour one, mm the minutes, ss the seconds and tt AM/PM; text in single quotes comes out as is. The names of months and weekdays (MMMM, MMM, dddd, ddd) and tt come out in the interface language, as AutoCAD does with the Windows language: in Portuguese, dddd, d 'de' MMMM 'de' yyyy gives "quarta-feira, 11 de novembro de 2026" (MMM gives "nov", ddd gives "qua"); in English, "Wednesday, 11 de November de 2026"; in Spanish, "miércoles, 11 de noviembre de 2026" (and tt gives "a. m."/"p. m."). The value stays as it was calculated: changing the language does not change the text until the next calculation (UPDATEFIELD or FIELDEVAL). Area and length come out in the drawing unit (the area squared); the conversion factor multiplies the value (0.0001 gives hectares from m², for example).

Updating fields: UPDATEFIELD, FIELDEVAL and FIELDDISPLAY
- UPDATEFIELD asks for objects and recalculates their fields; the command line says how many changed (an undo step). Area and length fields stay linked to the object: after scaling the circle, UPDATEFIELD shows the new area; with the object erased, the field shows
####. A field not yet calculated shows----. - FIELDEVAL (0 to 31, default 31) says when fields are recalculated on their own, as in AutoCAD: the sum of 1 on open (the
.bbd, DXF and DWG), 2 on save (before writing the.bbd, DXF or DWG), 4 on plot (PLOT, printing and the preview), 8 on eTransmit and 16 on regen (REGEN). BadBit CAD has no eTransmit: the 8 is only stored. With 0, only UPDATEFIELD recalculates. Each recalculation that changes a value is an undo step (UPDATEFIELD). - Fields inside blocks: when the recalculation changes the text of a block item, the block is redefined. All the blocks that changed are redefined at once, from the inside out: a block that contains another one that was also redefined receives the new items of the inner one, and the blocks that contain them, the insertions and the arrays receive the rebuilt items, each one only once and in the same undo step. An insertion (or array) whose own text also changed gets the new text and the new items.
- FIELDDISPLAY (0 or 1, default 1): with 1, fields appear with a gray background, on screen only (never in plots or in the file); with 0, without background.
FIELDDISPLAY and FIELDEVAL are in the profile (Variables section; see Options and profiles): they apply to all drawings and go along when the profile is exported. In AutoCAD FIELDEVAL is stored in the drawing; in BadBit CAD it follows the profile.
The drawing dates are TDCREATE (creation) and TDUPDATE (last save), in the computer's local time: they come from DWG and DXF and go into them, and they are kept in the .bbd preferences (a new drawing starts with the time it was opened, and each save updates TDUPDATE).

Field in single-line TEXT
In TEXT (TEXT/DTEXT) the field goes in with Ctrl+F with the editor open, as in MTEXT: the text shows the value, with the gray background of FIELDDISPLAY (also while typing), and the field is a single letter for the cursor. TEXTEDIT opens the text with the fields in place; UPDATEFIELD and FIELDEVAL recalculate them.


dddd, MMMM d, yyyy format, with the gray background.Fields in blocks and tables
- Inside a block: an area or length field in a block's text can point to another object of the same block (as in AutoCAD). Draw the object and the text with the field (Ctrl+F, Objects, Select object), and make the BLOCK with both: the field stays linked to the object inside the definition. Each insertion shows the value of the definition (the block's object, in the drawing unit, without the insertion's scale). UPDATEFIELD (choosing an insertion, or with all) and FIELDEVAL recalculate the definition and all insertions change together. In BEDIT the field points to the object in the block editor, and goes back to the block on saving; EXPLODE links the field of the exploded text to the exploded object.
- In a table cell: Ctrl+F in the cell editor puts the field in it (for example, the area of a polyline in the drawing); UPDATEFIELD of the table (or FIELDEVAL) recalculates the cells.
- The gray background of FIELDDISPLAY also appears on fields in insertions and cells. A field in a block that points to an object outside the block (in the drawing) also works, and comes back linked to it when the DXF or DWG is opened.

Fields in files
In DXF and DWG, MTEXT carries the displayed value in the text and the code in the FIELD object of its extension dictionary (ACAD_FIELD → TEXT), the way AutoCAD stores it: AutoCAD opens the file with the fields working, and BadBit CAD reads back the same code (the area field comes back linked to the object read). The .bbd keeps the code and the last value. Fields that BadBit CAD does not yet calculate (other AutoCAD ones) are kept and saved unchanged, with the value they came with.
- Single-line TEXT with a field goes the same way: the value in the text and the root FIELD with the plain text (
Today: %<\_FldIdx 0>%) and the inner fields; it comes back with the same fields (in DXF R12, which has no FIELD, only the value is written). - In a block, the field's object (the 331 of the FIELD) is the entity of the same block, and reading brings the field back linked to the block's object.
- In an AutoCAD table cell (ACAD_TABLE, from 2004 onward), the field goes and comes back the way AutoCAD stores it: the cell points (the 344) to the root FIELD, which belongs to the table, without the cell text (the displayed value goes in the cell value, from 2007 onward); reading brings the field back linked to the object read, in DXF and DWG — also in a table edited in AutoCAD. In 2000 (with no AutoCAD table) the field comes back through BadBit CAD's data, linked to the object in the same way.
The color of a piece of text: the Select Color dialog
On the Text Editor bar, next to the Color list (the basic colors, ByLayer and ByBlock), the More colors… button opens the Select Color dialog with the three AutoCAD tabs; the chosen color goes to the selection (or to what is typed next):
- Index Color: the grid of AutoCAD's 255 colors, the nine standard ones and the grays, the ByLayer and ByBlock buttons and the Color field (the number, or BYLAYER and BYBLOCK). Double-clicking a color confirms.
- True Color: the Color model RGB (red, green and blue from 0 to 255) or HSL (hue from 0 to 360, saturation and luminance from 0 to 100), and the Color field with
R,G,B. - Color Books: BadBit CAD's own book, BADBIT TONS, with twelve named tones (Terracotta, Clay, Sand, Ochre, Olive, Moss, Forest, Sky, Ocean, Slate, Graphite and Wine). The formatted text of MTEXT stores only the index color or the true color, so a book color goes into the piece of text through its RGB (in AutoCAD it is the same: the book name is kept only in the color of the whole object).
The Color list on the bar shows the true color chosen at the end (RGB 178,84,52).


MTEXT: column break, ruler indents, reversed flow and mask in draw order
Column break (Alt+Enter)
In MTEXT with columns, Alt+Enter in the editor (or the Insert Column Break (Alt+Enter) button in the Columns part of the Text Editor palette) inserts a column break: the rest of the text starts at the top of the next column, even if it would still fit in the current one. It is the \N code of the AutoCAD MTEXT, written and read as \N in the .bbd, DXF and DWG of all versions (before AutoCAD 2018, the column that ends at the break carries the \N at the end of its MTEXT). As in AutoCAD:
- without columns, the button is disabled and Alt+Enter does nothing; a
\Ncoming from a file without columns breaks the paragraph like an Enter; - in the last static column, the break only starts a new paragraph (there is no next column);
- in dynamic columns, the break opens a new column;
- Backspace right after it removes it, and so does the editor's Ctrl+Z.

Ruler indents
On the ruler above the text being edited, the two triangles on the left are the indents of the paragraph at the cursor (or of the selected paragraphs), as on the AutoCAD ruler:
- the upper one is the first line indent: dragging it changes only that line;
- the lower one is the paragraph indent (the other lines): dragging it moves the other lines and leaves the first one where it was; with the first one farther out, it is the hanging indent of lists.
The value goes, in text heights, into the paragraph's \pi…,l…; code, rounded to 0.01 height; the editor's Ctrl+Z undoes it. Clicking a triangle without dragging does not create a tab stop.

Reversed column flow
The AutoCAD MTEXT stores the reversed flow of the columns (code 78; the API's ColumnFlowReversed property, for languages written from right to left): the first column is on the right and the text flows to the ones on the left. BadBit CAD reads, draws and saves it that way (the block stays in the same place and with the same width). In the Column Settings dialog, the Reversed flow (first column on the right) box turns it on and off (AutoCAD does not have this box: only the file and programming change the flow).

The background mask in draw order
The background mask hides only what comes before it in the draw order (the order in which the objects were created; for an opened file, the file's order); what comes after stays on top, as in AutoCAD:
- a line drawn before the text disappears beneath it; one drawn after it passes over the mask;
- two masks that cross: the one of the text created later stays on top of the other;
- a hatch sent to the back stays beneath all masks, and one brought to the front, on top;
- inside a block, the masked text hides the items that come before it in the block and, with the insertion, what came before it in the drawing; the insertion can have scale and rotation;
- masked text on a layer that is off or frozen hides nothing.
The screen (GPU and CPU) and plots show the same. The text frame (AutoCAD's TEXTFRAME, the Text frame (TEXTFRAME) box in the Background Mask dialog) outlines the text block, with or without the background, and also comes out in plots.
In AutoCAD 2000 DXF and DWG, MTEXT has nowhere to store the mask (it was introduced in AutoCAD 2005, the 2004 format): the file is written without it and the save report warns under Simplified or converted (MTEXT BACKGROUNDMASK). From 2004 onward, it goes in full.

AutoCAD SHX fonts
SHX fonts are AutoCAD's stroke fonts (txt, simplex, romans, romand, romanc, italic, italict, isocp, monotxt and the others): each letter is a handful of lines and arcs, with no fill. BadBit CAD reads .shx files — the regular fonts, the Unicode ones and the big fonts of Asian languages — and draws texts with them as AutoCAD does:
- the text height is the height of the capitals of the SHX (in TrueType, that of the font's A);
- the width of each letter is the font's, and the width factor, the obliquing angle, Backwards, Upside down, underline and overline (
%%u,%%o) and the symbols%%c(⌀),%%d(°) and%%p(±) work the same way (in non-Unicode SHX fonts, at AutoCAD codes 127, 128 and 129); - a letter the font does not have comes out in the BadBit CAD stroke font, in its place;
- the text box is that of the drawn strokes, as in AutoCAD: right-justified text ends at the last stroke (not at the space after the last letter), centered text sits in the middle of the strokes, Align and Fit fit up to the last stroke, Middle sits at the middle of the height of the strokes, and zoom extents and window selection use the box of the strokes. Spaces at the end of the text count (right-justified text with trailing spaces ends before the point, as in AutoCAD); leading ones do not;
- the symbols
%%c,%%dand%%pof a text coming from DXF or DWG come out drawn (the code stays stored in the text and goes back unchanged on saving); - the style can have a big font along with it, as in the AutoCAD -STYLE:
txt.shx,extfont.shx; letters that the main font does not have come from the big font; - Asian big fonts (Japanese, simplified and traditional Chinese, Korean) store each letter by its code in the region's code page — Shift-JIS, GBK, Big5 or KSC —, not by Unicode: BadBit CAD looks the letter up by that code. The code page comes from the drawing (the
$DWGCODEPAGEof the DXF or DWG: ANSI_932, ANSI_936, ANSI_950 or ANSI_949); in a drawing with a Latin code page, the one indicated by the name of known big fonts applies (extfont,bigfont→ Japanese;gbcbig→ simplified Chinese;chineset→ traditional Chinese;whgtxtand thewhg*ones → Korean) or the ranges in the file (Shift-JIS ones are recognized on their own); - Vertical: in SHX fonts that have the vertical mode, STYLE lets you check Vertical (it is grayed out for the others, as in AutoCAD; in -STYLE, the Vertical? prompt comes after Upside down?, only for these fonts) and single-line TEXT comes out with the letters one below the other, starting at the text point. MTEXT has no vertical mode, as in AutoCAD.
BadBit CAD does not come with the Autodesk fonts (they belong to Autodesk and come with the AutoCAD license). It looks for the files in the font search path (in the Options dialog, Files part; see Options and profiles in the interface chapter): the default is the font folders of AutoCAD and DWG TrueView installed on the computer and their user support folders — on the Mac, the Fonts/shx and Support inside AutoCAD 20xx.app and the user Support in ~/Library/Application Support/Autodesk/AutoCAD 20xx; on Windows, the Fonts and Support of Arquivos de Programas\Autodesk\AutoCAD 20xx and the user Support in %APPDATA%\Autodesk. The folder of the open drawing always applies — an SHX next to the file is found on its own. The folders are searched once, when the program opens, without slowing down the screen; a font is read the first time a text uses it.
An SHX that is not on the computer
When the style's SHX is not in any folder, BadBit CAD does as AutoCAD does: it uses the FONTALT font (a variable stored in the profile; the default is simplex.shx), if it is in one of the folders. If not even that one is there — or with FONTALT set to . (period) —, it uses the BadBit CAD equivalent: a single-stroke font of our own, with the same metrics as the missing SHX (the capital height, the descender and the width of each letter), so the text takes up the same space as in AutoCAD and still fits in the same frames and title blocks. There are equivalents for txt, monotxt, simplex, romans, romand, romanc, romant, complex, italic, italicc, italict, isocp and isoct (and their variants); for other SHX fonts, the simplex one.
The command line warns once per font (Font "italict.shx" not found: using the BadBit CAD equivalent (same size), "BadBit Italict".), and the DXF and DWG Import report says the same at the top: Font italict not found: using the BadBit CAD equivalent (same size). (with FONTALT found: using simplex.shx (FONTALT)). The SHX name stays stored in the style and goes back when the DXF and DWG are saved: opened on a computer that has the font, the text comes out in it.

In STYLE, the font list also includes the SHX fonts found in the search folders; a missing SHX appears in the list under its stored name. In -STYLE, type the SHX file (romans.shx, or txt.shx,extfont.shx with the big font): an SHX that is not on the computer is accepted (texts use FONTALT or the equivalent, with the warning). The BadBit CAD stroke font goes into DXF and DWG as romans.shx (which every AutoCAD has) and comes back as itself when opened in BadBit CAD.
Texts into MTEXT: TXT2MTXT
Converts TEXTs (and MTEXTs) into a single MTEXT (one paragraph per text) or into one MTEXT per text. The MTEXT goes at the top corner of the first one, with its rotation, height, style and font, on its layer; texts of another height keep their own height. At the Select objects prompt, the SEttings option (SE) opens the dialog: Combine text into a single MText object, the order (sorted top-down, or in selection order) and the word-wrap (no word-wrap, by the width of the longest text or a fixed width). The choices are kept in the profile. It is on the open Annotation panel (Home tab).

Outline-only TrueType letters: TEXTFILL
The TEXTFILL variable (in the profile, as in the AutoCAD registry) shows the letters of TrueType fonts filled (1, the default) or as outlines only (0). It applies on screen, in plots and in PDFs; EXPLODE of a TrueType text still gives the outlines.

Scaling texts in place: SCALETEXT and TSCALE
SCALE enlarges the text and also moves it away from the base point. SCALETEXT changes only the size: each text, MTEXT, attribute definition and attribute (of the chosen insertions) grows from a point of its own, without leaving its place. After choosing the objects (or with them chosen beforehand):
- Enter a base point option for scaling [Existing/Left/Center/Middle/Right/TL/TC/TR/ML/MC/MR/BL/BC/BR] <Existing>: Existing uses the justification point of each text; the others use that point of the text box, and the justification of the text does not change. In single-line text, Left, Align and Fit count as BL.
- Specify new model height or [Paper height/Match object/Scale factor] <2.5>: the model height changes only non-annotative texts; Paper height changes only annotative ones (the height in the model becomes the paper height times the annotation scale shown); Match object takes the height of another clicked text (only those of the same kind, annotative or not, change); Scale factor multiplies all of them (with Reference (R): the reference length and the new one).
TSCALE is the Express Tools one: "Specify justification to use as base point for scaling [Existing/Start/Center/...] <Existing>:", then "[Scale (factor)/Height] <Scale>:" and the Scale factor (default 1.2) or the Final height, which applies to all the chosen texts, annotative or not. Both commands remember the last answers and are a single undo step; texts on a locked layer are left out.