Skip to content

Distribute commands

MDDISTRIBUTE, MDDISTRIBUTEGAP and their axis-specific variants space a selection of objects along one axis. There are two spacing models. Pick the one that matches your intent:

  • Even distribution (MDDISTRIBUTE): the object centres end up evenly spaced. The two outermost objects stay where they are; everything in between moves.
  • Gap distribution (MDDISTRIBUTEGAP): a fixed distance between bounding boxes, edge to edge. The first object (leftmost or bottom-most) stays put and the rest line up after it.
Command: MDDISTRIBUTE
Select objects: (or use the objects already selected)
Distribute [Horizontal/Vertical] <Horizontal>: H
Distributed 6 object(s) horizontally.
  • Needs at least 3 objects (with 2, there is nothing to space).
  • The outermost objects don’t move: the selection’s total span is preserved.
  • One-click variants: MDDISTRIBUTEH (horizontal) and MDDISTRIBUTEV (vertical).

MDDISTRIBUTEGAP: exact gap between objects

Section titled “MDDISTRIBUTEGAP: exact gap between objects”
Command: MDDISTRIBUTEGAP
Select objects: (or use the objects already selected)
Distribute [Horizontal/Vertical] <Horizontal>: V
Gap between object boxes: 25
Distributed 4 object(s) vertically with a 25 gap.
  • Needs at least 2 objects.
  • The gap is measured between bounding boxes (edge to edge), not between centres, so objects of different sizes end up with the same visual breathing room.
  • The gap is in drawing units and must be zero or positive. A gap of 0 butts the boxes together.
  • Objects are processed in order along the chosen axis; the first one anchors the row.
  • One-click variants: MDDISTRIBUTEGAPH and MDDISTRIBUTEGAPV (they only prompt for the gap).