Display full version of the post: convert connecting lines, arcs, PLs to polylines

germanbarry
14.04.2011, 14:22
Hi all
First post here. I want to know how I can convert a selection of lines, arcs, and/or polylines into ONE polyline with just a single click. I presume theres a lsp command available somewhere out there that someone uses?
I am aware of the
PEDIT
> M(ultiple)
> select entities,
> type J for Join,
> select fuzz width,
> press enter,
...though that takes longer than I want it to. Ideally it would be a command like click the magical lisp icon or type LJ (line join/this magical lisp shortcut) > select entities > enter... hey presto!
 
If I create a lisp and associated keyboard shortcut for the command (eg 2PL) then that would be great. Ive never created or know how to exactly use lisps, though I imagine it cant be too difficult if someone sends me one and I just save the file somewhere in my CAD/windows directory, and I think all I need to do is drag it from there into my CAD window and shes automatically uploaded/incorporated, yeah? If this is the case, does it remember the lisp for next time you restart CAD?
 Any help appreciated!!! germanbarry2011-04-15 07:52:29

John Connor
14.04.2011, 16:12
Convpoly.zip
 
http://www.cadmonkey.com/lisp.htm
 
There are at least three different ways to load lisp routines in AutoCAD.  One way is to use the APPLOAD command.

germanbarry
14.04.2011, 16:32
Thanks for the quick response John
I tried loading in that CONVOPOLY.LSP and then typed CONVPOLY into the commandbar, and it asks me ...
 
Which layer to convert all to polylines <A---MW1BD------> :
 
not sure if i did it right, but i was hoping to get a command which let me select a bunch of lines/arcs/polylines, press enter, and have them joined for me...
 
cheers
 
 
 
PS: should the LSP file when opened in wordpad read total gobbledeegook or should it be english script? below is a copy/paste of what it reads:
 
AutoCAD PROTECTED LISP fileS{ YP{ޒIޝw9R FؑHٓhoDpK<-mDӎ4/ L>\-sr :(>^!
 
....... then it continues as such. the only english words were the first 4 in the top row of what i justpasted above^
 
 
PPS: how do you know what the shortcut is for a lisp once you have downloaded and installed it? is it usually called the same as what the LSP filename is?germanbarry2011-04-14 17:05:40

jessierose215
14.04.2011, 22:05
I use PEDIT to convert my lines and arcs into polylines. Its more than a one mouseclick but it gets the job done

germanbarry
18.04.2011, 16:15
found what i was after in another forum...
 
fyi:
 
http://forums.autodesk.com/t5/AutoCAD-2011/How-to-join-more-than-one-line-using-single-command/m-p/2737341/highlight/false