RMBA LISP: Rotate Multiple Blocks by Two-Point Angle (Free AutoLISP Download)
RMBA rotates multiple selected block references simultaneously to a single angle derived from two user-picked reference points, no need to calculate or type an exact rotation value, and no need to rotate each block one at a time.
ROTBLKS-bgol (Rotate Multiple Blocks by Two-Point Angle)
Command Type: AutoLISP routine (works in AutoCAD, BricsCAD, ZWCAD and most AutoLISP-compatible CAD platforms)
Developed by: BGol Community, bgol.in
Inspired by the general concept of two-point-angle batch block rotation used in survey and drafting alignment workflows. This is an original, independently written routine, new file name, new command name, new source code, created so the CAD community has a free, editable, open-source alternative.
Overview
RMBA rotates multiple selected block references simultaneously to a single angle derived from two user-picked reference points, no need to calculate or type an exact rotation value, and no need to rotate each block one at a time.
How to Use
- Load
ROTBLKS-bgol.lspinto your CAD session (drag-and-drop the file onto the drawing window, or use theAPPLOADcommand). - Type
RMBAat the command line and press Enter. - Select one or multiple blocks to rotate, then press Enter to finish selection.
- Pick a first reference point, then a second reference point, the routine calculates the angle between them.
- Every selected block is instantly rotated (about its own insertion point) to that angle. A short direction-indicator line between your two picked points is drawn on a dedicated layer,
BGOL-RMBA(colour red), for visual confirmation.
Why Use It
- Time-saving, automates rotating many blocks at once, drastically cutting down on repetitive individual
ROTATEoperations. - Precision, deriving the rotation angle from two picked points allows precise, visually-guided rotation without needing to calculate or type an exact angle value.
- Efficiency, streamlines batch alignment tasks, letting you rotate an entire set of blocks to match a reference direction in one step.
Where to Use It
- Aligning a batch of directional or symbol blocks (e.g., arrows, north markers, equipment symbols) to match a reference line's angle, such as a road centerline or building edge.
- Any drafting scenario needing multiple blocks reoriented uniformly to match a newly-drawn or existing reference direction.
- Batch rotation of survey markers or repeated symbols during layout cleanup.
Notes
- Each block is rotated about its own insertion point (not a shared base point), so blocks keep their individual positions while all sharing the new rotation angle.
- The reference direction indicator drawn on
BGOL-RMBAis for visual confirmation only and does not affect the drawing geometry otherwise. - Source code is fully open, feel free to study, modify, and redistribute it under the same open, free-for-all spirit.
Credits
Developed and shared for the CAD community by BGol Community. Website: https://bgol.in/ Free and open-source, use it, modify it, share it, for personal or commercial work alike.
Frequently Asked Questions
RMBA is a standard AutoLISP routine, so it runs in AutoCAD, BricsCAD, ZWCAD, and most other AutoLISP-compatible CAD platforms without modification.
Each block is rotated about its own insertion point (not a shared base point), so blocks keep their individual positions while all sharing the new rotation angle.
Time-saving, automates rotating many blocks at once, drastically cutting down on repetitive individual ROTATE operations.
Yes. RMBA is fully open-source and free to use, modify, and redistribute for both personal and commercial work, developed and shared by the BGol Community.
Drag and drop ROTBLKS-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type RMBA at the command line to run it.
๐ค About BGol Community
BGol Community of Advanced Surveying builds and shares free, open-source tools for the survey and CAD drafting community.
๐ Made with โค๏ธ by BGol Community of Advanced Surveying
Free, open-source, and built for the CAD community, for personal or commercial use, always.