How to get number of groups?

   1828   3   1
User Avatar
Member
50 posts
Joined: July 2013
Offline
Hi, if I use something like primgrouplist or primgroupmask I get a string with all primitive groups. Unfortunately I could not find which expression allows me to tokenize (and count) this string… I would love to have a procedural way of counting groups. Any suggestions?? :idea:

Thanks in advance
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
You should use “argc” expression :wink:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Also you can use “arg” expression to take each argument of the grouplist , check uploaded file 8)

Attachments:
JK_Arg.hip (67.2 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
50 posts
Joined: July 2013
Offline
Joker386
You should use “argc” expression :wink:

Yes, I was looking exactly for arg and argc expressions, thank you Joker
  • Quick Links