Hi,
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
print $startPoints;
print $endPoints;
//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. // ?