Sweep and polyline path direction

Sweep and polyline path direction

E3DE
Enthusiast Enthusiast
440 Views
2 Replies
Message 1 of 3

Sweep and polyline path direction

E3DE
Enthusiast
Enthusiast

Hi,

I noticed that invert polyline (path of sweep) vertex direction change the behaviour of sweep command: the extrusion changes "indide" or "outside" the path.

I use this code to create a sweep:

Sweep

 

To do this by code I need to invert the direction of polyline or there is an option to say "do sweep on the contrary". If not how to invert polyline vertex by code?

 

Thank you

Andrea

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

_gile
Consultant
Consultant
Accepted solution

Hi,

 

What about using the Curve.ReverseCurve method ?



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

E3DE
Enthusiast
Enthusiast

I didn't know this method. Thank you! 

0 Likes