Delete Points By ID

   8904   2   1
User Avatar
Member
13 posts
Joined: 2月 2008
Offline
Hello,
I'm doing a particle fluid solve which i save with a rop,
then i'm importing the rop's files with a File node.
I'm lasso selecting the points/particles in the Scene View and
creating a group out of them, i pipe down a delete node and use the
group from the selection.The deleted points switch in every frame cause
the point numbers are shifting.

1)Is there a way to use the point() and pointlist() to procedurally
delete the points based on there ID's from a group?
“I tried creating an attribute that has a value of `
point(”/obj/outParticles/file1“, pointlist(”/obj/outParticles /group2“,”deleteGRP“), ”id“, 0) `
and the delete node has an expression of $ID=$VALUE
but this only works for the first point in the list ”

2)Can i view the ID numbers instead of point numbers in the Scene View?



Thank you for your time!
User Avatar
Member
512 posts
Joined: 7月 2009
Offline
2)

hit the d key in the viewport to get into the display options,
under Guides & Markers you'll find a “custom” with a little arrow next to it.
click on the arrow and chose “create attribute text” and then rightclick on the
new created text1 and hit “edit”
now you can call in every attribute you like, in your case type in “id”
now your ID numbers are visible in the viewport!
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
13 posts
Joined: 2月 2008
Offline
thanks for your reply ,

About the first question i tried the script in this thread :
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=17120&highlight=delete [sidefx.com]
but it seems to work only for a certain number of points (something like 500-1000)
Its like the textfield for the blast can not take such a big string
  • Quick Links