houdini vex loop over points
snippet in c

houdini vex loop over points

user7354

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