Make a boundary for a curve


I have a curve, i want to set location for it. I think i need to make a boundary for this curve first, after that i will set location for the boundary. And when i do the 1st step, i have a problem. Can you help me ?dynamo 3

I need it to be a custom node. Can any one help me?