[To Point] command generates a surface from a curve by sweeping it with the curve degenerated to a point.
For the prompt
"Specify a curve to sweep",
specify a curve to sweep.
For the prompt
"Specify the degenerated point",
specify a point where the curve degenerates.