×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Searching for polyline autolisp

Searching for polyline autolisp

Searching for polyline autolisp

(OP)
I have heard of the lisp routine in question, but have been unable to track it down, since I'm not even sure what it is called.

What I'm looking for is a lisp that,, when you select a line, will create a polyline with anything that connects to that line.  One click, and done.  Even better would be to select a bunch of objects at once, and have it create all the closed polylines it can (fuzz factor set to 0... need to know if anything is open), but I'll be happy with what I can find.

(We have drawings that contain hundreds of rectangles and triangles, all single line objects.... we need to change them to closed polylines)

Any info appreciated.

RE: Searching for polyline autolisp

Does the "mpedit" command work OK on joining & closing multiple lines/polylines?

RE: Searching for polyline autolisp

(OP)
CarlB,

That will work, thanks for the info.  Not the way I remember hearing about it working, but the end result is the same, so I'll take it.  Thanks much!

RE: Searching for polyline autolisp

I made mine.
custom button called "PE LOOP"
Disc: for making a pline loop from singles lines
macro is written as (pe y i all  x)spaces ar important.
to use it: select one of the lines you want polylined and then the ICON. it joins all the lines that are at endpoints.
works most of the time for me.
have fun
REP

RE: Searching for polyline autolisp

correction its not an i, its a j!!!!!!!
(pe y j all  x)

works much better when you "JOIN" lones. HA

Have fun
REP

RE: Searching for polyline autolisp

PEdit [select one line segment] Join All [return]

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources