[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Place Point Objects with DivideLine
Tip# 3487 By Richard Schwier On 10-Sep-2010
3
Rated By 1 users Downloaded : 552
Categories : 2D Operations, Curved Objects, Linear Objects, Points
Software type : AutoCAD 2011
Rename File To : DivideLine.lsp
Create point objects along the object at the interval you select.

Richard Schwier's DivideLine routine works in a similar fashion as the built-in Measure command: when you select an object and enter a length, Point objects are created along the object at the interval you select. The difference with DivideLine is that the distance you enter is treated as a maximum distance and the Points are created at the same interval along the object. (In most cases, the Measure command will always leave one segment shorter than the others.) Load the LISP file and type in the command DivideLine, then select a line and enter the desired interval. This routine sets system variables so that the Point objects show up properly and you can snap to them. You can use the Back command to restore your settings.

 

Average Rating:
3


User comments
Comment by Cooper,Kent
Posted on 2011-11-15 12:29:59
See also Tip #3353, "Divide and Measure Plus", for the DIV+ command with its Maximum spacing option. Works on all Divide-able/Measure-able objects (not just Lines), has Blocks or user-Selection options in addition to Points, and has other enhancements.