CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 2197 

CAD tip CAD tip # 6463:

Question CAD 
 %  platform  category 
Q - question

Find a point in a 1/4 or 1/3 distance between two points (smart M2P).

A - answer 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).


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.


100% *  CAD 
6.1.2009    7701×  

See also:
Tip 12766:Lines with a single grip, incorrect osnaps, intersections, offsets, hatches - CheckLarge
Tip 12616:Att2elev - move block to elevation specified by its attribute.
Tip 12403:Get center point of a group of selected objects.
Tip 12222:How to find elevation (altitude) of a given point on Google Maps?
Tip 12198:How to remove duplicate points and COGO points from a DWG?

Back   All CAD Tips All CAD tips&tricks

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 glossary   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

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