Blast node don't work properly when using expressions

   3017   4   0
User Avatar
Member
23 posts
Joined: Oct. 2021
Offline
I created two box and added the "boxID" attribute to them at the primitive level using the attribute create node, where box1 has a boxID of 0 and box2 has a boxID of 1.
I then merged them and tried to delete the primitive with boxID of 1 using the blast node, but it only deleted one primitive.
How should I solve this problem?

Image Not Found

Image Not Found

Attachments:
3.png (21.8 KB)

User Avatar
Member
2629 posts
Joined: June 2008
Offline
Hmm, seems to work for me. Maybe you typed the expression wrong?

Attachments:
Untitled-1.jpg (75.3 KB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Staff
31 posts
Joined: June 2018
Offline
You should probably be using the delete sop With delete by expression turned on. Or you can use the group by expression sop and then use that group in the blast sop
User Avatar
Member
23 posts
Joined: Oct. 2021
Offline
Enivob
Hmm, seems to work for me. Maybe you typed the expression wrong?
I'm sorry I'm just now seeing your response.
This is indeed the problem, I used
@boxID = 0
, where Houdini recognizes spaces as separators and thus only removes primitives with number 0.
Thank you for your answer!
User Avatar
Member
23 posts
Joined: Oct. 2021
Offline
鲁卡普1
You should probably be using the delete sop With delete by expression turned on. Or you can use the group by expression sop and then use that group in the blast sop
Thank you for your answer! It's just a wrong syntax question about spaces.
  • Quick Links