CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 2824

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    7929×  

See also:
Tip 13006:Calculated property descriptions (tobogan slide from floor to floor)
Tip 12926:How to import point coordinates from Excel to AutoCAD?
Tip 12914:Geo2GPS - web map from any coordinate of an AutoCAD DWG.
Tip 12766:Lines with a single grip, incorrect osnaps, intersections, offsets, hatches - CheckLarge
Tip 12616:Att2elev - move block to elevation specified by its attribute.

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 glossary   

Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension 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.