How to group by filter expression in Houdini 16 using "$CR>".

   6459   6   2
User Avatar
Member
3 posts
Joined: April 2017
Offline
Hi everyone,

I'm following a Houdini 15 tutorial and i'm using Houdini 16. Seeings as the group node has been changed in H16 i'm having trouble getting the same results. The tutorial uses a paint node to highlight a section of geometry and then uses H15's group node to select the painted geo. It then makes that selection into points and enters the expression “$CR>.2” into the filter expression box.
Does anyone know how to replicate this in H16 with the new group nodes? I've included a screen shot of the tutorial for reference. Any help is really appreciated.

Chris

Attachments:
Capture03.PNG (76.8 KB)

User Avatar
Member
3 posts
Joined: April 2017
Offline
Got an answer from another forum. Figured I'd leave the solution here for anyone else needing the work around.

I needed to paint the geometry.
Then add a Group node and a GroupExpression node. Set both to points.
Then use the VEXpression “@Cd.r > .2”.

Got me the results I needed!

Attachments:
Capture04.PNG (419.5 KB)

User Avatar
Member
7 posts
Joined: Aug. 2012
Offline
Hey, Thanks a lot!
Thanks,
- Stas
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
https://youtu.be/VxcC7qqCZUo?t=1h23m0s [youtu.be]

Jeff is explaining ecxactly what's going on with Expressions in Group/Point Nodes :-)

In default group you have to use:
@Cd.x>0.2
x not r AND no whitespaces…

Uuups, forgotten to say: see text below video, there is a link with the tutorial files.
Edited by matthias_k - Jan. 14, 2018 15:11:40
English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
huh ? @Cd.r or @Cd.x both work…

Attachments:
group.jpg (162.4 KB)

User Avatar
Member
40 posts
Joined: March 2018
Offline
Hello,

How can I include TWO conditions into the expresion?

i.e: @P.y>2 and @P.z<-9?

Thanks in advance.
User Avatar
Member
2036 posts
Joined: Sept. 2015
Offline
In a group expression node,

(@P.y > 2) && (@P.z < -9)
  • Quick Links