Not In Group

   7169   2   0
User Avatar
Member
70 posts
Joined: March 2015
Offline
Say if you have a lot of geometry in one file sop, some in groups, some not, what expression would I use to select the geometry that hasn't already been grouped in a delete node? Thanks :!:
User Avatar
Member
4523 posts
Joined: Feb. 2012
Offline
If you want to delete everything with a primitive group, you can use this in the Group field of a Delete SOP:

`primgrouplist(opinputpath(“.”, 0))`

Or this for point groups:

`pointgrouplist(opinputpath(“.”, 0))`
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 | pragmaticvfx.gumroad.com
User Avatar
Member
8583 posts
Joined: July 2007
Online
use Group SOP:
in Create Tab
- uncheck checkbox next to Group Name to not create new one

in Combine Tab
- set Combine Entity to Primitives
- set Group name to like: ungroupped
- click on not equals button next to it
- put * as a group name next to not equals

that would put all primitives that are not in any other prim group to new “ungroupped” group
then Blast or Delete ungroupped group
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links