Xyzdist primgroup string format

   1288   4   0
User Avatar
Member
9 posts
Joined: April 2018
Offline
Im trying to use the xyzdist primgroup to exclude multiple prims. Ive tried the format of the string similar to how its formatted in expressions. Using “8-10” as a group works fine but I cant figure out how to get prims that arnt ordered to work. Example would be “3 6 7” it doesnt seem to recognize the space. Any ideas?
User Avatar
Member
4512 posts
Joined: Feb. 2012
Offline
Hi,

Spacing is correct to separate individual prim numbers:

Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
User Avatar
Member
9 posts
Joined: April 2018
Offline
Hi and thanks for the response! Yes, my bad in mentioning that I want to have that as an exclusion, so !9-10. I'm not sure how to add multiple ! conditions in a string group, if its even possible. I want to find the closest prim to a point that is not connected to the point, such as overlapping prims.
Edited by lahjon - Nov. 24, 2020 07:59:11
User Avatar
Member
7759 posts
Joined: Sept. 2011
Offline
“^” is an exclusion. “!” is not. Use “^” to join a negated condition.
User Avatar
Member
9 posts
Joined: April 2018
Offline
Awesome, thanks!
  • Quick Links