I'm trying to make something similar to the Crv2View command in Rhino.
So I have this polygon curve:
And I want to move each point straight down in Y axis to line up with a NURBS curve, like so:
So I need to somehow find out what the Y position is on the NURBS curve at the appropriate X position. Basically I need to translate this pseudo-code into VEX:
Try using a polygon curve, then if you really need a NURBS curve, you can use a Fit SOP with Method set to Interpolation to convert it to a NURBS curve going through those points after you have the points set up as you'd like them. The VEX code for setting the coordinates should be _much_ easier with a polygon curve than with a NURBS curve. Hopefully that approach works for what you need.