hi there,
i created a scene where i let a partition SOP create different primitive groups by color.
Now i want get the total number of those groups by expression to use it in the copy SOP's “number of copies” field.
any ideas?
regards,
Manuel
number of primitive groups
3220 2 1- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
argc(primgrouplist(“/obj/my_object/my_sop_with_groups”))
returns the number of primitive groups in a target SOP.
argc() returns the number of space delimited strings in a list
primgrouplist() returns all the primitive groups in a SOP
pointgrouplist() returns all the point groups in a SOP
In the Houdini textport, type:
exhelp -k group
will return all the functions that contain “group”
exhelp -k count
will return all the functions that contain “count”
returns the number of primitive groups in a target SOP.
argc() returns the number of space delimited strings in a list
primgrouplist() returns all the primitive groups in a SOP
pointgrouplist() returns all the point groups in a SOP
In the Houdini textport, type:
exhelp -k group
will return all the functions that contain “group”
exhelp -k count
will return all the functions that contain “count”
There's at least one school like the old school!
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
-
- Quick Links