Accurate Geometry: How To Make A Line Inbetween Two Lines In CAD Applications

Accurate Geometry: How To Make A Line Inbetween Two Lines In CAD Applications

How do I add a line in between 2 lines of text? | Community

Creating a line exactly centered between two existing entities in CAD requires utilizing the Mid Between Two Points (M2P or MTP) command modifier or geometric offset calculations to ensure mathematical symmetry. This process is essential for maintaining engineering tolerances and architectural alignment, allowing drafters to establish perfectly centered axes without manual coordinate entry.


Advanced Workspace Configuration and Drafting Prerequisites

Before executing precision placement commands, a CAD operator must ensure the drafting environment is calibrated for geometric accuracy. Whether you are using AutoCAD, BricsCAD, or DraftSight, the underlying engine relies on a coordinate system where snaps dictate the validity of the geometry. Inaccurate snap settings are the primary cause of "drift" in professional drawings, where lines appear centered but fail technical audits due to microscopic misalignments.



Essential Drafting Toolkit and Environmental Settings



  • Software Compatibility: These methods apply to all DWG-based platforms including AutoCAD (Standard and LT), Civil 3D, and various IntelliCAD derivatives.
  • Object Snap (OSNAP) Settings: Ensure that Midpoint, Endpoint, and Perpendicular snaps are active. These can be toggled via the F3 key or by adjusting the OSNAP settings in the drafting settings dialog.
  • Command Line Visibility: Ensure the command line is docked or floating visibly (Ctrl+9), as the most efficient methods for centering lines involve transparent command modifiers that do not appear in the Ribbon UI.
  • Unit Precision: Set your drawing units (UNITS command) to at least four decimal places for decimal degrees and 1/64" for architectural measurements to verify that the "inbetween" line is truly equidistant.
  • Estimated Duration: 30 seconds for execution; 5 minutes for environment setup.

Step-by-Step Execution for Centering Geometry

There are four primary professional methods to create a line between two others, depending on whether the lines are parallel, converging, or require dynamic updating.



Step 1: Utilizing the M2P (Mid Between Two Points) Modifier

The M2P command (also recognized as MTP in many versions) is a transparent command modifier. This is the most efficient method for drawing a line exactly in the center of any two points, regardless of whether the source lines are parallel or irregular.



  1. Initiate the Line command by typing LINE (or L) and pressing Enter.
  2. When the software prompts for the "Specify first point," do not click. Instead, type M2P or MTP and press Enter.
  3. The command line will now prompt "First point of mid:" Select the endpoint or a specific snap point on the first line.
  4. The prompt will change to "Second point of mid:" Select the corresponding endpoint or snap point on the second line.
  5. CAD will automatically calculate the mathematical centroid between those two points and place the start of your new line there.
  6. Repeat the M2P command for the "Specify next point" prompt to find the center between the opposite ends of the source lines.

Pro-Tip: You can also access M2P by holding Shift and Right-Clicking during a command to bring up the Object Snap override menu, then selecting "Mid Between 2 Points."



Step 2: The Mathematical Offset and Divide Method

If you are working with strictly parallel lines, such as the boundaries of a road or a structural beam, the Offset method is mathematically superior as it maintains perfect parallelism.



  1. Use the DIST command to measure the perpendicular distance between the two existing lines.
  2. Note the value provided in the command history.
  3. Activate the OFFSET command (type O and press Enter).
  4. When prompted for the offset distance, you can manually enter half of the distance measured in Step 1. Alternatively, type 'CAL to open the transparent calculator and enter the distance divided by two.
  5. Select one of the source lines and click in the empty space between the two lines.
  6. This creates a new line that is perfectly equidistant from both original entities.


Step 3: Bisecting Non-Parallel Lines with XLINE

When the two lines are not parallel but are converging at an angle, the standard "center" is actually a geometric bisection. The Construction Line (XLINE) command features a built-in bisecting tool for this specific purpose.



  1. Type XLINE and press Enter.
  2. Observe the command options in the prompt and type B (for Bisect) and press Enter.
  3. Select the "vertex" point where the two lines would theoretically intersect. If they do not intersect on screen, use the Apparent Intersect snap.
  4. Select the start point on the first line.
  5. Select the start point on the second line.
  6. The software will generate an infinite construction line that perfectly splits the angle between the two sources. You can then use the TRIM or LENGTHEN commands to adjust it to the desired size.


Step 4: Using the Automated Centerline Tool

Modern CAD iterations (Post-2017) include a dedicated Centerline tool designed specifically for this task, which creates a smart object that adjusts if the source lines are moved.



  1. Navigate to the Annotate tab on the Ribbon.
  2. Locate the Centerlines panel and click on the "Centerline" icon.
  3. Select the first line and then the second line.
  4. The software automatically generates a centerline between them.
  5. Note that these are "associative" objects. If you move one of the original lines, the line inbetween will automatically shift to remain centered.

