CopyMove2MidPoint_vs.01

Short description

📐 MTM2 is an AutoCAD AutoLISP midpoint move and midpoint copy utility that relocates selected drawing objects from a source midpoint to a destination midpoint using UCS-aware coordinate transformation.

Image 000 22

Command:

🧰 Main commands:
– MMid2 – move selected AutoCAD objects from a calculated source midpoint to a calculated destination midpoint.
– CMid2 – copy selected AutoCAD objects and place the copied result from the same source midpoint to the destination midpoint.

Description:

🚀 MTM2 provides a fast midpoint-to-midpoint workflow for AutoCAD drafting and Civil 3D production drawings.
📌 The tool lets the user select one or more objects, define a source reference with two picked points, define a destination reference with two picked points, and then move or copy the selected objects by the calculated midpoint vector.
📐 The source midpoint is calculated from the Y values of P1 and P2 while preserving the X and Z values from P1. The destination midpoint is calculated as a full 3D midpoint from P3 and P4.
🔄 The resulting translation vector is transformed from UCS to WCS before applying the move or copy operation, making the workflow suitable for drawings using custom UCS orientations.
🧱 Objects on locked layers are skipped to avoid modification errors during batch processing.

Helper function: (if any)​

🧩 Main internal function:
– MOVE_COPY_COMMON2 – shared move or copy routine used by MMid2 and CMid2.
🔧 Important AutoLISP and Visual LISP operations:
– ssget for object selection.
– getpoint for P1, P2, P3, and P4 reference picking.
– trans for UCS-to-WCS point and vector conversion.
– vla-move for moving objects.
– vla-copy for copy mode.
– vla-get-Layers and vla-get-Lock for locked-layer checking.

Functionalities:

✅ Select multiple AutoCAD drawing objects for midpoint-based relocation.
📐 Define a source midpoint using two picked reference points.
🎯 Define a destination midpoint using two picked reference points.
🔄 Move selected entities with MMid2.
📋 Copy selected entities with CMid2.
🌐 Respect the active UCS by transforming base point and vector data to WCS.
🔒 Skip objects located on locked layers.
🧰 Use a single shared engine for move and copy behavior.

Result:

✅ The result is a precise midpoint-alignment workflow for quickly moving or copying selected AutoCAD objects from one reference location to another.
🏗️ It is useful for CAD alignment, infrastructure drafting, block/object repositioning, profile or section drafting assistance, and repeated object placement where midpoint reference control is faster than standard manual MOVE or COPY workflows.

Images, animations etc.

Image 000 22
Image 001 9
Image 002 11
Image 003 4
Image 004 1
Image 005
Animation 000 1
Animation 001
Animation 002
Animation 003
Animation 004
Pixel

XAML code:

Comming soon ...

Share this page:

Page Tag: 🏷️ CAD_menu

  • CopyMove2MidPoint_vs.01

    Short description📐 MTM2 is an AutoCAD AutoLISP midpoint move and midpoint copy utility that relocates selected drawing objects from a source midpoint to a destination midpoint using UCS-aware coordinate transformation. Command:🧰 Main commands: – MMid2 – move selected AutoCAD objects from a calculated source midpoint to a calculated destination midpoint. – CMid2 – copy selected…

  • LinetypeWithCharacters2

    Short description🧵🔤 Create and apply AutoCAD linetypes with embedded text characters, layer creation, TrueColor selection, lineweight, transparency, CELTSCALE, THICKNESS, and multi-layer assignment. Command:🚀 Primary command: MAKELT2 🧵 Alias helper: makelt2 calls c:makelt2. 🪟 Dialog title: Make Linetype With Embedded Characters. 🖊️ Main action button: Create Linetype. Description:🧵 LinetypeWithCharacters2 is an AutoCAD AutoLISP utility for creating…

  • LinFileDraw_vs.01

    Short description📐 LinFileDraw is an AutoCAD AutoLISP and DCL utility for reading linetype definitions from a selected *.LIN file and drawing clean sample polyline rows with MText labels in the current UCS. Command:🚀 Primary commands: – LINPL – LINPOLY 🧰 Command-line load message: – LINPL 004 loaded. Run LINPL or LINPOLY. Description:📘 LinFileDraw helps AutoCAD…

  • LinFileDraw

    Short description📐 LinFileDraw is an AutoCAD AutoLISP and DCL utility for reading linetype definitions from a selected *.LIN file and drawing clean sample polyline rows with MText labels in the current UCS. Command:🚀 Primary commands: – LINPL – LINPOLY 🧰 Command-line load message: – LINPL 004 loaded. Run LINPL or LINPOLY. Description:📘 LinFileDraw helps AutoCAD…

  • ExtendToBlock_vs.01

    Short descriptionExtendToBlock_003 is an AutoCAD and Civil 3D 2024 .NET utility with a modeless C# interface for previewing and selectively extending lines, lightweight polylines, arcs, and splines to the real exploded curve geometry of selected block references. Command:Primary command: EXTENDTOBLOCK_003 Secondary commands: EXTENDTOBLOCK, ETB Run EXTENDTOBLOCK_003 in the AutoCAD command line for the collision-safe build-specific…

  • ExplodeLinetype

    Short descriptionExplodeLinetype is an AutoCAD AutoLISP text-explode utility that converts selected TEXT and MTEXT objects into editable line geometry, then assigns the result to the MISC layer with Continuous linetype and ByLayer color and lineweight. Command:Primary command: ExplodeLinetype Secondary command: LINEXP Run ExplodeLinetype in the AutoCAD command line to convert selected TEXT and MTEXT into…

  • Entities2Layers

    Short descriptionEntities2Layers is an AutoCAD and Civil 3D AutoLISP layer-management utility that moves dimensions, multileaders, text, and mtext objects to a selected target layer through a visual DCL dialog with scope filtering, source-layer controls, and optimized large-drawing processing. Command:Primary command: ENTITIES2LAYERS Secondary command: E2L Run ENTITIES2LAYERS or E2L in the AutoCAD command line to open…

  • AutoTrimExtendLines

    Short description🚀 AutoCAD AutoLISP trim and extend utility with a DCL dialog for trimming, extending, and cleaning selected drawing geometry to bounding edges. Command:TTT TTTCLEAR Description:🚀 AutoTrimExtendLines is an AutoCAD AutoLISP productivity tool for automatic trim and extend workflows using selected bounding edges and selected objects to modify. 🧰 The main command TTT opens a…

  • CopyPaste2BasePoint

    Short description📋 CopyPaste2BasePoint is an AutoCAD AutoLISP productivity tool for copying selected drawing objects with a fixed base point at 0,0,0 and pasting clipboard content back at the same origin-based coordinate. Command:🚀 Main commands: – Copy2BasePoint: selects drawing entities and runs AutoCAD COPYBASE using 0,0,0 as the base point. – PasteBasePoint: runs AutoCAD PASTECLIP using…

  • CopyMove2MidPoint

    Short description📐 MTM2 is an AutoCAD AutoLISP midpoint move and midpoint copy utility that relocates selected drawing objects from a source midpoint to a destination midpoint using UCS-aware coordinate transformation. Command:🧰 Main commands: – MMid2 – move selected AutoCAD objects from a calculated source midpoint to a calculated destination midpoint. – CMid2 – copy selected…