pyou Posted May 7 Share Posted May 7 (edited) Is it possible to convert a single 3dpolyline zigzag string into two separate 3dpolylines using a lisp code? Images attached Thank you for help! Testt.dwg Edited May 8 by pyou dwg example added Quote Link to comment Share on other sites More sharing options...
mhupp Posted May 8 Share Posted May 8 (edited) This should get you close to what you need. with minimal error handeling only allows you to select 2 polylines at a time & they have to have the same number of vertex for this to work. ZZPoly.mp4 ZZpoly.lsp Edited May 8 by mhupp Quote Link to comment Share on other sites More sharing options...
mhupp Posted May 8 Share Posted May 8 I think i did that backwards. 1 Quote Link to comment Share on other sites More sharing options...
devitg Posted May 8 Share Posted May 8 17 hours ago, pyou said: Is it possible to convert a single 3dpolyline zigzag string into two separate 3dpolylines using a lisp code? Images attached Thank you for help! @pyou It seem OP ask to convert ONE ZIGZAG 3dpoly on two 3dpoly . Is it so? Please upload a before and after DWG Quote Link to comment Share on other sites More sharing options...
pyou Posted May 8 Author Share Posted May 8 5 hours ago, devitg said: @pyou It seem OP ask to convert ONE ZIGZAG 3dpoly on two 3dpoly . Is it so? Please upload a before and after DWG see Images, original 3d polyline before is a zigzag and after are two separate 3d polylines. What you don't understand? Quote Link to comment Share on other sites More sharing options...
pyou Posted May 8 Author Share Posted May 8 (edited) 16 hours ago, mhupp said: I think i did that backwards. yes mhupp it is supposed to be opposite. Zigzag is original 3d polyline and two new 3d polylines needed. I have attached example of zigzag 3d polyline Edited May 8 by pyou Quote Link to comment Share on other sites More sharing options...
mhupp Posted May 9 Share Posted May 9 5 hours ago, pyou said: yes mhupp it is supposed to be opposite. Zigzag is original 3d polyline and two new 3d polylines needed. I have attached example of zigzag 3d polyline Top down is usually how things flow. I guess you got an undo lisp now. 2Poly.mp4 2Poly.lsp 1 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.