Jump to content

One time select lines to convert polyline


121madhu

Recommended Posts

(PE

join

lines,arcs select)

 

 

same prosses of PE but there is taking long time if have any lisp file .

select lines,arcs to convert polyline.

lines,arcs old layer but new polyline take new layer

 

 

 

thank you cadtutors

Link to comment
Share on other sites

(PE

join

lines,arcs select)

 

same prosses of PE but there is taking long time if have any lisp file .

select lines,arcs to convert polyline.

lines,arcs old layer but new polyline take new layer

 

thank you cadtutors

 

This ?

 

(defun c:foo (/ ss)
 (if (setq ss (ssget "_:L" '((0 . "LINE,ARC"))))
 (command "_.pedit" "_multiple" ss "" "_y" "_join" "0.0000" ""))
(princ))

Link to comment
Share on other sites

hello tharwat

My English is very poor actually i am interested to learn lisp programs but where can i found best definitions about defun , set ,setq, ssget, progn, i dont know everything

im also vist afralisp site.

 

your reply my previous thread thanks and ur code is working thank you very much being support

Link to comment
Share on other sites

your reply my previous thread thanks and ur code is working thank you very much being support

 

You're welcome and I just wanted to know if I got you right and brought the correct code for you .

 

hello tharwat

My English is very poor actually i am interested to learn lisp programs but where can i found best definitions about defun , set ,setq, ssget, progn, i dont know everything

im also vist afralisp site.

 

The Acad help document is one of the best books that you can use for learning and the online websites of course and Afralisp is one of the best of them .

 

Good luck

Link to comment
Share on other sites

nice

but old lines,arc are available in old layer, new polyline generate new layer

 

If all entities are on the same layer , the new created polyine would be on the same layer otherwise one layer would be picked from one the selected objects .

Link to comment
Share on other sites

i am facing new problem please give me another suggestion

lines and arc selected make a new polyline older lines and arcs are same but take a new polyline selected object its option very useful for me

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...