optimal question

   1710   4   0
User Avatar
Member
48 posts
Joined: June 2012
Offline
I have a question about the optimal scenario.
For example, I have 5000 objects you want to delete them 2 4 6,8 10 ….. even arrays.
How to write an expression in the delete node. Thank you
User Avatar
Staff
2592 posts
Joined: July 2005
Offline
chinacat
I have a question about the optimal scenario.
For example, I have 5000 objects you want to delete them 2 4 6,8 10 ….. even arrays.
How to write an expression in the delete node. Thank you

Switch to “Delete By Range” (instead of delete by pattern/expression).

But, if you really want the pattern, it's 2-100:2

See the section on “Numeric Patterns In The Group Node” at http://www.sidefx.com/docs/houdini12.5/expressions/_patterns [sidefx.com]
User Avatar
Member
48 posts
Joined: June 2012
Offline
Very grateful. Thank you, on behalf of the Chinese people
User Avatar
Member
48 posts
Joined: June 2012
Offline
Can you help me??thanks

Attachments:
My_Hip.zip (16.2 KB)

User Avatar
Staff
2592 posts
Joined: July 2005
Offline
chinacat
Can you help me??thanks

There seems to be a bug in the delete SOP when using a group. The blast SOP works properly. This shows two ways of doing what you want.

Edit: The bug with the delete SOP should be fixed in tomorrow's daily build.

Attachments:
fixed.zip (8.0 KB)

  • Quick Links