Alan Thompson is back again with another great routine. This one reports the distance between two points along an entity in AutoCAD. You could use the MeasureGeom command to obtain a similar measurement in some cases, but this LISP routine is an improvement because you can pick any two points on a valid object (line, circle, arc, polyline, spline, etc.) and the distance along the object between those two points is reported — no more tracing polyline segments or making a copy of an object and breaking it. Load the routine, type in the command DBP, then pick two points on an entity. The distance will appear in a pop-up window and the points you picked, along with the segments between those points, will be highlighted on the screen with temporary markers.
|