I am having trouble finding the correct MEL syntax to create a curve based on the position of two joints. I keep getting error parsing argument when telling it to make the curve.
my code is as follows
//getting the point locations
vector $startPoints = `xform -q -t -ws LT_Shoulder_Bind_Jnt`;
vector $endPoints = `xform -q -t -ws LT_Elbow_Bind_Jnt`;
//printing to confirm the variable
//one point curve command with the vectors inserted to be the curve points.
curve -d 1 -p $startPoints -p $endPoints -k 0 -k 1 ;
Why is this giving me the // Error: line 1: Error while parsing arguments. // ?