Houdini Vex Loop over Points

// in a detail wrangle
for (int x = 0;x < @numpt;x++){
    vector cd = random(x);
    setpointattrib(0,"Cd",x,cd);
}
Here4u