Project Parameterization, rocker demo

 From:  bemfarmer
6860.5 In reply to 6860.3 
Made some progress.
There are still some problems.

The script is confusing the two curves. It prefers to use the bottom one. :-)

Cannot extract the y value of the points.

/code
projectfactory.update();
var ktpointobj = projectfactory.getCreatedObjects();
var ktpoint = ktpointobj.item(0);

// var ktpointlist = projectfactory.calculate();
// var ktpoint = ktpointlist.item(0);
// moi.geometryDatabase.addObject( ktpoint );

//alert ("ktpoint.x = " + ktpoint.x + "\nktpoint.y = " + ktpoint.y + "\nktpoint.z = " + ktpoint.z );

var kORtValue = ktpoint.y;
return kORtValue;
/code


Still getting asserts in two patterns associated with for loops. 9 = 1+4+4, 4, 4, 4
First loop has no assert, so the asserts are probably caused by failure to extract y values. (Guess)