outPointsH = dataBlock.outputArrayValue(self.outPoints)
outPointB = outPointsH.builder()
outPointB.growArray(len(inPoints))
for i, in_pt in enumerate(inPoints):
print(i, in_pt.x)
outPointB.addElement(i).setFloat(float(in_pt.x))
outPointsH.set(outPointB)
outPointsH.setAllClean()
My use case is very specific (and I will probably settle for something simpler), so I can live with floats instead of points.
Nevertheless I'd love to know how to dynamically set points array in API - this things always make me trouble.
thanks !
-michal