Skip to content

Rotate commands

MDROTATECW and MDROTATECCW turn every selected object by the configured angle (90° unless you change it) around its own pivot.

Object Pivot
Block reference Its insertion point
Everything else The centre of its geometric extents

This is the difference from native ROTATE. Select five symbols and run ROTATE, and all five swing around one base point you pick: their positions change as well as their orientation. Run MDROTATECW and each one spins where it stands.

Command: MDROTATECW
Select objects: (or use the objects already selected)
Rotated 5 object(s) 90° clockwise.

Nothing is remembered between invocations beyond the angle itself, so at the default 90° the sequence goes 90° → 180° → 270° → back to the start. Because the selection is re-asserted after each run, you can press Enter or Space to step round again without re-selecting.

Dynamic blocks turn through their own action

Section titled “Dynamic blocks turn through their own action”

If a selected block carries a rotation action, the command drives that parameter rather than transforming the geometry underneath it. The block then rotates about the base point its author chose and does whatever they built into the action, exactly as if you had dragged its rotation grip. An action normally reachable only through a custom grip becomes something you can type.

Where a block has more than one angular parameter, a parameter whose name contains MDRotation wins; otherwise the first writable angular one is used.

The command falls back to a plain geometric rotation when the parameter can’t take the angle, for instance when the author constrained it to fixed increments, or set a minimum and maximum that the requested angle falls outside. You get the rotation either way.

To turn this behaviour off entirely, set Use dynamic rotation to No in MDROTATEFLIPSETTINGS.

Attributes attached to a rotated block simply rotate with it: they are carried by the block’s own transform, so no correction is needed. Flipping is the case that needs care; see Flip commands.