Dear SideFX-Forumers,
I have a come across a problem tonight that I can't work out.
I have a bunch of shapes.
I have done intersection tests and managed to store an attribute (x) that is greater than zero if the shapes are intersecting.
It is stored on every point.
So then I used the connectivity SOP and each shape has a class attribute at every point.
So now ... how do I delete every shape?
ie. VEX would be in non-VEX terms: if the attribute (x) is greater than zero delete ALL the geo that has the same class attribute number as this one
I just can't seem to get my head round it!
Thanks,
Nick
delete connected geo when any points contain something?
581 2 0- 5D
- Member
- 42 posts
- Joined: 3月 2018
- Offline
- tamte
- Member
- 8839 posts
- Joined: 7月 2007
- Online
Attribute Promote SOP
- Original Name: your_attribute
- Original Class: Point
- New Class: Point
- Piece Attribute: class
- Promotion Method: Maximum
this will set your_attribute per piece (based on class) to the maximum value of any points within piece
then use Blast SOP
- Group: @your_attribute>0
- Group Type: Points
- Original Name: your_attribute
- Original Class: Point
- New Class: Point
- Piece Attribute: class
- Promotion Method: Maximum
this will set your_attribute per piece (based on class) to the maximum value of any points within piece
then use Blast SOP
- Group: @your_attribute>0
- Group Type: Points
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- 5D
- Member
- 42 posts
- Joined: 3月 2018
- Offline
-
- Quick Links