How to check whether a curve is an arc or line or other types?

Hi @Justin-Yang,

One thing to be aware of: In R7 IsArc will return True for Arcs and for Nurbs Arcs (degree 3 Nurbs curves that describe arcs). In R6 it will be True for Arcs but False for Nurbs Arcs. See Arc can also be a 3 degree curve?

If the R6 behaviour is what you want, then you can do something like this:

Regards
Jeremy

2 Likes