This program will display the length of segments of a curve divided at points of intersection with other objects.
The program may be called at the AutoCAD command line with the syntax: IntLen for single selection, or IntLenM for multiple object selection.
Following selection, the length of segments of the curve between intersections with surrounding objects is displayed with a text object at the midpoint of each segment, rotated to align with the segment.
If no intersections are found, the length of the selected curve is displayed at its midpoint.