CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedconvert connecting lines, arcs, PLs to polylines

 Post Reply Post Reply
Author
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Topic: convert connecting lines, arcs, PLs to polylines
    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!!!

Edited by germanbarry - 15.Apr.2011 at 07:52
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 14.Apr.2011 at 16:12
Convpoly.zip
 
 
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>>

Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post 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?


Edited by germanbarry - 14.Apr.2011 at 17:05
Back to Top
jessierose215 View Drop Down
Newbie
Newbie


Joined: 30.Mar.2011
Location: United States
Using: AutoCAD2011
Status: Offline
Points: 1
Direct Link To This Post 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
Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Posted: 18.Apr.2011 at 16:15
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,180 seconds.