[Sidefx-houdini-list] Multiple groups in VEX POP?

Peter Bowmar pbowmar at gmail.com
Tue Feb 21 17:11:05 EST 2006


Hi,
    Shouldn't this make one group per point number? It just makes
grp_0 :( Something to do with newgroup() perhaps since if I print the
"text" variable to the shell it is correct.

Cheers,

Peter B

pop
groupmaker()
{
    string      text;
    string      groupname;
    int found;

    // Code produced by: print1
    text = sprintf("grp_%d", ptnum);

    // Code produced by: newgroup1
    groupname = text;
    newgroup(text);

    // Code produced by: addgroup1
    found = ptnum;
    addgroup(groupname, ptnum);
}



More information about the Sidefx-houdini-list mailing list