TWINOFFSET offsets an object to both sides at once. The obvious use is anything with a centreline: roads, walls, ducts, trenches, cable routes. Draw the centre once, offset both faces in a single operation. TWOF is the short alias.
What TwinOffset does
Three options are offered at the distance prompt. Through lets you pick a point instead of typing a distance, and the offset is measured from the object to that point. Erase controls whether the source object is deleted afterwards. Layer controls whether the new objects land on the source object’s layer or on the current one.
The Erase and Layer settings persist for the whole AutoCAD session, so they only need setting once.
How to use it
- Load the routine with
APPLOAD, or put it on your support file search path. - Type
TWINOFFSETorTWOF. - Give the distance, or choose Through and pick a point.
- Set Erase and Layer if you need them — they persist afterwards.
- Select the objects.
How it works
The distance is held in OFFSETDIST, the same system variable the standard OFFSET command uses. So the two share a setting and neither surprises you after using the other — which is a small thing that stops a routine feeling bolted on.
Offsets are applied through AutoCAD’s own offset engine rather than by computing parallel geometry. That is what makes arcs, splines, ellipses and variable-width polylines all come out correctly, including the cases where a hand-computed parallel would self-intersect on a tight inside curve.
Notes and limits
- OFFSETDIST is shared with the standard OFFSET command. Setting it here sets it there.
- Erase and Layer persist for the session, so check them if the results land somewhere unexpected.
- Through mode measures to your picked point, giving both offsets that distance.
- One undo group covers the pair.
Download and details
| Name | TwinOffset — offset an object to both sides at once |
| Download | TwinOffset.lsp — 12.4 KB, plain AutoLISP source. Downloads directly; no zip to unpack. |
| Type | AutoCAD AutoLISP routine |
| Commands | TWINOFFSET, TWOF |
| Requires | the ActiveX layer (loaded automatically by the routine with vl-load-com). |
| Source size | 12.4 KB, 304 lines |
| Error handling | Yes — a *error* handler restores every system variable it changed, on cancel as well as on error. |
| Undo | The whole operation is wrapped in a single undo group, so one U reverses all of it. |
| Compatibility | AutoCAD (any release with AutoLISP), BricsCAD, ZWCAD, GstarCAD, ProgeCAD and other IntelliCAD-based platforms. AutoCAD LT needs a LISP enabler. No .NET, no ObjectARX, no installer. |
| Author | YZ, August 2026 |
| Licence | Free to use, supplied “as is” with no warranty. |
References
- RIPPLE LISP — many offsets at once, both sides, dragged live
- PARTOFFSET LISP — offsetting only a section of a polyline
- MLSHIFT LISP — when a multiline would suit better than two offsets
- More free AutoLISP routines on this site
- Wisey’s Steel Shapes — free structural steel section drawing program