Vex pop removegroup() problem

   1844   0   0
User Avatar
Member
7 posts
Joined: 2月 2006
Offline
Hi,
i'm starting to bulid some nodes with VEX biggrin.gif but today i found a problem, i think it's a bug but this is the porblem anyway.
This i the script:

pop
proximityGrp(int numPoint=100
{
int i = 0;
string num,numa;
num = sprintf(“%d”,ptnum);
numa = “PrtProx57”;

if(ptnum==57){
string b = concat(“PrtProx”,num);
printf(“%s %s\n”,numa,b );
removegroup(numa,57); //This works
removegroup(b,57); //This not works

}
}

Why with a simple string removegroup() works, while with a concat string it doesn't work??? If i print the 2 strings they are the same blink.gif

thx
iaiotom

PS houdini 9.5.170
  • Quick Links