The method should accept either a single curve or a list of curves, but if I feed it a list, I get the following error:
Message: expected Curve, got Array[Curve]
Does this have something to do with having to specifically create an IEnumerable instead of a simple list? ISTR something like that with a few other methods…
Curve.CreateBooleanDifference Method (Curve, IEnumerable(Curve))
Calculates the boolean difference between a closed planar curve, and a list of closed planar curves. Note, curves must be co-planar.
The first closed, planar curve.
curves to subtract from the first closed curve.
Result curves on success, empty array if no difference could be calculated.