About curve offset

I tried to offset curves in GH, but why doesn’t this code work?

It is not offset in the Rhino display,I want to find a way in Rhino.Geometry, please give me some guidance, thank you!

From your screenshot it is not clear what your curve input is and if it can be offset by 1000 units at all.

Since you did not provide a Grasshopper file with the code, I had to rewrite it myself to check. Next time upload the code in a GH file please. It makes helping easier

Thanks for the warning, the problem seems to have been resolved, please look at the commented out code block . * If I write wrong place, welcome to point out, thank you

Thanks for the warning, the problem seems to have been resolved, please look at the commented out code block . * If I write wrong place, welcome to point out, thank you

If the topic is solved, please click the Solution box.