CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.095.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 6463:

Question

CAD 
 %  platform  category 
A
The M2P (MTP) option (command modifier) on any coordinate prompt allows to enter a point in the middle of the distance between two points. But sometimes you will need to specify a coordinate also in a different ratio of distances to the given points or along a curve - e.g. divide in 1/4, 2/3, etc.

The CADstudio SEG2P utility is such "generalized" M2P tool. Just APPLOAD this utility and then type the transparent options 'seg2p or 'segcur on any AutoCAD prompt for point coordinates. Then specify the required segment ratio (distance).

Seg2P returns coordinates of a segment between two given points. SegCur returns coordinates of a segment measured along a selected curve entity (e.g. in 1/4 of its length).

Example:

_POINT
Specify point: 'seg2p
 SEG2P> First point for segment: _
 SEG2P> Second point for segment: _
 SEG2P> Segment ratio <0.5>: 3/4
(123.45 678.9 0.0)
You can enter the ratios either as "0.25" or as "1/4", "3/4", etc.

Make sure you have no OSNAP active when using the function - the resulting coordinate may get "snapped" to the nearest midpoint, endpoint, intersection, etc.

See DL Download

ACADADTCivilMap
100% *CAD
6.1.2009    9272×  

See also:
Tip 14304:How to generate a report of used blocks including their visibility status in AutoCAD LT?
Tip 14280:How to add elevation value (Z-coordinate) to texts with point numbers?
Tip 14242:How to find the minimum, maximum or local extreme of a 2D or 3D curve?
Tip 14093:3D terrain model of any place in Czechia - elevation data by the Czech Land Survey Office (CUZK) into Civil 3D.
Tip 14061:Animated drawing of geometry in AutoCAD.


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist