houdini vex loop all points code example
Example: 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);
}
// in a detail wrangle
for (int x = 0;x < @numpt;x++){
vector cd = random(x);
setpointattrib(0,"Cd",x,cd);
}