Python equivalent of expandpointgroup()?

   435   2   1
User Avatar
Member
208 posts
Joined: June 2023
Offline
In VEX, we can use expandpointgroup() to get all points in a group. Specifically, it supports group expressions (like "@P.x > 0").

In Python, we have findPointGroup()... except it doesn't support group expressions, only group names.

What's the true Python equivalent of expandpointgroup()?
User Avatar
Member
11 posts
Joined: Jan. 2011
Offline
try Geometry.globPoints()
https://www.sidefx.com/docs/houdini/hom/hou/Geometry.html [www.sidefx.com]
User Avatar
Member
208 posts
Joined: June 2023
Offline
yeatshai
try Geometry.globPoints()
https://www.sidefx.com/docs/houdini/hom/hou/Geometry.html [www.sidefx.com]

Thanks! That's the answer.
  • Quick Links