Warning: Associative centerlines may follow specific Layer and Linetype properties defined in your System Variables (CENTERLAYER). Ensure these are set to your standards before deployment.


How To Make A Line At A Specific Angle In Autocad - Templates Sample ...

How To Make A Line At A Specific Angle In Autocad - Templates Sample ...

Technical Methods and Precision Metrics Comparison

The following table compares the various methods used to establish geometry between two lines, highlighting their ideal use cases and technical limitations.



Method Geometric Accuracy Associative Property Best Use Case Complexity
M2P Modifier Absolute (Coordinate-based) No Irregular or non-parallel lines Low
Offset (Distance/2) Absolute (Vector-based) No Parallel structural members Medium
XLINE Bisect High (Angular-based) No Converging/Diverging lines Medium
Centerline Object High (Object-based) Yes Mechanical and Architectural axes Low
Midpoint-to-Midpoint Dependent on snap No Quick visual approximations Very Low

Troubleshooting Common Drafting Failures

Even seasoned drafters encounter issues where a line refuses to sit perfectly between two entities. These problems usually stem from 3D coordinate drift or snap priority conflicts.



  • Failure: The line appears centered but is diagonal or skewed.

    • Root Cause: The two source lines have different Z-axis (elevation) values, causing the M2P snap to calculate a point in 3D space.
    • Actionable Fix: Use the FLATTEN command or manually set the Start Z and End Z of both source lines to 0.0000 in the Properties Palette (Ctrl+1) before drawing the center line.
  • Failure: M2P snap fails to activate or selects the wrong point.

    • Root Cause: "Object Snap Cycling" is turned off, or there are overlapping entities (duplicate lines) at the same location.
    • Actionable Fix: Use the OVERKILL command to delete duplicate geometry. When selecting points for M2P, zoom in closely to ensure the correct snap marker (Square for Endpoint, Triangle for Midpoint) appears.
  • Failure: Offset command creates a line outside the two source lines.

    • Root Cause: The click-point for the offset side was placed outside the boundary, or the offset distance was calculated incorrectly.
    • Actionable Fix: Always ensure your cursor is physically located between the two lines when finalizing the OFFSET command. Re-measure the distance using the DIST command to verify the "Distance/2" value.
  • Failure: Centerline object disappears or does not show dashes.

    • Root Cause: The LTSCALE (Linetype Scale) is too large or too small for the current viewport.
    • Actionable Fix: Type LTSCALE and adjust the value (try 0.5 or 10.0) until the center linetype pattern (long dash, short dash) becomes visible.

Frequently Asked Questions



Is there a difference between the M2P and MTP commands?

No, M2P and MTP are identical aliases for the "Mid between Two Points" command modifier. CAD software maintains both to accommodate different user preferences and legacy workflows, ensuring that "Midpoint To Point" and "Mid 2 Point" both resolve to the same geometric function.



How do I make a line between two lines that are different lengths?

Use the M2P modifier but select the midpoints of the two lines rather than the endpoints. By typing L, then M2P, then snapping to the midpoint of line A and the midpoint of line B, you will find the exact center of the space regardless of the disparity in line lengths.



Can I use the Offset command if the lines are not parallel?

The Offset command is strictly for parallel geometry or concentric curves. If you attempt to offset a non-parallel line to find a center, the resulting geometry will remain parallel to the source, failing to bisect the angle of the second line. Use the XLINE Bisect method for non-parallel scenarios.



Why does my centerline object change when I move my original lines?

This is due to "Associativity." Modern CAD tools link the centerline to the parent geometry. To stop this behavior, you can use the BREP command or simply explode the centerline object, though it is generally considered best practice to keep them associative for easier design revisions.



How can I find the center between two curved lines or arcs?

For concentric arcs, the OFFSET command is the most effective. Use the DIST command to measure the gap along a radial path, then offset one arc by half that distance. For non-concentric curves, you will need to utilize the "Center" snap of both arcs and draw a line connecting the centers to find the midpoint.

Elevate Your Engineering Design Precision

Mastering these geometric techniques ensures your CAD drafting meets the rigorous standards required for modern manufacturing and construction. Implement these snapping and offset workflows today to eliminate manual errors and significantly reduce your technical drawing revision cycles.


How To Make A Wiggly Line In Autocad - Templates Sample Printables

How To Make A Wiggly Line In Autocad - Templates Sample Printables

Read also: Mauri Peltokangas tuomio: Oikeudellinen ja poliittinen tilannekatsaus Suomen kentällä