[Sidefx-houdini-list] number of groups

Adrian Lee dryrainstudios at gmail.com
Fri Aug 1 13:24:47 EDT 2008


Thanks that should do nicely.

I'm surprised houdini doesn't have a more straight forward method or
variable though.

Have a good weekend

Ed

2008/8/1 P. Alex Lim <list at poh-yee.com>

> 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
> there.
>
> Hope this helped.
>
> Cheers.
>
> 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
> >
>
> _______________________________________________
> 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