Struggling with separting mesh based on UDIM tiles ?, Here is the VEX code to release the pain.
vector count = floor(v@uv+25);
int random = random_fhash(count);
string name = concat("group_",itoa(abs(random)));
s@name = name;
v@Cd = random(count);
I hope this small code would be useful to you