Klaus,
NumPoints and Points are readonly properties in ES (at least when I have a look to ObjectModel-Viewer)
So you can't change that properties directly.
But this also doesn't have any effect…
var existingPolypointsNum = oPoly.NumPoints; for (var i=0; i < existingPolypointsNum; i++) oPoly.Points.pop(); for (var i=0; i < points.length; i++) oPoly.Points.push(points[i]);
… but it should…
existing points are not removed and new points are not added.
and as it does not, I assume this feature seems not to be supported by ESTK... while it works with F_ApiSetPoints in FDK
Perhaps SetProps could help, but I don't think so.
For that reason I'm out. Perhaps someone else has an idea.
Markus