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

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    6569×  
Comments   Tell a friend

See also:
Tip 11625:Measure lengths along a curve - points in given distances.
Tip 11511:Assigning elevations to 2D contours (isolines).
Tip 11276:Inactive drawing, inactive commands after starting AutoCAD.
Tip 11179:Select objects in negative elevation or in a given 3D octant.
Tip 11076:Reading 3D point matrix from a CSV file.

Back   All CAD Tips All CAD tips&tricks

How to disable the pop preview when printing from AutoCAD to PDF? « | » Wrong corridor or section templates in Civil 3D?

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   

DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

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