Jump to content

Recommended Posts

Posted (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!

 

After.PNG

Before.PNG

Testt.dwg

Edited by pyou
dwg example added
Posted (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.lsp

Edited by mhupp
Posted

I think i did that backwards.

  • Like 1
Posted
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!

 

After.PNG

Before.PNG

@pyou It seem OP ask to convert ONE  ZIGZAG  3dpoly  on two  3dpoly .  Is it so? 

 

Please upload a before and after DWG 

Posted
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?

Posted (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 by pyou
Posted
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.lsp

  • Thanks 1

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...