121madhu Posted July 21, 2013 Share Posted July 21, 2013 (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 Quote Link to comment Share on other sites More sharing options...
Tharwat Posted July 21, 2013 Share Posted July 21, 2013 You did not reply to your previous thread HERE Quote Link to comment Share on other sites More sharing options...
Tharwat Posted July 21, 2013 Share Posted July 21, 2013 (PEjoin 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)) Quote Link to comment Share on other sites More sharing options...
121madhu Posted July 21, 2013 Author Share Posted July 21, 2013 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 Quote Link to comment Share on other sites More sharing options...
Tharwat Posted July 21, 2013 Share Posted July 21, 2013 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 Quote Link to comment Share on other sites More sharing options...
121madhu Posted July 21, 2013 Author Share Posted July 21, 2013 nice but old lines,arc are available in old layer, new polyline generate new layer Quote Link to comment Share on other sites More sharing options...
Tharwat Posted July 21, 2013 Share Posted July 21, 2013 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 . Quote Link to comment Share on other sites More sharing options...
121madhu Posted July 22, 2013 Author Share Posted July 22, 2013 Thank you very much Tharwat Quote Link to comment Share on other sites More sharing options...
Tharwat Posted July 22, 2013 Share Posted July 22, 2013 Thank you very much Tharwat You're very welcome . Quote Link to comment Share on other sites More sharing options...
pBe Posted July 22, 2013 Share Posted July 22, 2013 Be mindful of PEDITACCEPT variable Quote Link to comment Share on other sites More sharing options...
Tharwat Posted July 22, 2013 Share Posted July 22, 2013 Be mindful of PEDITACCEPT variable Good catch PBe Thanks Quote Link to comment Share on other sites More sharing options...
rkent Posted July 22, 2013 Share Posted July 22, 2013 I would highly recommend using this one called POLYJOIN.LSP. http://www.lee-mac.com/polylineprograms.html Quote Link to comment Share on other sites More sharing options...
121madhu Posted July 27, 2013 Author Share Posted July 27, 2013 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.