lisp to change all polyline in clockwise direction

lisp to change all polyline in clockwise direction

Anonymous
Not applicable
1,956 Views
2 Replies
Message 1 of 3

lisp to change all polyline in clockwise direction

Anonymous
Not applicable

Hi all,

 

 

i search a lisp routine to change all selected polyline or all polylines in the file in to the same direction (clockwise).

To do it manual with each polyline is very complicated...

 

My polylines never include curves, they are allways simple lines. See sample file.

I need it very often to post a cnc code from the drawing...

 

Anyone knows such a lisp or would be able to post here a code?

 

Many thanks!

 

cheers

Ingo

0 Likes
Accepted solutions (1)
1,957 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution

solved...

found the solution with the search.

marko_ribars code does exactly what i need...

admin, please delete my post. thanks! Smiley Happy

 

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polyline-direction-clockwise-or-coun...

0 Likes
Message 3 of 3

ВeekeeCZ
Consultant
Consultant

@Anonymous wrote:

 

...

admin, please delete my post. thanks! Smiley Happy

 

...


Just mark your answer as the solution and keep it where it is 🙂

 

Btw if you want to Report something to the admin, there is a Report button on the left side of message.