Print Page | Close Window

convert connecting lines, arcs, PLs to polylines

Printed From: CAD Forum
Category: EN
Forum Name: CAD - general
Forum Description: General discussion about CAD, formats, standards, management, licensing, networking, harware, other CAD applications
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=5696
Printed Date: 29.Sep.2026 at 12:04


Topic: convert connecting lines, arcs, PLs to polylines
Posted By: germanbarry
Subject: convert connecting lines, arcs, PLs to polylines
Date Posted: 14.Apr.2011 at 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 there’s 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. I’ve never created or know how to exactly use lisps, though I imagine it can’t 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 she’s automatically uploaded/incorporated, yeah? If this is the case, does it remember the lisp for next time you restart CAD?

 

Any help appreciated!!!



Replies:
Posted By: John Connor
Date Posted: 14.Apr.2011 at 16:12
Convpoly.zip
 
http://www.cadmonkey.com/lisp.htm" rel="nofollow - 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.


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: germanbarry
Date Posted: 14.Apr.2011 at 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 file
S{˛ YüŮđŰô¦Pđ®{Ţ’IŢťwŻ»9Rę” FŘ‘HÜţŮ“h’oţ©
D¨p¤K¶<-múĄDŃđÁĆĂÓŽ4/ LÝă“>\š-sěůŰçťrŞ :(>^•!
 
....... 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?


Posted By: jessierose215
Date Posted: 14.Apr.2011 at 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


Posted By: germanbarry
Date Posted: 18.Apr.2011 at 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" rel="nofollow - http://forums.autodesk.com/t5/AutoCAD-2011/How-to-join-more-than-one-line-using-single-command/m-p/2737341/highlight/false



Print Page | Close Window