[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.
Draw a Fenceline
Tip# 4126 By Robert Zipprich On 18-May-2013
Rated By 0 users Downloaded : 504
Categories : 2D Operations
Software type : AutoCAD 2014
Rename File To : Fenceline/,Fenceline/BARB.dwg,Fenceline/fenceline.lsp
Form a fenceline from correctly rotated blocks.

This routine from Robert Zipprich inserts correctly rotated blocks along existing lines to form a fenceline. The supplied block, Barb.DWG, is an "X." You can substitute your own block name in the routine. Load the LISP routine, run the command Fenceline, then select any number of lines.


Average Rating:

User comments
Comment by Cooper,Kent
Posted on 2013-05-23 10:34:55
Some "issues" I find: the GATEPOST Block isn't provided; the scale needs to account for drawing scale somehow; when the end option is chosen, it doesn't (for me) put one at BOTH ends; if BARB is not already in the drawing, even if it's in a Support File Search Path, the routine doesn't find it. For a routine that overcomes those issues and is otherwise pretty much equivalent except for using the SAME Block at the ends when that option is chosen, and with additional possibilities, try Tip #3353 "Divide and Measure Plus" with its DIV+ command. Use the Block marker option, Maximum spacing option, Aligned rotation option, Standard positioning, no end inset, and the put-them-at-the-ends option. To get a different Block at the ends, use DIV+ with one Block, WITHOUT the at-the-ends option, and again with a different Block WITH the at-the-ends option and with ONE segment rather than the Maximum spacing option. (It may not be pertinent to fencing most of the time, but in addition to Lines, it also works with Polylines of any variety, Circles, Arcs, Splines, and Ellipses.)