How to set plane offset direction in "Curve.Offset" or "PolyCurve.Offset"?

Hi guys:

In Dynamo, when I want to do “Curve.Offset” or “PolyCurve.Offset” on Plane XY,
occasionally I will get something offset on Plane XZ rather than Plane XY.
Something is offset automatically along Z axis, which I did not specify.
Please see attached image.

How to fix this ?

Thanks!

Might check if polycurve isPlanar first…

I also face the same problem! Do you know the solution now?:cold_sweat:

It’s difficult to say without a graph. Can you post a screenshots, with all previews visible?

Anyone have a good solution for this yet?