[Sidefx-houdini-list] number of groups

P. Alex Lim list at poh-yee.com
Fri Aug 1 13:15:59 EDT 2008

Hi Adrian,

I think you can do something like: argc(pointgrouplist("/o/my/sop"))
pointgrouplist() or primgrouplist() will return a space separated list 
of group, which then we can just use argc to tell us how many list are 

Hope this helped.


Adrian Lee wrote:
> afternoon all.
> If you want to return the total number of points you use $NPT. If you want
> to return the number of primatives you use $NPR. But how do you return the
> number of groups in a sop?
> Thanks
> Ed
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list