pyou Posted May 7, 2024 Posted May 7, 2024 (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, 2024 by pyou dwg example added Quote
mhupp Posted May 8, 2024 Posted May 8, 2024 (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, 2024 by mhupp Quote
devitg Posted May 8, 2024 Posted May 8, 2024 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
pyou Posted May 8, 2024 Author Posted May 8, 2024 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
pyou Posted May 8, 2024 Author Posted May 8, 2024 (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, 2024 by pyou Quote
mhupp Posted May 9, 2024 Posted May 9, 2024 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
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.